=>> Building cad/spice build started at Tue Oct 7 18:45:42 EDT 2025 port directory: /usr/ports/cad/spice package name: spice-3f5.2_15 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: hrs@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 3681 Nov 22 2024 /usr/ports/cad/spice/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 6b7215ed5652 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500066 Jail OSVERSION: 1500064 Job Id: 04 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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_15_c_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_15_c_x64-HEAD-ALL/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for spice-3f5.2_15: DEV_BSIM3=off: BSIM3v3 MOS Transistor Model Support DEV_BSIM4=off: BSIM4v4 MOS Transistor Model Support DEV_HISIM2=off: HiSIM2 IGFET Model Support DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples X11=on: X11 (graphics) support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- hrs@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- CONFIGFILE="/wrkdirs/usr/ports/cad/spice/work/spice3f5/conf/FreeBSD" LOCALBASE="/usr/local" WITH_X11=yes XDG_DATA_HOME=/wrkdirs/usr/ports/cad/spice/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/spice/work XDG_CACHE_HOME=/wrkdirs/usr/ports/cad/spice/work/.cache HOME=/wrkdirs/usr/ports/cad/spice/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/spice/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/cad/spice/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/cad/spice/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/spice/work XDG_CACHE_HOME=/wrkdirs/usr/ports/cad/spice/work/.cache HOME=/wrkdirs/usr/ports/cad/spice/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/spice/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/cad/spice/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 -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spice" EXAMPLESDIR="share/examples/spice" DATADIR="share/spice" WWWDIR="www/spice" ETCDIR="etc/spice" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spice DOCSDIR=/usr/local/share/doc/spice EXAMPLESDIR=/usr/local/share/examples/spice WWWDIR=/usr/local/www/spice ETCDIR=/usr/local/etc/spice --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spice-3f5.2_15 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> spice-3f5.2_15 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spice-3f5.2_15 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by spice-3f5.2_15 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by spice-3f5.2_15 for building => SHA256 Checksum OK for spice/spice3f5.tar.gz. => SHA256 Checksum OK for spice/BSIM3v330.tar.Z. => SHA256 Checksum OK for spice/BSIM480_Code.zip. => SHA256 Checksum OK for spice/HiSIM_2.8.0_Release_20140605.zip. => SHA256 Checksum OK for spice/cp.ps. => SHA256 Checksum OK for spice/toc.ps. => SHA256 Checksum OK for spice/doc.ps. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by spice-3f5.2_15 for building ===> Extracting for spice-3f5.2_15 => SHA256 Checksum OK for spice/spice3f5.tar.gz. => SHA256 Checksum OK for spice/BSIM3v330.tar.Z. => SHA256 Checksum OK for spice/BSIM480_Code.zip. => SHA256 Checksum OK for spice/HiSIM_2.8.0_Release_20140605.zip. => SHA256 Checksum OK for spice/cp.ps. => SHA256 Checksum OK for spice/toc.ps. => SHA256 Checksum OK for spice/doc.ps. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for spice-3f5.2_15 ===> Applying FreeBSD patches for spice-3f5.2_15 from /usr/ports/cad/spice/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spice-3f5.2_15 depends on package: xorgproto>=0 - not found ===> Installing existing package /packages/All/xorgproto-2024.1.pkg [pkg.DaveG.ca] Installing xorgproto-2024.1... [pkg.DaveG.ca] Extracting xorgproto-2024.1: .......... done ===> spice-3f5.2_15 depends on package: xorgproto>=0 - found ===> Returning to build of spice-3f5.2_15 ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of spice-3f5.2_15 ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.23.1... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.23.1: .......... done [pkg.DaveG.ca] `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of spice-3f5.2_15 ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> spice-3f5.2_15 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. ===> spice-3f5.2_15 depends on file: /usr/local/bin/ccache - found ===> Returning to build of spice-3f5.2_15 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for spice-3f5.2_15 echo "SYS_CFLAGS=-Dbsd" >> /wrkdirs/usr/ports/cad/spice/work/spice3f5/conf/FreeBSD echo "LDFLAGS=-lm -ltermcap" >> /wrkdirs/usr/ports/cad/spice/work/spice3f5/conf/FreeBSD echo "INTERFACE_OPTS=-DWANT_MFB -DWANT_X11" >> /wrkdirs/usr/ports/cad/spice/work/spice3f5/conf/FreeBSD echo "X_DIR=/usr/local" >> /wrkdirs/usr/ports/cad/spice/work/spice3f5/conf/FreeBSD =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for spice-3f5.2_15 util/build FreeBSD default Begin build on pkg.DaveG.ca for FreeBSD on Tue Oct 7 22:45:53 -00 2025: Making "all" in spice3f5 mkdir -p /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/tmp UPDATING /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/tmp/spice UPDATING /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/tmp/spice-cc UPDATING /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/tmp/spice-cx UPDATING /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/tmp/spice-ld Making "all" in src Making "all" in lib Making "all" in dev Making "all" in disto cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//atander.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//atander.c:22:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//atander.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void AtanDeriv(new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//cosderiv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//cosderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//cosderiv.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CosDeriv(new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//cubeder.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//cubeder.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//cubeder.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CubeDeriv( new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//divderiv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//divderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&num, old1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//divderiv.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DivDeriv(new, old1, old2) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//equalder.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//equalder.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | EqualDeriv(new, old) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//expderiv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//expderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//expderiv.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ExpDeriv(new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//invderiv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//invderiv.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//invderiv.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | InvDeriv(new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//multder.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//multder.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&temp1, old1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//multder.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MultDeriv(new, old1, old2) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//plusder.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//plusder.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | PlusDeriv(new, old1, old2) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//powderiv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//powderiv.c:24:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//powderiv.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | PowDeriv(new, old, emm) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//sqrtder.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//sqrtder.c:23:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//sqrtder.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | SqrtDeriv(new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//tanderiv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//tanderiv.c:22:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | EqualDeriv(&temp, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//tanderiv.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | void TanDeriv(new, old) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//timesder.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/disto//timesder.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | TimesDeriv(new, old, k) | ^ 1 warning generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a atander.o cosderiv.o cubeder.o divderiv.o equalder.o expderiv.o invderiv.o multder.o plusder.o powderiv.o sqrtder.o tanderiv.o timesder.o Done with spice3f5/src/lib/dev/disto Making "all" in asrc cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrc.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcacld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcacld.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ASRCacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcask.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcask.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | ASRCask(ckt,instPtr,which,value,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ASRCconvTest( inModel, ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:38:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | asrc_vals = NEWN(double, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcconv.c:39:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | asrc_derivs = NEWN(double, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcdel.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcdel.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | ASRCdelete(model,name,fast) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcdest.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | ASRCdestroy(model) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcfbr.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcfbr.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcfbr.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ASRCfindBr(ckt,inputModel,name) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcload.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | ASRCload(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcload.c:60:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | asrc_vals = NEWN(double, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcload.c:61:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | asrc_derivs = NEWN(double, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcload.c:113:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | here->ASRCacValues = NEWN(double, size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcmdel.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcmdel.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | ASRCmDelete(modList,modname,killModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpar.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ASRCparam(param,value,fast,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpzld.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpzld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ASRCpzLoad(inModel,ckt,s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpzld.c:50:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | asrc_vals = NEWN(double, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcpzld.c:51:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | asrc_derivs = NEWN(double, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ASRCsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:43:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | here->ASRCposptr = (double **)MALLOC(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:88:29: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | REALLOC(here->ASRCposptr, (sizeof(double *)*(j+5))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:97:29: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | REALLOC(here->ASRCposptr, (sizeof(double *)*(j+1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:103:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | REALLOC(here->ASRCposptr, (sizeof(double *) * (j+2))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:115:25: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | REALLOC(here->ASRCposptr, (sizeof(double *) * (j+5))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:124:25: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | REALLOC(here->ASRCposptr, (sizeof(double *) * (j+1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:130:21: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | REALLOC(here->ASRCposptr, (sizeof(double *) * (j+2))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | ASRCunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/asrc//asrcset.c:162:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | CKTdltNNum(ckt, here->ASRCbranch); | ^ 11 warnings generated. `recursive' not remade because of errors. Stop. make[6]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev/asrc Making "all" in bjt cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjt.c cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtacld.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtacld.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | BJTacLoad(inModel,ckt) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtask.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTask(ckt,instPtr,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtask.c:207:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtask.c:222:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtask.c:237:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 5 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtconv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtconv.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtconv.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | BJTconvTest(inModel,ckt) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdel.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdel.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | BJTdelete(inModel,name,kill) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdest.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | BJTdestroy(inModel) | ^ 1 warning generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | BJTdisto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:50:9: warning: call to undeclared function 'BJTdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | return(BJTdSetup(model,ckt)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:140:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 140 | if ((mode == D_2F1MF2)){ | ~~~~~^~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:140:15: note: remove extraneous parentheses around the comparison to silence this warning 140 | if ((mode == D_2F1MF2)){ | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:140:15: note: use '=' to turn this equality comparison into an assignment 140 | if ((mode == D_2F1MF2)){ | ^~ | = /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:165:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 165 | if ((mode == D_F1PF2)){ | ~~~~~^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:165:15: note: remove extraneous parentheses around the comparison to silence this warning 165 | if ((mode == D_F1PF2)){ | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdisto.c:165:15: note: use '=' to turn this equality comparison into an assignment 165 | if ((mode == D_F1PF2)){ | ^~ | = 5 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:139:1: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | EqualDeriv(&d_q, &d_p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:301:2: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | InvDeriv(&d_q1, &d_dummy); /* now q1 and its derivatives are | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:324:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | TimesDeriv(&d_arg,&d_q2,4.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:333:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | SqrtDeriv(&d_sqarg, &d_arg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:340:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | MultDeriv(&d_qb, &d_q1, &d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:341:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | TimesDeriv(&d_qb, &d_qb, 0.5); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:357:1: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | DivDeriv(&d_ic, &d_dummy, &d_qb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:385:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 385 | SqrtDeriv(&d_dummy, &d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:386:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | TimesDeriv(&d_dummy, &d_dummy, 2.4317); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:398:3: warning: call to undeclared function 'TanDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | TanDeriv(&d_tanz, &d_z); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:402:3: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | PlusDeriv(&d_dummy, &d_dummy, &d_tanz); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:404:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | MultDeriv(&d_dummy2, &d_tanz, &d_tanz); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:443:7: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | TimesDeriv(&d_rbb, &d_rbb,rbpi); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:515:4: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | ExpDeriv(&d_dummy, &d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:527:8: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | MultDeriv (&d_dummy2, &d_dummy2, &d_dummy2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:536:4: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | MultDeriv(&d_tff, &d_dummy, &d_dummy2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:537:4: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 537 | TimesDeriv(&d_tff, &d_tff, tf*xtf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:557:1: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 557 | MultDeriv(&d_qbe, &d_dummy, &d_cbe); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtdset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTdSetup(inModel,ckt) | ^ 20 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtgetic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtgetic.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtgetic.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | BJTgetic(inModel,ckt) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtload.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtload.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtload.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtload.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTload(inModel,ckt) | ^ 5 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmask.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmask.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | BJTmAsk(ckt,instPtr,which,value) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmdel.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmdel.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTmDelete(inModels,modname,kill) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmpar.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtmpar.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | BJTmParam(param,value,inModel) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | BJTnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:76:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 75 | (void)sprintf(name,"onoise_%s%s", | ~~ 76 | inst->BJTname,BJTnNames[i]); | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:80:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | trealloc((char *)data->namelist, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:93:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 92 | (void)sprintf(name,"onoise_total_%s%s", | ~~ 93 | inst->BJTname,BJTnNames[i]); | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:96:13: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | trealloc((char *)data->namelist, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:105:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 104 | (void)sprintf(name,"inoise_total_%s%s", | ~~ 105 | inst->BJTname,BJTnNames[i]); | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:107:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | NevalSrc(&noizDens[BJTRCNOIZ],&lnNdens[BJTRCNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | NevalSrc(&noizDens[BJTRBNOIZ],&lnNdens[BJTRBNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:131:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | NevalSrc(&noizDens[BJT_RE_NOISE],&lnNdens[BJT_RE_NOISE], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:135:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | NevalSrc(&noizDens[BJTICNOIZ],&lnNdens[BJTICNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:139:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | NevalSrc(&noizDens[BJTIBNOIZ],&lnNdens[BJTIBNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:143:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | NevalSrc(&noizDens[BJTFLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:187:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtnoise.c:189:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 15 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtparam.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtparam.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | BJTparam(param,value,instPtr,select) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtpzld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtpzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | BJTpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTsAcLoad(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:160:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:160:26: note: place parentheses around the assignment to silence this warning 160 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:160:26: note: use '==' to turn this assignment into an equality comparison 160 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:276:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 276 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:276:26: note: place parentheses around the assignment to silence this warning 276 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:276:26: note: use '==' to turn this assignment into an equality comparison 276 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:315:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 315 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:315:26: note: place parentheses around the assignment to silence this warning 315 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:315:26: note: use '==' to turn this assignment into an equality comparison 315 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:354:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:354:26: note: place parentheses around the assignment to silence this warning 354 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:354:26: note: use '==' to turn this assignment into an equality comparison 354 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:396:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 396 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:396:26: note: place parentheses around the assignment to silence this warning 396 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:396:26: note: use '==' to turn this assignment into an equality comparison 396 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:435:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 435 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:435:26: note: place parentheses around the assignment to silence this warning 435 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsacl.c:435:26: note: use '==' to turn this assignment into an equality comparison 435 | if(error = BJTload((GENmodel*)model,ckt)) return(error); | ^ | == 8 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | BJTsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | BJTunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c:235:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | CKTdltNNum(ckt, here->BJTcolPrimeNode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c:241:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | CKTdltNNum(ckt, here->BJTbasePrimeNode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsetup.c:247:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | CKTdltNNum(ckt, here->BJTemitPrimeNode); | ^ 6 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsload.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsload.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTsLoad(inModel,ckt) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:35:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 35 | printf("Model name:%s\n",model->BJTmodName); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:42:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 42 | printf(" Instance name:%s\n",here->BJTname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:44:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Collector, Base , Emitter nodes: %s, %s ,%s\n", | ~~ 44 | CKTnodName(ckt,here->BJTcolNode),CKTnodName(ckt,here->BJTbaseNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:44:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Collector, Base , Emitter nodes: %s, %s ,%s\n", | ~~ 44 | CKTnodName(ckt,here->BJTcolNode),CKTnodName(ckt,here->BJTbaseNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsprt.c:45:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Collector, Base , Emitter nodes: %s, %s ,%s\n", | ~~ 44 | CKTnodName(ckt,here->BJTcolNode),CKTnodName(ckt,here->BJTbaseNode), 45 | CKTnodName(ckt,here->BJTemitNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | BJTsSetup(info,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsset.c:46:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if((here->BJTsens = (double *)MALLOC(55*sizeof(double))) == | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsupd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsupd.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjtsupd.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | BJTsUpdate(inModel,ckt) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjttemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjttemp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjttemp.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | BJTtemp(inModel,ckt) | ^ 2 warnings generated. cc -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjttrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjttrunc.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bjt//bjttrunc.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | BJTtrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a bjt.o bjtacld.o bjtask.o bjtconv.o bjtdel.o bjtdest.o bjtdisto.o bjtdset.o bjtgetic.o bjtload.o bjtmask.o bjtmdel.o bjtmpar.o bjtnoise.o bjtparam.o bjtpzld.o bjtsacl.o bjtsetup.o bjtsload.o bjtsprt.o bjtsset.o bjtsupd.o bjttemp.o bjttrunc.o Done with spice3f5/src/lib/dev/bjt Making "all" in bsim1 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1acld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1acld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1acld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B1acLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ask.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ask.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1ask(ckt,inst,which,value,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1cvtest.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1cvtest.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1cvtest.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1cvtest.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1cvtest.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1convTest(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1del.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1del.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1del.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1delete(inModel,name,inInst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | B1destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1disto.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1disto.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1disto.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | B1disto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1disto.c:48:9: warning: call to undeclared function 'B1dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | return(B1dSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:247:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | EqualDeriv(&d_q,&d_p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:303:5: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | SqrtDeriv(&d_SqrtVpb,&d_Vpb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:308:5: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | TimesDeriv(&d_Von,&d_Vpb,-K2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:309:5: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | PlusDeriv(&d_Von,&d_Von,&d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:323:5: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 323 | InvDeriv(&d_G,&d_G); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:328:5: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | DivDeriv(&d_A,&d_G,&d_SqrtVpb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:338:5: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | MultDeriv(&d_dummy,&d_Ugs,&d_VgsVth); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:511:5: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | ExpDeriv(&d_Warg1,&d_Warg1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1dset.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | B1dSetup(inModel,ckt) | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1eval.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1eval.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1eval.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1eval.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | B1evaluate(vds,vbs,vgs,here,model,gmPointer,gdsPointer,gmbsPointer, | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1getic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1getic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1getic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B1getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ld.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ld.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1ld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1load(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mask.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mask.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | B1mAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B1mDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1moscap.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1moscap.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B1mosCap(ckt,vgd,vgs,vgb, | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1mpar.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1mParam(param,value,inMod) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1par.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1par.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | B1param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1pzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1pzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1pzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1pzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1set.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1set.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B1setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1set.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | B1unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1set.c:400:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | CKTdltNNum(ckt, here->B1dNodePrime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1set.c:406:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 406 | CKTdltNNum(ckt, here->B1sNodePrime); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1temp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1temp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B1temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1trunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1trunc.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim1//b1trunc.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | B1trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a b1.o b1acld.o b1ask.o b1cvtest.o b1del.o b1dest.o b1disto.o b1dset.o b1eval.o b1getic.o b1ld.o b1mask.o b1mdel.o b1moscap.o b1mpar.o b1par.o b1pzld.o b1set.o b1temp.o b1trunc.o Done with spice3f5/src/lib/dev/bsim1 Making "all" in bsim2 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2acld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2acld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2acld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B2acLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ask.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ask.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2ask(ckt,inst,which,value,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2cvtest.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2cvtest.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2cvtest.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2cvtest.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2cvtest.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2convTest(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2del.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2del.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2del.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2delete(inModel,name,inInst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2dest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | B2destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2eval.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2eval.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2eval.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2eval.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | B2evaluate(Vds,Vbs,Vgs,here,model,gm,gds,gmb,qg,qb,qd,cgg,cgd,cgs, | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2getic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2getic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2getic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B2getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2load(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:561:3: warning: array index 7 is past the end of the array (that has type 'double[7]') [-Warray-bounds] 561 | args[7] = cgsb; | ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:126:5: note: array 'args' declared here 126 | double args[7]; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:583:3: warning: array index 7 is past the end of the array (that has type 'double[7]') [-Warray-bounds] 583 | args[7] = cgdb; | ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2ld.c:126:5: note: array 'args' declared here 126 | double args[7]; | ^ 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mask.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mask.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | B2mAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B2mDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2moscap.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2moscap.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B2mosCap(ckt,vgd,vgs,vgb, | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2mpar.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2mParam(param,value,inMod) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2par.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2par.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | B2param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2pzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2pzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2pzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2pzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2set.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2set.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | B2setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2set.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | B2unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2set.c:568:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | CKTdltNNum(ckt, here->B2dNodePrime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2set.c:574:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | CKTdltNNum(ckt, here->B2sNodePrime); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2temp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2temp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | B2temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2trunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2trunc.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/bsim2//b2trunc.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | B2trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a b2.o b2acld.o b2ask.o b2cvtest.o b2del.o b2dest.o b2eval.o b2getic.o b2ld.o b2mask.o b2mdel.o b2moscap.o b2mpar.o b2par.o b2pzld.o b2set.o b2temp.o b2trunc.o Done with spice3f5/src/lib/dev/bsim2 Making "all" in cap cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//cap.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capacld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capacld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CAPacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capask.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capask.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CAPask(ckt,inst, which, value, select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capask.c:48:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capask.c:64:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CAPdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CAPdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capgetic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capgetic.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capgetic.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | CAPgetic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capload.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CAPload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmask.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CAPmAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CAPmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capmpar.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CAPmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CAPparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//cappzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//cappzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//cappzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CAPpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsacl.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsacl.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CAPsAcLoad(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsetup.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsetup.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CAPsetup(matrix,inModel,ckt,states) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsload.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsload.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsload.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsload.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CAPsLoad(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CAPsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 34 | printf("Model name:%s\n",model->CAPmodName); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Instance name:%s\n",here->CAPname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:42:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 42 | CKTnodName(ckt,here->CAPposNode),CKTnodName(ckt,here->CAPnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsprt.c:42:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 42 | CKTnodName(ckt,here->CAPposNode),CKTnodName(ckt,here->CAPnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsset.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CAPsSetup(info,inModel) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsupd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsupd.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsupd.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsupd.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//capsupd.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CAPsUpdate(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//captemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//captemp.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//captemp.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CAPtemp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//captrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//captrunc.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cap//captrunc.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CAPtrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a cap.o capacld.o capask.o capdel.o capdest.o capgetic.o capload.o capmask.o capmdel.o capmpar.o capparam.o cappzld.o capsacl.o capsetup.o capsload.o capsprt.o capsset.o capsupd.o captemp.o captrunc.o Done with spice3f5/src/lib/dev/cap Making "all" in cccs cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccs.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccs.c:30:36: warning: '/*' within block comment [-Wcomment] 30 | /* static IFparm CCCSmPTable[] = { /* model parameters */ | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsask.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsask.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | CCCSask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsask.c:57:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsask.c:72:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CCCSdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CCCSdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsload.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CCCSload(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CCCSmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccspar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccspar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccspar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CCCSparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccspzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccspzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccspzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CCCSpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssacl.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCCSsAcLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccsset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CCCSsetup(matrix,inModel,ckt,states) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssld.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssld.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCCSsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCCSsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:33:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 33 | printf("Model name:%s\n",model->CCCSmodName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Instance name:%s\n",here->CCCSname); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:41:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 41 | CKTnodName(ckt,here->CCCSposNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:42:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 41 | CKTnodName(ckt,here->CCCSposNode), 42 | CKTnodName(ckt,here->CCCSnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssprt.c:46:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 45 | printf(" Controlling Branch equation number: %s\n", | ~~ 46 | CKTnodName(ckt,here->CCCScontBranch)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/cccs//cccssset.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCCSsSetup(info,inModel) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a cccs.o cccsask.o cccsdel.o cccsdest.o cccsload.o cccsmdel.o cccspar.o cccspzld.o cccssacl.o cccsset.o cccssld.o cccssprt.o cccssset.o Done with spice3f5/src/lib/dev/cccs Making "all" in ccvs cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvs.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsask.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CCVSask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsask.c:58:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsask.c:72:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CCVSdelete(inModel,name,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CCVSdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsfbr.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsfbr.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsfbr.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CCVSfindBr(ckt,inModel,name) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsload.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CCVSload(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CCVSmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvspar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvspar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvspar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CCVSparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvspzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvspzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvspzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CCVSpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssacl.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssacl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CCVSsAcLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsset.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsset.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CCVSsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsset.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | CCVSunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvsset.c:85:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | CKTdltNNum(ckt, here->CCVSbranch); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssld.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssld.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCVSsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCVSsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:33:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 33 | printf("Model name:%s\n",model->CCVSmodName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:38:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Instance name:%s\n",here->CCVSname); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:40:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 40 | CKTnodName(ckt,here->CCVSposNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:41:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 40 | CKTnodName(ckt,here->CCVSposNode), 41 | CKTnodName(ckt,here->CCVSnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:43:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 42 | printf(" Controlling source name: %s\n", | ~~ 43 | here->CCVScontName); | ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:45:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 44 | printf(" Branch equation number: %s\n", | ~~ 45 | CKTnodName(ckt,here->CCVSbranch)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssprt.c:47:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 46 | printf(" Controlling Branch equation number: %s\n", | ~~ 47 | CKTnodName(ckt,here->CCVScontBranch)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ccvs//ccvssset.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CCVSsSetup(info,inModel) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a ccvs.o ccvsask.o ccvsdel.o ccvsdest.o ccvsfbr.o ccvsload.o ccvsmdel.o ccvspar.o ccvspzld.o ccvssacl.o ccvsset.o ccvssld.o ccvssprt.o ccvssset.o Done with spice3f5/src/lib/dev/ccvs Making "all" in csw cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//csw.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswacld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswacld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CSWacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CSWask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswask.c:47:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswask.c:59:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CSWdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CSWdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswload.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswload.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswload.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | CSWload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmask.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CSWmAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CSWmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswmpar.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CSWmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | CSWnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:63:35: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 63 | (void)sprintf(name,"onoise_%s",inst->CSWname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:66:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:75:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 75 | (void)sprintf(name,"onoise_total_%s",inst->CSWname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:78:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:85:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 85 | (void)sprintf(name,"inoise_total_%s",inst->CSWname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:88:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:105:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | NevalSrc(&noizDens,&lnNdens,ckt,THERMNOISE, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:124:29: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | tempOutNoise = Nintegrate(noizDens, lnNdens, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswnoise.c:126:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | tempInNoise = Nintegrate(noizDens * | ^ 10 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CSWparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswpzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswpzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CSWpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswsetup.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/csw//cswsetup.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CSWsetup(matrix,inModel,ckt,states) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a csw.o cswacld.o cswask.o cswdel.o cswdest.o cswload.o cswmask.o cswmdel.o cswmpar.o cswnoise.o cswparam.o cswpzld.o cswsetup.o Done with spice3f5/src/lib/dev/csw Making "all" in dio cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dio.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioacld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioacld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | DIOacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioask.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | DIOask (ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioask.c:67:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioconv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioconv.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioconv.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioconv.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioconv.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | DIOconvTest(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DIOdelete(inModel,name,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DIOdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodisto.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodisto.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodisto.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DIOdisto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodisto.c:41:9: warning: call to undeclared function 'DIOdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | return(DIOdSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diodset.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DIOdSetup(model,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diogetic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diogetic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diogetic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DIOgetic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioload.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioload.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | DIOload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diomask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diomask.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diomask.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | DIOmAsk (ckt,inModel,which, value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diomdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diomdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diomdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DIOmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diompar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diompar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diompar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | DIOmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | DIOnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 72 | (void)sprintf(name,"onoise_%s%s",inst->DIOname,DIOnNames[i]); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:87:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 87 | (void)sprintf(name,"onoise_total_%s%s",inst->DIOname,DIOnNames[i]); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:90:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:98:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 98 | (void)sprintf(name,"inoise_total_%s%s",inst->DIOname,DIOnNames[i]); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:101:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:119:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | NevalSrc(&noizDens[DIORSNOIZ],&lnNdens[DIORSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | NevalSrc(&noizDens[DIOIDNOIZ],&lnNdens[DIOIDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | NevalSrc(&noizDens[DIOFLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:168:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dionoise.c:170:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 12 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioparam.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//dioparam.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | DIOparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diopzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diopzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diopzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | DIOpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | DIOsAcLoad(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:106:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 106 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:106:26: note: place parentheses around the assignment to silence this warning 106 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:106:26: note: use '==' to turn this assignment into an equality comparison 106 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:142:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 142 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:142:26: note: place parentheses around the assignment to silence this warning 142 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:142:26: note: use '==' to turn this assignment into an equality comparison 142 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:168:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 168 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:168:26: note: place parentheses around the assignment to silence this warning 168 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosacl.c:168:26: note: use '==' to turn this assignment into an equality comparison 168 | if(error = DIOload((GENmodel*)model,ckt)) return(error); | ^ | == 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosetup.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosetup.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | DIOsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosetup.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | DIOunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosetup.c:129:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | CKTdltNNum(ckt, here->DIOposPrimeNode); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosload.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosload.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | DIOsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | DIOsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 34 | printf("Model name:%s\n",model->DIOmodName); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Instance name:%s\n",here->DIOname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c:42:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 42 | CKTnodName(ckt,here->DIOposNode),CKTnodName(ckt,here->DIOnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosprt.c:42:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 42 | CKTnodName(ckt,here->DIOposNode),CKTnodName(ckt,here->DIOnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosset.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | DIOsSetup(info,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosset.c:41:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if((here->DIOsens = (double *)MALLOC(7*sizeof(double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosupd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosupd.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diosupd.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | DIOsUpdate(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotemp.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotemp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | DIOtemp(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotemp.c:120:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | emsg = MALLOC(100); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotemp.c:142:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | emsg = MALLOC(100); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotrunc.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/dio//diotrunc.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DIOtrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a dio.o dioacld.o dioask.o dioconv.o diodel.o diodest.o diodisto.o diodset.o diogetic.o dioload.o diomask.o diomdel.o diompar.o dionoise.o dioparam.o diopzld.o diosacl.o diosetup.o diosload.o diosprt.o diosset.o diosupd.o diotemp.o diotrunc.o Done with spice3f5/src/lib/dev/dio Making "all" in ind cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//ind.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indacld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indacld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INDacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indask.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indask.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INDask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indask.c:46:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indask.c:56:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//inddel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//inddel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//inddel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INDdelete(inModel,name,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//inddest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//inddest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INDdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indload.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indload.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indload.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indload.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INDload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INDmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INDparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indpzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indpzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INDpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsacl.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsacl.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INDsAcLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsetup.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsetup.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INDsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsetup.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | INDunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsetup.c:81:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | CKTdltNNum(ckt, here->INDbrEq); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsload.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsload.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INDsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INDsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:31:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 31 | printf("Model name:%s\n",model->INDmodName); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:37:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 37 | printf(" Instance name:%s\n",here->INDname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:39:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 39 | CKTnodName(ckt,here->INDposNode),CKTnodName(ckt,here->INDnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:39:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 39 | CKTnodName(ckt,here->INDposNode),CKTnodName(ckt,here->INDnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsprt.c:40:50: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Branch Equation: %s\n",CKTnodName(ckt,here->INDbrEq)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsset.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsset.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INDsSetup(info,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsupd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsupd.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indsupd.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | INDsUpdate(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indtrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indtrunc.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//indtrunc.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INDtrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutacld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutacld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MUTacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutask.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutask.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MUTask(ckt,inst,which,value,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutdel.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MUTdelete(inModel,name,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutdest.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MUTdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutmdel.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MUTmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutparam.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MUTparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutpzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutpzld.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MUTpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsetup.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsetup.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | MUTsetup(matrix,inModel,ckt,states) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | MUTsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 34 | printf("Model name:%s\n",model->MUTmodName); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Instance name:%s\n",here->MUTname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c:44:51: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 44 | printf(" inductor 1 name: %s \n",here->MUTindName1); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsprt.c:45:51: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 45 | printf(" inductor 2 name: %s \n",here->MUTindName2); | ~~ ^~~~~~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ind//mutsset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | MUTsSetup(info,inModel) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a ind.o indacld.o indask.o inddel.o inddest.o indload.o indmdel.o indparam.o indpzld.o indsacl.o indsetup.o indsload.o indsprt.o indsset.o indsupd.o indtrunc.o mutacld.o mutask.o mutdel.o mutdest.o mutmdel.o mutparam.o mutpzld.o mutsetup.o mutsprt.o mutsset.o Done with spice3f5/src/lib/dev/ind Making "all" in isrc cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrc.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ISRCaccept(ckt,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:32:16: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 32 | if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { | ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:32:16: note: add parentheses after the '!' to evaluate the bitwise operator first 32 | if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:32:16: note: add parentheses around left hand side expression to silence this warning 32 | if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:146:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 146 | if((*(here->ISRCcoeffs+2*i)==ckt->CKTtime)) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:146:52: note: remove extraneous parentheses around the comparison to silence this warning 146 | if((*(here->ISRCcoeffs+2*i)==ckt->CKTtime)) { | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacct.c:146:52: note: use '=' to turn this equality comparison into an assignment 146 | if((*(here->ISRCcoeffs+2*i)==ckt->CKTtime)) { | ^~ | = 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacld.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcacld.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | ISRCacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | ISRCask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcask.c:56:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | MALLOC(here->ISRCfunctionOrder * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcask.c:85:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ISRCdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ISRCdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ISRCload(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:169:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 169 | if((*(here->ISRCcoeffs+2*i)==time)) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:169:52: note: remove extraneous parentheses around the comparison to silence this warning 169 | if((*(here->ISRCcoeffs+2*i)==time)) { | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcload.c:169:52: note: use '=' to turn this equality comparison into an assignment 169 | if((*(here->ISRCcoeffs+2*i)==time)) { | ^~ | = 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ISRCmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrcpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | ISRCparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrctemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrctemp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/isrc//isrctemp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ISRCtemp(inModel,ckt) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a isrc.o isrcacct.o isrcacld.o isrcask.o isrcdel.o isrcdest.o isrcload.o isrcmdel.o isrcpar.o isrctemp.o Done with spice3f5/src/lib/dev/isrc Making "all" in jfet cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfet.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetacld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetacld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | JFETacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetask.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetask.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | JFETask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetask.c:103:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetask.c:114:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | JFETdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | JFETdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdist.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdist.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdist.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | JFETdisto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdist.c:47:9: warning: call to undeclared function 'JFETdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | return(JFETdSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdset.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdset.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdset.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetdset.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | JFETdSetup(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | JFETgetic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetload.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetload.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetload.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetload.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | JFETload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmask.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmask.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | JFETmAsk(ckt,inModel,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | JFETmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetmpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | JFETmParam(param,value,inModels) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | JFETnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 72 | (void)sprintf(name,"onoise_%s%s",inst->JFETname,JFETnNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 88 | (void)sprintf(name,"onoise_total_%s%s",inst->JFETname,JFETnNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 99 | (void)sprintf(name,"inoise_total_%s%s",inst->JFETname,JFETnNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:102:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:119:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | NevalSrc(&noizDens[JFETRDNOIZ],&lnNdens[JFETRDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | NevalSrc(&noizDens[JFETRSNOIZ],&lnNdens[JFETRSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | NevalSrc(&noizDens[JFETIDNOIZ],&lnNdens[JFETIDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:132:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | NevalSrc(&noizDens[JFETFLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:171:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetnoi.c:173:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetpar.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | JFETparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetpzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetpzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | JFETpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetset.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetset.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | JFETsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetset.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | JFETunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetset.c:169:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | CKTdltNNum(ckt, here->JFETsourcePrimeNode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfetset.c:175:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 175 | CKTdltNNum(ckt, here->JFETdrainPrimeNode); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfettemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfettemp.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfettemp.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | JFETtemp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfettrun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfettrun.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet//jfettrun.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | JFETtrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a jfet.o jfetacld.o jfetask.o jfetdel.o jfetdest.o jfetdist.o jfetdset.o jfetic.o jfetload.o jfetmask.o jfetmdel.o jfetmpar.o jfetnoi.o jfetpar.o jfetpzld.o jfetset.o jfettemp.o jfettrun.o Done with spice3f5/src/lib/dev/jfet Making "all" in jfet2 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2acld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2acld.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2acld.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | JFET2acLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ask.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ask.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | JFET2ask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ask.c:112:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ask.c:123:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2del.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2del.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2del.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | JFET2delete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2dest.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | JFET2destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ic.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2ic.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | JFET2getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2load.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2load.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2load.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2load.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2load.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | JFET2load(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mask.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | JFET2mAsk(ckt,inModel,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mdel.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mdel.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | JFET2mDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mpar.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2mpar.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | JFET2mParam(param,value,inModels) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | JFET2noise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:76:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 76 | (void)sprintf(name,"onoise_%s%s",inst->JFET2name,JFET2nNames[i]); | ~~ ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:79:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:92:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 92 | (void)sprintf(name,"onoise_total_%s%s",inst->JFET2name,JFET2nNames[i]); | ~~ ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:95:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:103:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 103 | (void)sprintf(name,"inoise_total_%s%s",inst->JFET2name,JFET2nNames[i]); | ~~ ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:106:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:123:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | NevalSrc(&noizDens[JFET2RDNOIZ],&lnNdens[JFET2RDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:127:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | NevalSrc(&noizDens[JFET2RSNOIZ],&lnNdens[JFET2RSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:131:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | NevalSrc(&noizDens[JFET2IDNOIZ],&lnNdens[JFET2IDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:136:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | NevalSrc(&noizDens[JFET2FLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:175:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2noi.c:177:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2par.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2par.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | JFET2param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2set.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2set.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | JFET2setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2set.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | JFET2unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2set.c:121:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | CKTdltNNum(ckt, here->JFET2sourcePrimeNode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2set.c:127:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | CKTdltNNum(ckt, here->JFET2drainPrimeNode); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2temp.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2temp.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | JFET2temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2trun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2trun.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//jfet2trun.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | JFET2trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//psmodel.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//psmodel.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | PSids(ckt, model, here, vgs, vgd, igs, igd, ggs, ggd, Gm, Gds) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//psmodel.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | qgg(vgs, vgd, gamma, pb, alpha, vto, vmax, xc, cgso, cgdo, cgs, cgd) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//psmodel.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | PScharge(ckt, model, here, vgs, vgd, capgs, capgd) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//psmodel.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | PSacload(ckt, model, here, vgs, vgd, ids, omega, Gm, xGm, Gds, xGds) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/jfet2//psmodel.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | PSinstanceinit(model, here) | ^ 5 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a jfet2.o jfet2acld.o jfet2ask.o jfet2del.o jfet2dest.o jfet2ic.o jfet2load.o jfet2mask.o jfet2mdel.o jfet2mpar.o jfet2noi.o jfet2par.o jfet2set.o jfet2temp.o jfet2trun.o psmodel.o Done with spice3f5/src/lib/dev/jfet2 Making "all" in ltra cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltra.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltra.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | LTRAaccept(ckt,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:42:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | LTRAmemMANAGE(model->LTRAh1dashCoeffs,model->LTRAmodelListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:43:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | LTRAmemMANAGE(model->LTRAh2Coeffs,model->LTRAmodelListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:44:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | LTRAmemMANAGE(model->LTRAh3dashCoeffs,model->LTRAmodelListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:54:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | REALLOC( (char *) model->LTRAh1dashCoeffs, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:57:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | REALLOC( (char *) model->LTRAh2Coeffs, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:60:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | REALLOC( (char *) model->LTRAh3dashCoeffs, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:71:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | LTRAmemMANAGE(here->LTRAv1,here->LTRAinstListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:72:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | LTRAmemMANAGE(here->LTRAi1,here->LTRAinstListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:73:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | LTRAmemMANAGE(here->LTRAv2,here->LTRAinstListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:74:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | LTRAmemMANAGE(here->LTRAi2,here->LTRAinstListSize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:37:17: note: expanded from macro 'LTRAmemMANAGE' 37 | a = (double *) MALLOC( b * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:87:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | here->LTRAv1 = (double *) REALLOC( (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:89:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | here->LTRAi1 = (double *) REALLOC( (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:91:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | here->LTRAi2 = (double *) REALLOC( (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacct.c:93:33: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | here->LTRAv2 = (double *) REALLOC( (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ 17 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacld.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraacld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | LTRAacLoad(inModel,ckt) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraask.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraask.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | LTRAask(ckt,inst,which,value,select) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradel.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradel.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradel.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | LTRAdelete(inModel,name,kill) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradest.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradest.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltradest.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | LTRAdestroy(inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | LTRAload(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:145:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 145 | if ((i == -1)) { | ~~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:145:12: note: remove extraneous parentheses around the comparison to silence this warning 145 | if ((i == -1)) { | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:145:12: note: use '=' to turn this equality comparison into an assignment 145 | if ((i == -1)) { | ^~ | = /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraload.c:172:5: warning: call to undeclared function 'LTRAlinInterp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | LTRAlinInterp(ckt->CKTtime - model->LTRAtd, | ^ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramdel.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramdel.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramdel.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | LTRAmDelete(inModel,modname,kill) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | LTRAquadInterp(t,t1,t2,t3,c1,c2,c3) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | LTRAlinInterp(t,t1,t2,c1,c2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | intlinfunc(lolimit,hilimit,lovalue,hivalue,t1,t2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | twiceintlinfunc(lolimit,hilimit,otherlolimit,lovalue,hivalue,t1,t2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | thriceintlinfunc(lolimit,hilimit,secondlolimit,thirdlolimit,lovalue, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | bessI0(x) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | bessI1(x) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | bessI1xOverX(x) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | LTRArlcH1dashFunc(time,T,alpha,beta) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | LTRArlcH2Func(time,T,alpha,beta) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | LTRArlcH3dashFunc(time,T,alpha,beta) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | LTRArlcH1dashTwiceIntFunc(time,beta) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | LTRArlcH3dashIntFunc(time,T,beta) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | LTRArcH1dashTwiceIntFunc(time,cbyr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | LTRArcH2TwiceIntFunc(time,rclsqr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | LTRArcH3dashTwiceIntFunc(time,cbyr,rclsqr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | LTRArcCoeffsSetup(h1dashfirstcoeff,h2firstcoeff,h3dashfirstcoeff,h1dashcoeffs,h2coeffs,h3dashcoeffs,listsize,cbyr,rclsqr,curtime,timelist,timeindex,reltol) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | LTRArlcCoeffsSetup(h1dashfirstcoeff,h2firstcoeff,h3dashfirstcoeff,h1dashcoeffs,h2coeffs,h3dashcoeffs,listsize,T,alpha,beta,curtime,timelist,timeindex,reltol,auxindexptr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | LTRAstraightLineCheck(x1,y1,x2,y2,x3,y3,reltol,abstol) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramisc.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | LTRAlteCalculate(ckt,genmodel,geninstance,curtime) | ^ 21 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrampar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrampar.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrampar.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrampar.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | LTRAmParam(param,value,inModel) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrapar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrapar.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrapar.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltrapar.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | LTRAparam(param,value,inst,select) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | LTRAsetup(matrix,inModel,ckt,state) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | LTRAunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:267:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:267:19: warning: cast to 'GENERIC *' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 267 | CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:271:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltraset.c:271:19: warning: cast to 'GENERIC *' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 271 | CKTdltNNum(ckt, (GENERIC *) here->LTRAbrEq2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratemp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratemp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratemp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | LTRAtemp(inModel,ckt) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratrun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratrun.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratrun.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltratrun.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | LTRAtrunc(inModel,ckt,timeStep) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramask.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra/ltradefs.h:96:29: warning: '/*' within block comment [-Wcomment] 96 | /*double LTRAh2FirstOthVal;/* needed for LTE calc; but their values */ | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramask.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/ltra//ltramask.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | LTRAmAsk(ckt,inModel,param,value) | ^ 3 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a ltra.o ltraacct.o ltraacld.o ltraask.o ltradel.o ltradest.o ltraload.o ltramdel.o ltramisc.o ltrampar.o ltrapar.o ltraset.o ltratemp.o ltratrun.o ltramask.o Done with spice3f5/src/lib/dev/ltra Making "all" in mes cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mes.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesacl.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesacl.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MESacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesask.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesask.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | MESask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesask.c:96:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesask.c:107:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MESdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MESdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdisto.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdisto.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdisto.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MESdisto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdisto.c:47:9: warning: call to undeclared function 'MESdSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | return(MESdSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:164:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 164 | EqualDeriv(&d_q,&d_p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:184:7: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 184 | TimesDeriv(&d_prod,&d_r,model->MESlModulation); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:192:7: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | InvDeriv(&d_invdenom,&d_denom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:197:4: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | MultDeriv(&d_cdrain,&d_betap,&d_vgst); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:209:4: warning: call to undeclared function 'CubeDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | CubeDeriv(&d_lfact,&d_afact); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:253:5: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | TimesDeriv(&d_veroot,&d_q,-1.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:254:5: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | PlusDeriv(&d_veroot,&d_veroot,&d_p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:255:5: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | MultDeriv(&d_veroot,&d_veroot,&d_veroot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:257:5: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | SqrtDeriv(&d_veroot,&d_veroot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:268:5: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | EqualDeriv(&d_vnroot,&d_veff1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:303:5: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | DivDeriv(&d_par1,&d_par1,&d_vnroot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:329:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | InvDeriv(&d_dummy,&d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesdset.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MESdSetup(inModel,ckt) | ^ 14 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesgetic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesgetic.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesgetic.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MESgetic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesload.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesload.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | MESload(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesload.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | qggnew(vgs,vgd,phib,vcap,vto,cgs,cgd,cgsnew,cgdnew) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmask.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmask.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MESmAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MESmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesmpar.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MESmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | MESnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 72 | (void)sprintf(name,"onoise_%s%s",inst->MESname,MESnNames[i]); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 88 | (void)sprintf(name,"onoise_total_%s%s",inst->MESname,MESnNames[i]); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 99 | (void)sprintf(name,"inoise_total_%s%s",inst->MESname,MESnNames[i]); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:106:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:124:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | NevalSrc(&noizDens[MESRDNOIZ],&lnNdens[MESRDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:128:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | NevalSrc(&noizDens[MESRSNOIZ],&lnNdens[MESRSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:132:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | NevalSrc(&noizDens[MESIDNOIZ],&lnNdens[MESIDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:137:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | NevalSrc(&noizDens[MESFLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:176:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesnoise.c:178:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mesparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MESparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mespzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mespzld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mespzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MESpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//messetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//messetup.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//messetup.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MESsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//messetup.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | MESunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//messetup.c:155:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | CKTdltNNum(ckt, here->MESsourcePrimeNode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//messetup.c:161:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | CKTdltNNum(ckt, here->MESdrainPrimeNode); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mestemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mestemp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mestemp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MEStemp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mestrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mestrunc.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mes//mestrunc.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MEStrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a mes.o mesacl.o mesask.o mesdel.o mesdest.o mesdisto.o mesdset.o mesgetic.o mesload.o mesmask.o mesmdel.o mesmpar.o mesnoise.o mesparam.o mespzld.o messetup.o mestemp.o mestrunc.o Done with spice3f5/src/lib/dev/mes Making "all" in mos1 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1acld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1acld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1acld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS1acLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS1ask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c:342:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c:353:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c:370:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ask.c:388:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1conv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1conv.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1conv.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | MOS1convTest(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1del.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1del.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1del.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS1delete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS1destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dist.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dist.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dist.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS1disto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dist.c:47:9: warning: call to undeclared function 'MOS1dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | return(MOS1dSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dset.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1dset.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS1dSetup(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1ic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS1getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1load.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1load.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1load.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS1load(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1load.c:315:21: warning: '/*' within block comment [-Wcomment] 315 | /* nothing interesting has changed since last | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mask.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS1mAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS1mDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mpar.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1mpar.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS1mParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | MOS1noise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:83:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 83 | (void)sprintf(name,"onoise_%s%s",inst->MOS1name,MOS1nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:85:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:98:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 98 | (void)sprintf(name,"onoise_total_%s%s",inst->MOS1name,MOS1nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:101:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:109:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 109 | (void)sprintf(name,"inoise_total_%s%s",inst->MOS1name,MOS1nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:112:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:130:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | NevalSrc(&noizDens[MOS1RDNOIZ],&lnNdens[MOS1RDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:134:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | NevalSrc(&noizDens[MOS1RSNOIZ],&lnNdens[MOS1RSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:138:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | NevalSrc(&noizDens[MOS1IDNOIZ],&lnNdens[MOS1IDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:142:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | NevalSrc(&noizDens[MOS1FLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:182:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1noi.c:184:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1par.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1par.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS1param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1pzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1pzld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1pzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS1pzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | MOS1sAcLoad(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:236:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 236 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:236:26: note: place parentheses around the assignment to silence this warning 236 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:236:26: note: use '==' to turn this assignment into an equality comparison 236 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:326:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 326 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:326:26: note: place parentheses around the assignment to silence this warning 326 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:326:26: note: use '==' to turn this assignment into an equality comparison 326 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:364:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:364:26: note: place parentheses around the assignment to silence this warning 364 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:364:26: note: use '==' to turn this assignment into an equality comparison 364 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:403:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 403 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:403:26: note: place parentheses around the assignment to silence this warning 403 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:403:26: note: use '==' to turn this assignment into an equality comparison 403 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:443:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 443 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:443:26: note: place parentheses around the assignment to silence this warning 443 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:443:26: note: use '==' to turn this assignment into an equality comparison 443 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:543:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 543 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:543:26: note: place parentheses around the assignment to silence this warning 543 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sacl.c:543:26: note: use '==' to turn this assignment into an equality comparison 543 | if(error = MOS1load((GENmodel*)model,ckt)) return(error); | ^ | == 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1set.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1set.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS1setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1set.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | MOS1unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1set.c:208:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | CKTdltNNum(ckt, here->MOS1dNodePrime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1set.c:214:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 214 | CKTdltNNum(ckt, here->MOS1sNodePrime); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sld.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sld.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS1sLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS1sPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:34:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 34 | printf("Model name:%s\n",model->MOS1modName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:40:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Instance name:%s\n",here->MOS1name); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:42:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 42 | CKTnodName(ckt,here->MOS1dNode),CKTnodName(ckt,here->MOS1gNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:42:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 42 | CKTnodName(ckt,here->MOS1dNode),CKTnodName(ckt,here->MOS1gNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sprt.c:43:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 41 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 42 | CKTnodName(ckt,here->MOS1dNode),CKTnodName(ckt,here->MOS1gNode), 43 | CKTnodName(ckt,here->MOS1sNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sset.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS1sSetup(info,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1sset.c:42:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if((here->MOS1sens = (double *)MALLOC(70*sizeof(double))) == NULL) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1supd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1supd.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1supd.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS1sUpdate(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1temp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1temp.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS1temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1trun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1trun.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos1//mos1trun.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS1trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a mos1.o mos1acld.o mos1ask.o mos1conv.o mos1del.o mos1dest.o mos1dist.o mos1dset.o mos1ic.o mos1load.o mos1mask.o mos1mdel.o mos1mpar.o mos1noi.o mos1par.o mos1pzld.o mos1sacl.o mos1set.o mos1sld.o mos1sprt.o mos1sset.o mos1supd.o mos1temp.o mos1trun.o Done with spice3f5/src/lib/dev/mos1 Making "all" in mos2 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2acld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2acld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2acld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS2acLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS2ask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c:342:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c:353:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c:370:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ask.c:388:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2conv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2conv.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2conv.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | MOS2convTest(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2del.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2del.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2del.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS2delete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS2destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dist.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dist.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dist.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS2disto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dist.c:47:9: warning: call to undeclared function 'MOS2dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | return(MOS2dSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:329:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | EqualDeriv(&d_q,&d_p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:341:6: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | SqrtDeriv(&d_sarg, &d_phiMinVbs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:343:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | InvDeriv(&d_dsrgdb,&d_sarg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:344:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | TimesDeriv(&d_dsrgdb,&d_dsrgdb,-0.5); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:351:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | TimesDeriv(&d_sarg,&d_sarg,0.5/here->MOS2tPhi); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:353:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | InvDeriv(&d_sarg,&d_sarg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:356:6: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | MultDeriv(&d_dsrgdb,&d_sarg,&d_sarg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:364:6: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | SqrtDeriv(&d_barg,&d_barg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:366:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | InvDeriv(&d_dbrgdb,&d_barg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:367:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | TimesDeriv(&d_dbrgdb,&d_dbrgdb,-0.5); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:372:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | TimesDeriv(&d_barg,&d_barg,0.5/here->MOS2tPhi); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:374:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | InvDeriv(&d_barg,&d_barg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:377:6: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | MultDeriv(&d_dbrgdb,&d_barg,&d_barg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:396:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | TimesDeriv(&d_vbin,&d_phiMinVbs,factor); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:422:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 422 | SqrtDeriv(&d_args,&d_argxs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:434:6: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | PlusDeriv(&d_gamasd,&d_argss,&d_argsd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:445:3: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | DivDeriv(&d_dbargs,&d_dbxws,&d_args); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:465:2: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | MultDeriv(&d_von,&d_gamasd,&d_sarg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:466:2: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | PlusDeriv(&d_von,&d_von,&d_vbin); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:491:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 491 | InvDeriv(&d_argg,&d_tmp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:514:2: warning: call to undeclared function 'CubeDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | CubeDeriv(&d_sarg3,&d_sarg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:536:2: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | InvDeriv(&d_dummy,&d_udenom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:538:2: warning: call to undeclared function 'PowDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 538 | PowDeriv(&d_ufact,&d_dummy,model->MOS2critFieldExp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:580:3: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 580 | DivDeriv(&d_arg,&d_argv,&d_gammd2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:582:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | SqrtDeriv(&d_arg,&d_arg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:591:3: warning: '/*' within block comment [-Wcomment] 591 | /* distortion vdsat=(vgsx-vbin)/eta + (gammd2 - dumarg)/2.0 | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:705:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 705 | SqrtDeriv(&d_p2,&d_p0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:716:7: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | DivDeriv(&d_fi,&d_p2,&d_s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:718:7: warning: call to undeclared function 'AtanDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 718 | AtanDeriv(&d_fi,&d_fi); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:721:7: warning: call to undeclared function 'CosDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 721 | CosDeriv(&d_dummy,&d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:834:7: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 834 | SqrtDeriv(&d_bsarg,&d_bsarg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:861:7: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 861 | SqrtDeriv(&d_sargv,&d_sargv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:902:7: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 902 | SqrtDeriv(&d_xls,&d_xls); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:952:6: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 952 | DivDeriv(&d_beta1,&d_ufact,&d_clfact); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:980:7: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 980 | ExpDeriv(&d_dummy,&d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:1041:6: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1041 | ExpDeriv(&d_expg,&d_expg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2dset.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | MOS2dSetup(inModel,ckt) | ^ 41 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2ic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS2getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | MOS2load(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:1382:66: warning: '/*' within block comment [-Wcomment] 1382 | /*printf(" loading %s at time %g\n",here->MOS2name,ckt->CKTtime);/**/ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:1384:66: warning: '/*' within block comment [-Wcomment] 1384 | here->MOS2sourceConductance,here->MOS2gbd,here->MOS2gbs);/**/ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:1385:71: warning: '/*' within block comment [-Wcomment] 1385 | /*printf("%g %g %g %g %g\n",-gcgb,0.0,0.0,here->MOS2gds,here->MOS2gm);/**/ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:1386:77: warning: '/*' within block comment [-Wcomment] 1386 | /*printf("%g %g %g %g %g\n", here->MOS2gds,here->MOS2gmbs,gcgd,-gcgs,-gcgd);/**/ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2load.c:1387:57: warning: '/*' within block comment [-Wcomment] 1387 | /*printf("%g %g %g %g %g\n", -gcgs,-gcgd,0.0,-gcgs,0.0);/**/ | ^ 10 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS2mDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS2mParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | MOS2noise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 72 | (void)sprintf(name,"onoise_%s%s",inst->MOS2name,MOS2nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 88 | (void)sprintf(name,"onoise_total_%s%s",inst->MOS2name,MOS2nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 99 | (void)sprintf(name,"inoise_total_%s%s",inst->MOS2name,MOS2nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:102:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:120:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | NevalSrc(&noizDens[MOS2RDNOIZ],&lnNdens[MOS2RDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:124:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | NevalSrc(&noizDens[MOS2RSNOIZ],&lnNdens[MOS2RSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:128:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | NevalSrc(&noizDens[MOS2IDNOIZ],&lnNdens[MOS2IDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:132:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | NevalSrc(&noizDens[MOS2FLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:173:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2noi.c:175:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2par.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2par.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS2param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2pzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2pzld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2pzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS2pzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | MOS2sAcLoad(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:236:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 236 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:236:26: note: place parentheses around the assignment to silence this warning 236 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:236:26: note: use '==' to turn this assignment into an equality comparison 236 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:326:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 326 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:326:26: note: place parentheses around the assignment to silence this warning 326 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:326:26: note: use '==' to turn this assignment into an equality comparison 326 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:364:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 364 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:364:26: note: place parentheses around the assignment to silence this warning 364 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:364:26: note: use '==' to turn this assignment into an equality comparison 364 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:403:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 403 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:403:26: note: place parentheses around the assignment to silence this warning 403 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:403:26: note: use '==' to turn this assignment into an equality comparison 403 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:443:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 443 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:443:26: note: place parentheses around the assignment to silence this warning 443 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:443:26: note: use '==' to turn this assignment into an equality comparison 443 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:542:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 542 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:542:26: note: place parentheses around the assignment to silence this warning 542 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sacl.c:542:26: note: use '==' to turn this assignment into an equality comparison 542 | if(error = MOS2load((GENmodel*)model,ckt)) return(error); | ^ | == 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2set.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2set.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS2setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2set.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | MOS2unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2set.c:234:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | CKTdltNNum(ckt, here->MOS2sNodePrime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2set.c:240:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | CKTdltNNum(ckt, here->MOS2dNodePrime); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sld.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sld.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS2sLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS2sPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:30:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 30 | printf("Model name:%s\n",model->MOS2modName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:36:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 36 | printf(" Instance name:%s\n",here->MOS2name); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:38:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 37 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 38 | CKTnodName(ckt,here->MOS2dNode),CKTnodName(ckt,here->MOS2gNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:38:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 37 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 38 | CKTnodName(ckt,here->MOS2dNode),CKTnodName(ckt,here->MOS2gNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sprt.c:39:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 37 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 38 | CKTnodName(ckt,here->MOS2dNode),CKTnodName(ckt,here->MOS2gNode), 39 | CKTnodName(ckt,here->MOS2sNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sset.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS2sSetup(info,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2sset.c:44:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if((here->MOS2sens = (double *)MALLOC(70*sizeof(double))) == NULL) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2supd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2supd.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2supd.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS2sUpdate(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2temp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2temp.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS2temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2trun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2trun.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2trun.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS2trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mask.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos2//mos2mask.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS2mAsk(ckt,inModel,param,value) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a mos2.o mos2acld.o mos2ask.o mos2conv.o mos2del.o mos2dest.o mos2dist.o mos2dset.o mos2ic.o mos2load.o mos2mdel.o mos2mpar.o mos2noi.o mos2par.o mos2pzld.o mos2sacl.o mos2set.o mos2sld.o mos2sprt.o mos2sset.o mos2supd.o mos2temp.o mos2trun.o mos2mask.o Done with spice3f5/src/lib/dev/mos2 Making "all" in mos3 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3acld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3acld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3acld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS3acLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS3ask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c:342:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c:353:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c:370:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ask.c:388:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3conv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3conv.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3conv.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | MOS3convTest(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3del.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3del.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3del.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS3delete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS3destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dist.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dist.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dist.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS3disto(mode,genmodel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dist.c:47:9: warning: call to undeclared function 'MOS3dSetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | return(MOS3dSetup(model,ckt)); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:302:2: warning: call to undeclared function 'EqualDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | EqualDeriv(&d_q,&d_p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:319:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | TimesDeriv(&d_phibs,&d_phibs,-1.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:322:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 322 | SqrtDeriv(&d_sqphbs,&d_phibs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:329:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | TimesDeriv(&d_sqphbs,&d_sqphbs,1/(here->MOS3tPhi+here->MOS3tPhi)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:331:3: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | InvDeriv(&d_sqphbs,&d_sqphbs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:334:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | MultDeriv(&d_phibs,&d_sqphbs,&d_sqphbs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:342:3: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | TimesDeriv(&d_wps,&d_sqphbs,model->MOS3coeffDepLayWidth); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:351:3: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | MultDeriv(&d_wconxj,&d_wconxj,&d_wponxj); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:358:3: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | InvDeriv(&d_argc,&d_argc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:364:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | SqrtDeriv(&d_argb,&d_argb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:381:6: warning: call to undeclared function 'TimesDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | TimesDeriv(&d_gammas,&d_fshort,model->MOS3gamma); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:383:6: warning: call to undeclared function 'DivDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 383 | DivDeriv(&d_fbodys,&d_gammas,&d_sqphbs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:392:6: warning: call to undeclared function 'InvDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | InvDeriv(&d_onfbdy,&d_onfbdy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:396:6: warning: call to undeclared function 'MultDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | MultDeriv(&d_qbonco,&d_gammas,&d_sqphbs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:397:6: warning: call to undeclared function 'PlusDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | PlusDeriv(&d_qbonco,&d_qbonco,&d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:481:3: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | SqrtDeriv(&d_argb,&d_argb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:573:6: warning: call to undeclared function 'SqrtDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 573 | SqrtDeriv(&d_argb,&d_argb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:626:3: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 626 | ExpDeriv(&d_wfact,&d_wfact); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:656:3: warning: call to undeclared function 'ExpDeriv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 656 | ExpDeriv(&d_dummy,&d_dummy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3dset.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS3dSetup(inModel,ckt) | ^ 24 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3ic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS3getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3load.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3load.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3load.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS3load(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3load.c:325:21: warning: '/*' within block comment [-Wcomment] 325 | /* nothing interesting has changed since last | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mask.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mask.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | MOS3mAsk(ckt,inst,which,value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mask.c:150:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 150 | } | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS3mDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3mpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS3mParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | MOS3noise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:72:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 72 | (void)sprintf(name,"onoise_%s%s",inst->MOS3name,MOS3nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:75:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:88:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 88 | (void)sprintf(name,"onoise_total_%s%s",inst->MOS3name,MOS3nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:99:47: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 99 | (void)sprintf(name,"inoise_total_%s%s",inst->MOS3name,MOS3nNames[i]); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:102:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:121:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | NevalSrc(&noizDens[MOS3RDNOIZ],&lnNdens[MOS3RDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:125:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | NevalSrc(&noizDens[MOS3RSNOIZ],&lnNdens[MOS3RSNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:129:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | NevalSrc(&noizDens[MOS3IDNOIZ],&lnNdens[MOS3IDNOIZ], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:133:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | NevalSrc(&noizDens[MOS3FLNOIZ],(double*)NULL,ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:174:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | tempOnoise = Nintegrate(noizDens[i], lnNdens[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3noi.c:176:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | tempInoise = Nintegrate(noizDens[i] * data->GainSqInv , | ^ 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3par.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3par.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS3param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3pzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3pzld.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3pzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS3pzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | MOS3sAcLoad(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:236:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 236 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:236:26: note: place parentheses around the assignment to silence this warning 236 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:236:26: note: use '==' to turn this assignment into an equality comparison 236 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:325:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 325 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:325:26: note: place parentheses around the assignment to silence this warning 325 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:325:26: note: use '==' to turn this assignment into an equality comparison 325 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:363:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 363 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:363:26: note: place parentheses around the assignment to silence this warning 363 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:363:26: note: use '==' to turn this assignment into an equality comparison 363 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:402:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 402 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:402:26: note: place parentheses around the assignment to silence this warning 402 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:402:26: note: use '==' to turn this assignment into an equality comparison 402 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:442:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 442 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:442:26: note: place parentheses around the assignment to silence this warning 442 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:442:26: note: use '==' to turn this assignment into an equality comparison 442 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:544:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 544 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:544:26: note: place parentheses around the assignment to silence this warning 544 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sacl.c:544:26: note: use '==' to turn this assignment into an equality comparison 544 | if(error = MOS3load((GENmodel*)model,ckt)) return(error); | ^ | == 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3set.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3set.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS3setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3set.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | MOS3unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3set.c:252:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | CKTdltNNum(ckt, here->MOS3dNodePrime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3set.c:258:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | CKTdltNNum(ckt, here->MOS3sNodePrime); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sld.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sld.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS3sLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS3sPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:31:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 31 | printf("Model name:%s\n",model->MOS3modName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:37:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 37 | printf(" Instance name:%s\n",here->MOS3name); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:39:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 39 | CKTnodName(ckt,here->MOS3dNode),CKTnodName(ckt,here->MOS3gNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 39 | CKTnodName(ckt,here->MOS3dNode),CKTnodName(ckt,here->MOS3gNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sprt.c:40:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Drain, Gate , Source nodes: %s, %s ,%s\n", | ~~ 39 | CKTnodName(ckt,here->MOS3dNode),CKTnodName(ckt,here->MOS3gNode), 40 | CKTnodName(ckt,here->MOS3sNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sset.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sset.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS3sSetup(info,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3sset.c:45:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | if((here->MOS3sens = (double *)MALLOC(72*sizeof(double))) == NULL) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3supd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3supd.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3supd.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS3sUpdate(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3temp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3temp.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS3temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3trun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3trun.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos3//mos3trun.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | MOS3trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a mos3.o mos3acld.o mos3ask.o mos3conv.o mos3del.o mos3dest.o mos3dist.o mos3dset.o mos3ic.o mos3load.o mos3mask.o mos3mdel.o mos3mpar.o mos3noi.o mos3par.o mos3pzld.o mos3sacl.o mos3set.o mos3sld.o mos3sprt.o mos3sset.o mos3supd.o mos3temp.o mos3trun.o Done with spice3f5/src/lib/dev/mos3 Making "all" in mos6 cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS6ask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c:338:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c:349:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c:366:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ask.c:384:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6conv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6conv.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6conv.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | MOS6convTest(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6dest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6dest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS6destroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ic.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6ic.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS6getic(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6load.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6load.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6load.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6load.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | MOS6load(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6load.c:315:21: warning: '/*' within block comment [-Wcomment] 315 | /* nothing interesting has changed since last | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6mpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6mpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6mpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | MOS6mParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6par.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6par.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6par.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS6param(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6set.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6set.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6set.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MOS6setup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6set.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | MOS6unsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6set.c:224:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 224 | CKTdltNNum(ckt, here->MOS6dNodePrime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6set.c:230:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | CKTdltNNum(ckt, here->MOS6sNodePrime); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6temp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6temp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6temp.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS6temp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6trun.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6trun.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6trun.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | MOS6trunc(inModel,ckt,timeStep) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6mask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6mask.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/mos6//mos6mask.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | MOS6mAsk(ckt,inModel,param,value) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a mos6.o mos6ask.o mos6conv.o mos6dest.o mos6ic.o mos6load.o mos6mpar.o mos6par.o mos6set.o mos6temp.o mos6trun.o mos6mask.o Done with spice3f5/src/lib/dev/mos6 Making "all" in res cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//res.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resask.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resask.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | RESask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resask.c:110:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resask.c:122:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | RESdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | RESdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resload.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | RESload(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmask.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmask.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | RESmodAsk(ckt,inModel,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | RESmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmpar.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resmpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | RESmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | RESnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:62:35: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 62 | (void)sprintf(name,"onoise_%s",inst->RESname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:65:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:76:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 76 | (void)sprintf(name,"onoise_total_%s",inst->RESname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:79:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:87:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 87 | (void)sprintf(name,"inoise_total_%s",inst->RESname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:90:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:107:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | NevalSrc(&noizDens,&lnNdens,ckt,THERMNOISE, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:125:29: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | tempOutNoise = Nintegrate(noizDens, lnNdens, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resnoise.c:127:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | tempInNoise = Nintegrate(noizDens * | ^ 10 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resparam.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//resparam.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | RESparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//respzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//respzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//respzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | RESpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressacl.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressacl.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | RESsAcLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressetup.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressetup.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | RESsetup(matrix,inModel,ckt,state) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressload.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | RESsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | RESsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c:32:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 32 | printf("Model name:%s\n",model->RESmodName); | ~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c:38:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 38 | printf(" Instance name:%s\n",here->RESname); | ~~ ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c:40:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 40 | CKTnodName(ckt,here->RESposNode),CKTnodName(ckt,here->RESnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressprt.c:40:46: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 40 | CKTnodName(ckt,here->RESposNode),CKTnodName(ckt,here->RESnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressset.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//ressset.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | RESsSetup(info,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//restemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//restemp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/res//restemp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | REStemp(inModel,ckt) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a res.o resask.o resdel.o resdest.o resload.o resmask.o resmdel.o resmpar.o resnoise.o resparam.o respzld.o ressacl.o ressetup.o ressload.o ressprt.o ressset.o restemp.o Done with spice3f5/src/lib/dev/res Making "all" in sw cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//sw.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swacload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swacload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swacload.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | SWacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | SWask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swask.c:51:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swask.c:63:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swdelete.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swdelete.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swdelete.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | SWdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | SWdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swload.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | SWload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmask.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | SWmAsk(ckt,inModel,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | SWmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swmparam.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | SWmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | SWnoise (mode, operation, genmodel, ckt, data, OnDens) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:63:35: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 63 | (void)sprintf(name,"onoise_%s",inst->SWname); | ~~ ^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:66:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:77:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 77 | (void)sprintf(name,"onoise_total_%s",inst->SWname); | ~~ ^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:80:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:88:41: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 88 | (void)sprintf(name,"inoise_total_%s",inst->SWname); | ~~ ^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:91:35: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | data->namelist = (IFuid *)trealloc((char *)data->namelist,(data->numPlots + 1)*sizeof(IFuid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:109:15: warning: passing arguments to 'NevalSrc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | NevalSrc(&noizDens,&lnNdens,ckt,THERMNOISE, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:128:29: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | tempOutNoise = Nintegrate(noizDens, lnNdens, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swnoise.c:130:28: warning: passing arguments to 'Nintegrate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | tempInNoise = Nintegrate(noizDens * | ^ 10 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | SWparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swpzload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swpzload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swpzload.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | SWpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swsetup.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/sw//swsetup.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | SWsetup(matrix,inModel,ckt,states) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a sw.o swacload.o swask.o swdelete.o swdest.o swload.o swmask.o swmdel.o swmparam.o swnoise.o swparam.o swpzload.o swsetup.o Done with spice3f5/src/lib/dev/sw Making "all" in tra cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tra.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacct.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacct.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacct.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | TRAaccept(ckt,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacct.c:57:49: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | here->TRAdelays = (double *)REALLOC((char *)here->TRAdelays, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacld.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traacld.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | TRAacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | TRAask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traask.c:93:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | value->v.vec.rVec = (double *) MALLOC(here->TRAsizeDelay); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tradel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tradel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tradel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | TRAdelete(inModel,name,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tradest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tradest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | TRAdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traload.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traload.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | TRAload(inModel,ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tramdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tramdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tramdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | TRAmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//traparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | TRAparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | TRAsetup(matrix,inModel,ckt,state) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:66:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | here->TRAdelays = (double *)MALLOC(15*sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | TRAunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:137:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | CKTdltNNum(ckt, here->TRAbrEq1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:141:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | CKTdltNNum(ckt, here->TRAbrEq2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:145:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | CKTdltNNum(ckt, here->TRAintNode1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//trasetup.c:149:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | CKTdltNNum(ckt, here->TRAintNode2); | ^ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tratemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tratemp.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tratemp.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | TRAtemp(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tratrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tratrunc.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/tra//tratrunc.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | TRAtrunc(inModel,ckt,timeStep) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a tra.o traacct.o traacld.o traask.o tradel.o tradest.o traload.o tramdel.o traparam.o trasetup.o tratemp.o tratrunc.o Done with spice3f5/src/lib/dev/tra Making "all" in urc cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urc.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcask.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | URCask(ckt,inst,which,value,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | URCdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcdest.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | URCdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmask.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | URCmAsk(ckt,inst,which,value) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | URCmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcmpar.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | URCmParam(param,value,inModel) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcparam.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcparam.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | URCparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | URCsetup(matrix,inModel,ckt,state) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:136:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | namehi = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:144:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | namelo = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:154:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | nameelt = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:170:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | nameelt = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:188:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | nameelt = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:207:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | nameelt = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:229:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | nameelt = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:248:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | nameelt = (char *)MALLOC(10*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | URCunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/urc//urcsetup.c:317:4: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | CKTdltNNum(ckt, in->GENnode1); | ^ 12 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a urc.o urcask.o urcdel.o urcdest.o urcmask.o urcmdel.o urcmpar.o urcparam.o urcsetup.o Done with spice3f5/src/lib/dev/urc Making "all" in vccs cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccs.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsask.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsask.c:118:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsask.c:134:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | VCCSask(ckt,inst,which,value,select) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VCCSdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | VCCSdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsload.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsload.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VCCSload(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VCCSmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccspar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccspar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccspar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VCCSparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccspzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccspzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccspzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VCCSpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssacl.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssacl.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | VCCSsAcLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccsset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | VCCSsetup(matrix,inModel,ckt,states) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssld.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssld.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | VCCSsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:33:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 33 | printf("Model name:%s\n",model->VCCSmodName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Instance name:%s\n",here->VCCSname); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:41:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 41 | CKTnodName(ckt,here->VCCSposNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:42:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 41 | CKTnodName(ckt,here->VCCSposNode), 42 | CKTnodName(ckt,here->VCCSnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:44:13: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Controlling Positive, negative nodes: %s, %s\n", | ~~ 44 | CKTnodName(ckt,here->VCCScontPosNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:45:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Controlling Positive, negative nodes: %s, %s\n", | ~~ 44 | CKTnodName(ckt,here->VCCScontPosNode), 45 | CKTnodName(ckt,here->VCCScontNegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssprt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | VCCSsPrint(inModel,ckt) | ^ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vccs//vccssset.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | VCCSsSetup(info,inModel) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a vccs.o vccsask.o vccsdel.o vccsdest.o vccsload.o vccsmdel.o vccspar.o vccspzld.o vccssacl.o vccsset.o vccssld.o vccssprt.o vccssset.o Done with spice3f5/src/lib/dev/vccs Making "all" in vcvs cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvs.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsask.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | VCVSask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsask.c:126:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsask.c:140:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VCVSdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | VCVSdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsfbr.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsfbr.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsfbr.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsfbr.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsfbr.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VCVSfindBr(ckt,inModel,name) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsload.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | VCVSload(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VCVSmDelete(inModel,modname,kill) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvspar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvspar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvspar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VCVSparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvspzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvspzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvspzld.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VCVSpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssacl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssacl.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssacl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | VCVSsAcLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsset.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsset.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | VCVSsetup(matrix,inModel,ckt,states) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsset.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | VCVSunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvsset.c:78:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | CKTdltNNum(ckt, here->VCVSbranch); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssld.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssld.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | VCVSsLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | VCVSsPrint(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:32:34: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 32 | printf("Model name:%s\n",model->VCVSmodName); | ~~ ^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:39:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 39 | printf(" Instance name:%s\n",here->VCVSname); | ~~ ^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:41:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 41 | CKTnodName(ckt,here->VCVSposNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:42:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 40 | printf(" Positive, negative nodes: %s, %s\n", | ~~ 41 | CKTnodName(ckt,here->VCVSposNode), 42 | CKTnodName(ckt,here->VCVSnegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:44:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Controlling Positive, negative nodes: %s, %s\n", | ~~ 44 | CKTnodName(ckt,here->VCVScontPosNode), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:45:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 43 | printf(" Controlling Positive, negative nodes: %s, %s\n", | ~~ 44 | CKTnodName(ckt,here->VCVScontPosNode), 45 | CKTnodName(ckt,here->VCVScontNegNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssprt.c:47:21: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 46 | printf(" Branch equation number: %s\n", | ~~ 47 | CKTnodName(ckt,here->VCVSbranch)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssset.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vcvs//vcvssset.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | VCVSsSetup(info,inModel) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a vcvs.o vcvsask.o vcvsdel.o vcvsdest.o vcvsfbr.o vcvsload.o vcvsmdel.o vcvspar.o vcvspzld.o vcvssacl.o vcvsset.o vcvssld.o vcvssprt.o vcvssset.o Done with spice3f5/src/lib/dev/vcvs Making "all" in vsrc cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrc.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | VSRCaccept(ckt,inModel) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:33:16: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] 33 | if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { | ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:33:16: note: add parentheses after the '!' to evaluate the bitwise operator first 33 | if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:33:16: note: add parentheses around left hand side expression to silence this warning 33 | if(!ckt->CKTmode & (MODETRAN | MODETRANOP)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:160:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 160 | if((*(here->VSRCcoeffs+2*i)==ckt->CKTtime)) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:160:52: note: remove extraneous parentheses around the comparison to silence this warning 160 | if((*(here->VSRCcoeffs+2*i)==ckt->CKTtime)) { | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacct.c:160:52: note: use '=' to turn this equality comparison into an assignment 160 | if((*(here->VSRCcoeffs+2*i)==ckt->CKTtime)) { | ^~ | = 7 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcacld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCacLoad(inModel,ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | VSRCask(ckt,inst,which,value,select) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c:56:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | MALLOC (here->VSRCfunctionOrder * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c:65:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | MALLOC (value->v.numValue * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c:89:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcask.c:99:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCdelete(inModel,name,inst) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcdest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcdest.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | VSRCdestroy(inModel) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcfbr.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcfbr.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcfbr.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | VSRCfindBr(ckt,inModel,name) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | VSRCload(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:186:52: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 186 | if((*(here->VSRCcoeffs+2*i)==time)) { | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:186:52: note: remove extraneous parentheses around the comparison to silence this warning 186 | if((*(here->VSRCcoeffs+2*i)==time)) { | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcload.c:186:52: note: use '=' to turn this equality comparison into an assignment 186 | if((*(here->VSRCcoeffs+2*i)==time)) { | ^~ | = 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcmdel.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcmdel.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcmdel.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCmDelete(inModel,modname,fast) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpar.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpar.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | VSRCparam(param,value,inst,select) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpzld.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpzld.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCpzLoad(inModel,ckt,s) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpzs.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpzs.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcpzs.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCpzSetup(matrix,inModel,ckt,state) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcset.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcset.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCsetup(matrix,inModel,ckt,state) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcset.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | VSRCunsetup(inModel,ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrcset.c:75:3: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | CKTdltNNum(ckt, here->VSRCbranch); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrctemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrctemp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev/vsrc//vsrctemp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | VSRCtemp(inModel,ckt) | ^ 2 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a vsrc.o vsrcacct.o vsrcacld.o vsrcask.o vsrcdel.o vsrcdest.o vsrcfbr.o vsrcload.o vsrcmdel.o vsrcpar.o vsrcpzld.o vsrcpzs.o vsrcset.o vsrctemp.o Done with spice3f5/src/lib/dev/vsrc cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | DEVlimvds(vnew,vold) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | DEVpnjlim(vnew,vold,vt,vcrit,icheck) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | DEVfetlim(vnew,vold,vto) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | DEVcmeyer(vgs0,vgd0,vgb0,von0,vdsat0, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | DEVqmeyer(vgs,vgd,vgb,von,vdsat,capgs,capgd,capgb,phi,cox) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/dev//devsup.c:412:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | double DEVpred(ckt,loct) | ^ 6 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a devsup.o ranlib /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/dev.a > /dev/null Done with spice3f5/src/lib/dev Making "all" in ckt cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acan.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acan.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acan.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | ACan(ckt,restart) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acan.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | CKTacLoad(ckt) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acaskq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acaskq.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | ACaskQuest(ckt,anal,which,value) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | ACsetParm(ckt,anal,which,value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c:27:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | errMsg = copy("Frequency of 0 is invalid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//acsetp.c:37:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | errMsg = copy("Frequency of 0 is invalid"); | ^ 6 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktaccpt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktaccpt.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktaccpt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTaccept(ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktacct.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktacct.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CKTacct(ckt,anal,which,val) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktacdum.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktacdum.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTacDump(ckt,freq,plot) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktacdum.c:38:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | data = (IFcomplex *) MALLOC((ckt->CKTmaxEqNum-1)*sizeof(IFcomplex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktask.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktask.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTask(ckt,fast,which,value,selector) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktaskaq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktaskaq.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTaskAnalQ(ckt,analPtr,parm,value,selector) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktaskaq.c:30:42: 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] 30 | return( (*(analInfo[type]->askQuest))((CKTcircuit*)ckt,analPtr,parm,value)); | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktasknq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktasknq.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTaskNodQst(ckt,node,parm,value,selector) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktbindn.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktbindn.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktbindn.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTbindNode(ckt,fast,term,node) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktbkdum.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktbkdum.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTbreakDump(ckt) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktclrbk.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktclrbk.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktclrbk.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CKTclrBreak(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktclrbk.c:29:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | tmp = (double *)MALLOC((ckt->CKTbreakSize-1)*sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktcrte.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktcrte.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktcrte.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTcrtElt(ckt,inModPtr,inInstPtr,name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktcrte.c:44:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | instPtr = (GENinstance *)MALLOC(*DEVices[type]->DEVinstSize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdelt.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdelt.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | CKTdelTask(ckt,task) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdest.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdest.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdest.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CKTdestroy(inCkt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdisto.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdisto.c:24: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdisto.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | CKTdisto (ckt, mode) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdlti.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdlti.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdlti.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTdltInst(ckt,instance) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTdltMod(cktp,modPtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:44:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | tfree(h); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltm.c:47:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | tfree(m); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTdltNod(ckt,node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:24:12: warning: call to undeclared function 'CKTdltNNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | return CKTdltNNum(ckt, ((CKTnode *) node)->number); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:60:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | tfree(node); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdltn.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | CKTdltNNum(cktp, num) | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CKTdoJob(inCkt,reset,inTask) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:106:14: warning: call to undeclared function 'CKTunsetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | error = CKTunsetup(ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:130:40: 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] 130 | error = (*(analInfo[i]->an_init))(ckt, job); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdojob.c:134:40: 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] 134 | error = (*(analInfo[i]->an_func))(ckt, reset); | ^ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdump.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktdump.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTdump(ckt,ref,plot) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfbran.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfbran.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTfndBranch(ckt,name) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfdev.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfdev.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfdev.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CKTfndDev(Ckt,type,fast,name,modfast,modname) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfnda.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfnda.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfnda.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | CKTfndAnal(ckt,analIndex,anal,name,inTask,taskName) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfndm.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfndm.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfndm.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CKTfndMod(ckt,type,modfast,modname) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfnode.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfnode.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktfnode.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTfndNode(ckt,node,name) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktftask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktftask.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktftask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTfndTask(ckt,taskPtr,taskName) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktgrnd.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktgrnd.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktgrnd.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTground(inCkt,node,name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktgrnd.c:40:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | ckt->CKTnodes = (CKTnode *)MALLOC(sizeof(CKTnode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckti2nod.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckti2nod.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckti2nod.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CKTinst2Node(ckt,instPtr,terminal,node,nodeName) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktic.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktic.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CKTic(ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktinit.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktinit.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktinit.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CKTinit(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktinit.c:23:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | sckt = (CKTcircuit *)( *ckt = (char *)MALLOC(sizeof(CKTcircuit)) ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktinit.c:61:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | (sckt)->CKTstat = (STATistics *)MALLOC(sizeof(STATistics)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktlnkeq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktlnkeq.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CKTlinkEq(ckt,node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktlnkeq.c:26:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | ckt->CKTnodes = (CKTnode *) MALLOC(sizeof(CKTnode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTload(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c:69:24: warning: passing arguments to 'ZeroNoncurRow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (ZeroNoncurRow(ckt->CKTmatrix, ckt->CKTnodes, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c:84:24: warning: passing arguments to 'ZeroNoncurRow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (ZeroNoncurRow(ckt->CKTmatrix, ckt->CKTnodes, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | ZeroNoncurRow(matrix, nodes, rownum) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktload.c:22: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] 22 | static int ZeroNoncurRow( ); | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmapn.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmapn.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmapn.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTmapNode(ckt,node,name) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmask.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmask.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmask.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTmodAsk(ckt,modfast,which,value,selector) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmcrt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmcrt.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmcrt.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTmodCrt(ckt,type,modfast,name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmcrt.c:35:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | mymodfast = (GENmodel *)MALLOC(*DEVices[type]->DEVmodSize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmkcur.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmkcur.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmkcur.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | CKTmkCur(ckt,node,basename,suffix) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmknod.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmknod.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTmkNode(ckt,node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmknod.c:29:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | mynode = (CKTnode *)MALLOC(sizeof(CKTnode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmkvol.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmkvol.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmkvol.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTmkVolt(ckt,node,basename,suffix) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmpar.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktmpar.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTmodParam(ckt,modfast,param,val,selector) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnames.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnames.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CKTnames(ckt,numNames,nameList) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnames.c:29:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | *nameList = (IFuid *)MALLOC(*numNames * sizeof(IFuid )); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnames.c:47:44: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 47 | printf("%03d: %s\n", here->number, here->name); | ~~ ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnames.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | CKTdnames(ckt) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewan.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewan.c:33:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | *analPtr = (GENERIC *)MALLOC(analInfo[type]->size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewan.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CKTnewAnal(ckt,type,name,analPtr,taskPtr) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktneweq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktneweq.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | CKTnewEq(inCkt,node,name) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewn.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewn.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTnewNode(inCkt,node,name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewn.c:33:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | ckt->CKTnodes = (CKTnode *) MALLOC(sizeof(CKTnode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnewn.c:40:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | ckt->CKTlastNode->next = (CKTnode *)MALLOC(sizeof(CKTnode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnodn.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnodn.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CKTnodName(ckt,nodenum) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:22: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:62:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | data->namelist = (IFuid *)trealloc((char *)data->namelist, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:68:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | data->namelist = (IFuid *)trealloc((char *)data->namelist, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:77:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | (double *)MALLOC(data->numPlots * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:82:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | data->namelist = (IFuid *)trealloc((char *)data->namelist, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:87:40: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | data->namelist = (IFuid *)trealloc((char *)data->namelist, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:94:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | (double *) MALLOC(data->numPlots * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnoise.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | CKTnoise (ckt, mode, operation, data) | ^ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktntask.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktntask.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | CKTnewTask(ckt,taskPtr,taskName) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktntask.c:25:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | *taskPtr = (GENERIC *)MALLOC(sizeof(TSKtask)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnum2n.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnum2n.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktnum2n.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTnum2nod(ckt,node) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktop.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktop.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktop.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | CKTop(ckt,firstmode, continuemode, iterlim) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktop.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | CKTconvTest(ckt) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktparam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktparam.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktparam.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | CKTparam(ckt,fast,param,val,selector) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpmnam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpmnam.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpmnam.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | CKTpModName(parm,val,ckt,type,name,modfast) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpname.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpname.c:21: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpname.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | CKTpName(parm,val,ckt,dev,name,fast) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzld.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzld.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzld.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | CKTpzLoad(ckt, s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzld.c:48:2: warning: call to undeclared function 'SMPcAddCol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | SMPcAddCol(ckt->CKTmatrix, pzan->PZbalance_col, pzan->PZsolution_col); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzld.c:53:2: warning: call to undeclared function 'SMPcZeroCol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | SMPcZeroCol(ckt->CKTmatrix, pzan->PZsolution_col); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzset.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzset.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzset.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CKTpzSetup(ckt, type) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | CKTpzFindZeros(ckt, rootinfo, rootcount) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:137:15: warning: passing arguments to 'CKTpzReset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | CKTpzReset(neighborhood); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:141:18: warning: call to undeclared function 'CKTpzStrat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | while ((strat = CKTpzStrat(neighborhood)) < GUESS && !CKTpzTrapped) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:142:11: warning: call to undeclared function 'CKTpzStep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | if (!CKTpzStep(strat, neighborhood)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:153:16: warning: passing arguments to 'PZeval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | error = PZeval(strat, neighborhood, &new_trial); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:157:10: warning: call to undeclared function 'CKTpzRunTrial'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | error = CKTpzRunTrial(ckt, &new_trial, neighborhood); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:162:10: warning: call to undeclared function 'CKTpzVerify'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | if (CKTpzVerify(neighborhood, new_trial)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:164:13: warning: passing arguments to 'CKTpzReset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | CKTpzReset(neighborhood); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:167:17: warning: passing arguments to 'CKTpzUpdateSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | CKTpzUpdateSet(neighborhood, new_trial); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:169:16: warning: passing arguments to 'CKTpzReset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | CKTpzReset(neighborhood); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:177:20: warning: passing arguments to 'CKTpzUpdateSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | CKTpzUpdateSet(neighborhood, new_trial); /* Replace a value */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:204:14: warning: passing arguments to 'clear_trials' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | clear_trials(ISAROOT); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:207:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | ERROR(E_SHORT, "The input signal is shorted on the way to the output"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:209:14: warning: passing arguments to 'clear_trials' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | clear_trials(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:245:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | new_trial = NEW(PZtrial); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:59:29: note: expanded from macro 'NEW' 59 | #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:397:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | ERROR(E_PANIC, "Step type unkown"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | PZeval(strat, set, new_trial_p) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:103:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | int PZeval( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:409:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 409 | CKTpzStrat(set) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:445:12: warning: passing arguments to 'zaddeq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | zaddeq(&a, &a_mag, set[1]->f_def.real, set[1]->mag_def, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:447:12: warning: passing arguments to 'zaddeq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | zaddeq(&b, &b_mag, set[2]->f_def.real, set[2]->mag_def, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | CKTpzStrat(set) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:521:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 521 | CKTpzRunTrial(ckt, new_trialp, set) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:592:16: warning: passing arguments to 'alter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | || !alter(new_trial, set[1], abstol, reltol)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:708:11: warning: call to undeclared function 'SMPcDProd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 708 | error = SMPcDProd(ckt->CKTmatrix, &new_trial->f_raw, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:764:13: warning: passing arguments to 'check_flat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | check_flat(match, new_trial); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | CKTpzRunTrial(ckt, new_trialp, set) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:779:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 779 | CKTpzVerify(set, new_trial) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:854:13: warning: passing arguments to 'check_flat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | check_flat(prev, t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | CKTpzVerify(set, new_trial) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | pzseek(t, dir) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:104:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static PZtrial *pzseek( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | clear_trials(mode) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:28: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] 28 | static void clear_trials( ), check_flat( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | CKTpzUpdateSet(set, new) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:29:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | void CKTpzUpdateSet( ), zaddeq( ), CKTpzReset( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | zaddeq(a, amag, x, xmag, y, ymag) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:29: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] 29 | void CKTpzUpdateSet( ), zaddeq( ), CKTpzReset( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | check_flat(a, b) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:28:30: 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] 28 | static void clear_trials( ), check_flat( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | CKTpzStep(strat, set) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | CKTpzReset(set) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:29: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] 29 | void CKTpzUpdateSet( ), zaddeq( ), CKTpzReset( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | alter(new, nearto, abstol, reltol) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktpzstr.c:105: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] 105 | static int alter( ); | ^ 47 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetap.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetap.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTsetAnalPm(ckt,analPtr,parm,value,selector) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetap.c:29:41: 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] 29 | return( (*(analInfo[type]->setParm))(ckt,analPtr,parm,value) ); | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetbk.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetbk.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetbk.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | CKTsetBreak(ckt,time) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetbk.c:47:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | tmp = (double *)MALLOC((ckt->CKTbreakSize+1)*sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetbk.c:68:32: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ckt->CKTbreaks = (double *)REALLOC(ckt->CKTbreaks, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetnp.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetnp.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | CKTsetNodPm(ckt,node,parm,value,selector) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | CKTsetup(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:64:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | CKALLOC(ckt->CKTstates[i],ckt->CKTnumStates,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:24:32: note: expanded from macro 'CKALLOC' 24 | if(size && (!(var =(type *)MALLOC((size)*sizeof(type))))){\ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:94:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | tfree(ckt->CKTstates[i]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsetup.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | CKTunsetup(ckt) | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:24:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | sg = NEW(sgen); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:59:29: note: expanded from macro 'NEW' 59 | #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:40:11: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | sgen_next(&sg); /* get the ball rolling XXX check return val? */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | sgen_init(ckt, is_dc) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensgen.h:19: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] 19 | extern sgen *sgen_init( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:62:10: warning: call to undeclared function 'set_param'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | && !set_param(sg)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:89:12: warning: call to undeclared function 'set_inst'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | good = set_inst(sg)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:125:12: warning: call to undeclared function 'set_model'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | good = set_model(sg)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:159:9: warning: call to undeclared function 'set_dev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | && !set_dev(sg)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | sgen_next(xsg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensgen.h:20: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] 20 | extern int sgen_next( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | set_inst(sg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:186:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 186 | set_model(sg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | set_dev(sg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:198:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 198 | set_param(sg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:205:17: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | if (Sfilter && strncmp(sg->ptable[sg->param].keyword, Sfilter, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:205:17: note: include the header or explicitly provide a declaration for 'strncmp' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:206:4: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | strlen(Sfilter))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:206:4: note: include the header or explicitly provide a declaration for 'strlen' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:218:6: warning: call to undeclared function 'sens_getp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | if (sens_getp(sg, sg->ckt, &ifval)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsgen.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | set_param(sg) | ^ 21 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsopt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsopt.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsopt.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTsetOpt(ckt,anal,opt,val) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttemp.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttemp.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTtemp(ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktterr.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktterr.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | CKTterr(qcap,ckt,timeStep) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:6: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:6: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | CKTtrouble(cktp, optmsg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:73:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 73 | sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i], | ~~ ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:76:32: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 76 | sprintf(msg_p, " %s = %g: ", cv->TRCVvName[i], | ~~ ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:91:3: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 90 | sprintf(msg_p, "trouble with node \"%s\"\n", | ~~ 91 | CKTnodName(ckt, ckt->CKTtroubleNode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:95:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 94 | sprintf(msg_p, "trouble with %s-instance %s\n", | ~~ 95 | ckt->CKTtroubleElt->GENmodPtr->GENmodName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:96:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 94 | sprintf(msg_p, "trouble with %s-instance %s\n", | ~~ 95 | ckt->CKTtroubleElt->GENmodPtr->GENmodName, 96 | ckt->CKTtroubleElt->GENname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttroub.c:101:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | emsg = MALLOC(strlen(msg_buf)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 13 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttrunc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttrunc.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttrunc.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | CKTtrunc(ckt,timeStep) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttyplk.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ckttyplk.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | CKTtypelook(type) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//daskq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//daskq.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DaskQuest(ckt,anal,which,value) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcoaskq.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcoaskq.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/opdefs.h:24: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 declaration [-Wdeprecated-non-prototype] 24 | extern int DCOaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:285:5: note: conflicting prototype is here 285 | int DCOaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcoaskq.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/opdefs.h:23: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 declaration [-Wdeprecated-non-prototype] 23 | extern int DCOsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:286:5: note: conflicting prototype is here 286 | int DCOsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcoaskq.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DCOaskQuest(ckt,anal,which,value) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcop.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcop.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcop.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | DCop(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcop.c:19:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 19 | int CKTload(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:245:5: note: conflicting prototype is here 245 | int CKTload( CKTcircuit *); | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcosetp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcosetp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/opdefs.h:23: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 previous declaration [-Wdeprecated-non-prototype] 23 | extern int DCOsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:286:5: note: conflicting prototype is here 286 | int DCOsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcosetp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/opdefs.h:24: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 previous declaration [-Wdeprecated-non-prototype] 24 | extern int DCOaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:285:5: note: conflicting prototype is here 285 | int DCOaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcosetp.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DCOsetParm(ckt,anal,which,value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dcosetp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/opdefs.h:23: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] 23 | extern int DCOsetParm(); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctaskq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctaskq.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | DCTaskQuest(ckt,anal,which,value) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | DCtran(ckt,restart) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:72:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ckt->CKTtimePoints = NEWN(double, ckt->CKTtimeListSize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:76:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ckt->CKTbreaks=(double *)MALLOC(2*sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctran.c:174:38: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | ckt->CKTtimePoints = (double *) REALLOC( (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ 11 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctrcurv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctrcurv.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctrcurv.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctrcurv.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctrcurv.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | DCtrCurv(ckt,restart) | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctsetp.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dctsetp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DCTsetParm(ckt,anal,which,value) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | DISswap(a,b) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:30:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | *a = (double *) MALLOC( sizeof(double) * size + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | DmemAlloc(a,size) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:40:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | *header = (double **) MALLOC( sizeof(double *)*size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | DstorAlloc(header,size) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | DISTOan(ckt,restart) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:144:18: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | error = CKTdisto(ckt,D_SETUP); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:296:18: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | error = CKTdisto(ckt,D_RHSF1); /* sets up the RHS vector | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:306:10: warning: call to undeclared function 'NIdIter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | error = NIdIter(ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:321:18: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | error = CKTdisto(ckt,D_TWOF1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:342:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | error = CKTdisto(ckt,D_THRF1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:369:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | error = CKTdisto(ckt,D_RHSF2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:388:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | error = CKTdisto(ckt,D_F1PF2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:408:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | error = CKTdisto(ckt,D_F1MF2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:427:19: warning: passing arguments to 'CKTdisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | error = CKTdisto(ckt,D_2F1MF2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:442:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | errMsg = MALLOC(strlen(nof2src)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:545:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | DkerProc(D_TWOF1,*(job->r2H11stor + i), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:564:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | DkerProc(D_THRF1,*(job->r3H11stor + i), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:585:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | DkerProc(D_F1PF2,*(job->r2H12stor + i), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:604:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | DkerProc(D_F1MF2, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//distoan.c:624:10: warning: passing arguments to 'DkerProc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | DkerProc(D_2F1MF2, | ^ 22 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dkerproc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dkerproc.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dkerproc.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | DkerProc(type,rPtr,iPtr,size,job) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | S2v2F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | S2i2F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | S2v3F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | S2i3F1(cxy, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | S2vF12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | S2iF12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | S2v2F12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | S2i2F12(cxy, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | S3v3F1(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, r1h1z, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | S3i3F1(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, r1h1z, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | S3v2F12(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | S3i2F12(cxyz, r1h1x, i1h1x, r1h1y, i1h1y, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | DFn2F1(cxx,cyy,czz,cxy,cyz,cxz, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | DFi2F1(cxx,cyy,czz,cxy,cyz,cxz, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | DFn3F1(cxx,cyy,czz,cxy,cyz,cxz,cxxx,cyyy,czzz,cxxy,cxxz,cxyy,cyyz,cxzz,cyzz,cxyz, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | DFi3F1(cxx,cyy,czz,cxy,cyz,cxz,cxxx,cyyy,czzz,cxxy,cxxz,cxyy,cyyz,cxzz,cyzz,cxyz, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | DFnF12(cxx,cyy,czz,cxy,cyz,cxz, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | DFiF12(cxx,cyy,czz,cxy,cyz,cxz, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | DFn2F12(p) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | DFi2F12(p) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | D1n2F1(cxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | D1n3F1(cxx,cxxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | D1nF12(cxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | D1n2F12(cxx,cxxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | D1i2F1(cxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | D1i3F1(cxx,cxxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | D1iF12(cxx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dloadfns.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | D1i2F12(cxx,cxxx, | ^ 28 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | DsetParm(ckt,anal,which,value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c:27:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | errMsg = copy("Frequency of 0 is invalid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//dsetparm.c:37:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | errMsg = copy("Frequency of 0 is invalid"); | ^ 6 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//naskq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//naskq.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | NaskQuest(ckt,anal,which,value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//naskq.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/noisedef.h:126: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] 126 | extern int NaskQuest(); | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nevalsrc.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nevalsrc.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | NevalSrc (noise, lnNoise, ckt, type, node1, node2, param) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ninteg.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//ninteg.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | Nintegrate (noizDens, lnNdens, lnNlstDens, data) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | NOISEan (ckt, restart) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:58:47: warning: incompatible pointer types passing 'char **' to parameter of type 'GENERIC **' (aka 'void **') [-Wincompatible-pointer-types] 58 | error = CKTfndDev((GENERIC*)ckt,&code,&inst, | ^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:236:44: note: passing argument to parameter here 236 | int CKTfndDev( GENERIC *, int *, GENERIC **, IFuid , GENERIC *, IFuid ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:61:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | errMsg = MALLOC(strlen(noacinput)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:69:47: warning: incompatible pointer types passing 'char **' to parameter of type 'GENERIC **' (aka 'void **') [-Wincompatible-pointer-types] 69 | error = CKTfndDev((GENERIC*)ckt,&code,&inst, | ^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:236:44: note: passing argument to parameter here 236 | int CKTfndDev( GENERIC *, int *, GENERIC **, IFuid , GENERIC *, IFuid ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:79:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | errMsg = MALLOC(strlen(noacinput)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:119:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | data = (Ndata*)MALLOC(sizeof(Ndata)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:132:17: warning: call to undeclared function 'CKTnoise'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | error = CKTnoise(ckt,N_DENS,N_OPEN,data); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:239:2: warning: call to undeclared function 'NInzIter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | NInzIter(ckt,posOutNode,negOutNode); /* solve the adjoint system */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:245:10: warning: call to undeclared function 'CKTnoise'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | error = CKTnoise(ckt,N_DENS,N_CALC,data); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//noisean.c:268:13: warning: call to undeclared function 'CKTnoise'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | error = CKTnoise(ckt,N_DENS,N_CLOSE,data); | ^ 11 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:54:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | errMsg = copy("Frequency of 0 is invalid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:64:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | errMsg = copy("Frequency of 0 is invalid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | NsetParm(ckt,anal,which,value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//nsetparm.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/noisedef.h:125: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] 125 | extern int NsetParm(); | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | PZan(ckt,reset) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | PZinit(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:97:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | ERROR(E_XMISSIONLINE, "Transmission lines not supported") | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:105:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ERROR(E_SHORT, "Input is shorted") | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:108:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | ERROR(E_SHORT, "Output is shorted") | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:113:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | ERROR(E_INISOUT, "Transfer function is unity") | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:117:2: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | ERROR(E_INISOUT, "Transfer function is -1") | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | PZpost(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:139:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | namelist = (IFuid *) MALLOC((pzan->PZnPoles | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzan.c:141:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | out_list = (IFcomplex *)MALLOC((pzan->PZnPoles | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 14 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzaskq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzaskq.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | PZaskQuest(ckt,anal,which,value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzaskq.c:73:51: warning: | has lower precedence than ==; == will be evaluated first [-Wparentheses] 73 | if( ((PZAN*)anal)->PZwhich == PZ_DO_POLES | PZ_DO_ZEROS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzaskq.c:73:51: note: place parentheses around the '==' expression to silence this warning 73 | if( ((PZAN*)anal)->PZwhich == PZ_DO_POLES | PZ_DO_ZEROS) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzaskq.c:73:51: note: place parentheses around the | expression to evaluate it first 73 | if( ((PZAN*)anal)->PZwhich == PZ_DO_POLES | PZ_DO_ZEROS) { | ~~~~~~~~~~~~^~~~~~~~~~~~~ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzsetp.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//pzsetp.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | PZsetParm(ckt,anal,which,value) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//sensaskq.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//sensaskq.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:69:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | extern SENSask( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:70:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | extern SENSsetParam( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:71:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | extern sens_sens( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//sensaskq.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | SENSask(ckt,anal,which,value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//sensaskq.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:69:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | extern SENSask( ); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//senssetp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//senssetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:69:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | extern SENSask( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:70:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | extern SENSsetParam( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:71:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | extern sens_sens( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//senssetp.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | SENSsetParam(ckt,anal,which,value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//senssetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:70:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | extern SENSsetParam( ); | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfanal.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfanal.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfanal.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/tfdefs.h:35: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 previous declaration [-Wdeprecated-non-prototype] 35 | extern int TFsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:307:5: note: conflicting prototype is here 307 | int TFsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfanal.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/tfdefs.h:36: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 previous declaration [-Wdeprecated-non-prototype] 36 | extern int TFaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:306:5: note: conflicting prototype is here 306 | int TFaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfanal.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | TFanal(ckt,restart) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfanal.c:119:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | MALLOC(sizeof(char)*(strlen(((TFan*)ckt->CKTcurJob)->TFoutName)+22)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfaskq.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfaskq.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | TFaskQuest(ckt,anal,which,value) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfsetp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfsetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/tfdefs.h:35: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 previous declaration [-Wdeprecated-non-prototype] 35 | extern int TFsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:307:5: note: conflicting prototype is here 307 | int TFsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfsetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/tfdefs.h:36: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 previous declaration [-Wdeprecated-non-prototype] 36 | extern int TFaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:306:5: note: conflicting prototype is here 306 | int TFaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfsetp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | TFsetParm(ckt,anal,which,value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tfsetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/tfdefs.h:35: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] 35 | extern int TFsetParm(); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tranaskq.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tranaskq.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tranaskq.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//tranaskq.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | TRANaskQuest(ckt,anal,which,value) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//traninit.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//traninit.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 previous declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//traninit.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 previous declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//traninit.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | TRANinit(ckt,job) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//traninit.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//transetp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//transetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//transetp.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//transetp.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | TRANsetParm(ckt,anal,which,value) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:69:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | extern SENSask( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:70:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | extern SENSsetParam( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:71:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | extern sens_sens( ); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | sens_sens(ckt, restart) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:109:12: warning: call to undeclared function 'count_steps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | nfreqs = count_steps(sen_info->step_type, sen_info->start_freq, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:138:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | delta_I = NEWN(double, size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:139:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | delta_iI = NEWN(double, size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:141:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | delta_I_delta_Y = NEWN(double, size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:142:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | delta_iI_delta_Y = NEWN(double, size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:146:22: warning: passing arguments to 'sgen_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:146:49: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:154:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | output_names = NEWN(IFuid, num_vars); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:155:22: warning: passing arguments to 'sgen_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:155:49: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | for (sg = sgen_init(ckt, is_dc); sg; sgen_next(&sg)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:158:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 157 | sprintf(namebuf, "%s:%s", | ~~ 158 | sg->instance->GENname, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:163:28: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 163 | sprintf(namebuf, "%s", sg->instance->GENname); | ~~ ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:166:6: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 165 | sprintf(namebuf, "%s_%s", | ~~ 166 | sg->instance->GENname, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:195:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | output_values = NEWN(double, num_vars); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:199:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | output_cvalues = NEWN(IFcomplex, num_vars); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:266:12: warning: call to undeclared function 'CKTunsetup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | error = CKTunsetup(ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:310:22: warning: passing arguments to 'sgen_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | for (sg = sgen_init(ckt, is_dc /* sen_info->plist */); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:311:17: warning: passing arguments to 'sgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | sg; sgen_next(&sg)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:350:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | (*fn)(delta_Y, sg->model, ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:359:20: warning: passing arguments to 'sens_temp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | (void) sens_temp(sg, ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:364:17: warning: passing arguments to 'sens_load' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (sens_load(sg, ckt, is_dc)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:399:13: warning: passing arguments to 'sens_setp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | sens_setp(sg, ckt, &nvalue); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:403:4: warning: call to undeclared function 'spConstMult'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | spConstMult(delta_Y, -1.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:420:20: warning: passing arguments to 'sens_temp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | (void) sens_temp(sg, ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:433:13: warning: passing arguments to 'sens_load' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | sens_load(sg, ckt, is_dc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:449:13: warning: passing arguments to 'sens_setp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | sens_setp(sg, ckt, &value); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:450:20: warning: passing arguments to 'sens_temp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | (void) sens_temp(sg, ckt); /* XXX is this necessary? */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:553:3: warning: call to undeclared function 'OUTpData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 553 | OUTpData(sen_data, &value, &nvalue); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:554:18: warning: passing arguments to 'inc_freq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | freq = inc_freq(freq, sen_info->step_type, step_size); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | sens_sens(ckt, restart) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sensdefs.h:71:8: 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 | extern sens_sens( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | inc_freq(freq, type, step_size) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:48:16: 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] 48 | extern double inc_freq( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | next_freq(type, freq, stepsize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | count_steps(type, low, high, steps, stepsize) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:692:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | error = (*fn)(sg->model, ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | sens_load(sg, ckt, is_dc) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:29: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] 29 | static int sens_setp( ), sens_load( ), sens_temp( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:712:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | error = (*fn)(sg->model, ckt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | sens_temp(sg, ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:29: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] 29 | static int sens_setp( ), sens_load( ), sens_temp( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:735:17: 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] 735 | error = (*fn)(ckt, sg->instance, pid, val, NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:742:17: 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] 742 | error = (*fn)(ckt, sg->model, pid, val, NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:751:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 749 | printf("GET ERROR: %s:%s:%s -> param %s (%d)\n", | ~~ 750 | DEVices[sg->dev]->DEVpublic.name, 751 | sg->model->GENmodName, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:752:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 749 | printf("GET ERROR: %s:%s:%s -> param %s (%d)\n", | ~~ 750 | DEVices[sg->dev]->DEVpublic.name, 751 | sg->model->GENmodName, 752 | sg->instance->GENname, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:757:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 755 | printf("GET ERROR: %s:%s:%s -> mparam %s (%d)\n", | ~~ 756 | DEVices[sg->dev]->DEVpublic.name, 757 | sg->model->GENmodName, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:758:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 755 | printf("GET ERROR: %s:%s:%s -> mparam %s (%d)\n", | ~~ 756 | DEVices[sg->dev]->DEVpublic.name, 757 | sg->model->GENmodName, 758 | sg->instance->GENname, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | sens_getp(sg, ckt, val) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:30:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | int sens_getp( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:781:17: 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] 781 | error = (*fn)(pid, val, sg->instance, NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:788:17: 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] 788 | error = (*fn)(pid, val, sg->model); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:797:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 795 | printf("SET ERROR: %s:%s:%s -> param %s (%d)\n", | ~~ 796 | DEVices[sg->dev]->DEVpublic.name, 797 | sg->model->GENmodName, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:798:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 795 | printf("SET ERROR: %s:%s:%s -> param %s (%d)\n", | ~~ 796 | DEVices[sg->dev]->DEVpublic.name, 797 | sg->model->GENmodName, 798 | sg->instance->GENname, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:803:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 801 | printf("SET ERROR: %s:%s:%s -> mparam %s (%d)\n", | ~~ 802 | DEVices[sg->dev]->DEVpublic.name, 803 | sg->model->GENmodName, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:804:5: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 801 | printf("SET ERROR: %s:%s:%s -> mparam %s (%d)\n", | ~~ 802 | DEVices[sg->dev]->DEVpublic.name, 803 | sg->model->GENmodName, 804 | sg->instance->GENname, | ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | sens_setp(sg, ckt, val) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ckt//cktsens.c:29: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] 29 | static int sens_setp( ), sens_load( ), sens_temp( ); | ^ 62 warnings generated. `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/ckt Making "all" in cp cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:35:20: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | realw = wl_copy(cp_lastone->hi_wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:47:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | wl_free(cp_lastone->hi_wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:48:39: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | cp_lastone->hi_wlist = wl_copy(comm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:50:25: warning: passing arguments to 'asubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | nwl = asubst(comm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:55:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | wl_free(comm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:59:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | wl_free(comm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:84:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | wl_free(cp_lastone->hi_wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | cp_doalias(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:21: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] 21 | extern wordlist *cp_doalias(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:112:30: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | wl = cp_histsubst(wl_copy(al->al_text)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:112:22: warning: passing arguments to 'cp_histsubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | wl = cp_histsubst(wl_copy(al->al_text)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:116:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | wl_free(cp_lastone->hi_wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:117:39: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | cp_lastone->hi_wlist = wl_copy(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:121:29: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | w->wl_next = wl_copy(wlist->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | asubst(wlist) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:14: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] 14 | static wordlist *asubst(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:137:15: warning: passing arguments to 'cp_unalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | cp_unalias(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:138:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | cp_addkword(CT_ALIASES, word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:141:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | al = cp_aliases = alloc(struct alias); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:155:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | al->al_next = alloc(struct alias); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:161:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | cp_aliases = alloc(struct alias); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:168:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | al->al_name = copy(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:169:26: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | al->al_text = wl_copy(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:170:17: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | cp_striplist(al->al_text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:175:15: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | cp_addcomm(word, (long) 1, (long) 1, (long) 1, (long) 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | cp_setalias(word, wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern void cp_setalias(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:188:16: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | cp_remkword(CT_ALIASES, word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:202:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | wl_free(al->al_text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:203:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | tfree(al->al_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:204:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | tfree(al); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:205:15: warning: passing arguments to 'cp_remcomm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | cp_remcomm(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | cp_unalias(word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:20: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] 20 | extern void cp_unalias(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:219:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | wl_print(al->al_text, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | cp_paliases(word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void cp_paliases(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | com_alias(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:16: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] 16 | extern void com_alias(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:249:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | wl_free(al->al_text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:250:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | tfree(al->al_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:251:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | tfree(al); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | com_unalias(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//alias.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:17: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] 17 | extern void com_unalias(); | ^ 47 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:49:29: warning: passing arguments to 'backeval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (!(nwl = backeval(buf))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:57:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | tfree(nwl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:59:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | nwl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:61:23: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | wl = wl_splice(wl, nwl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:65:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | tfree(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:66:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | cp_bquote(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:26: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] 26 | extern wordlist *cp_bquote(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:88: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 previous declaration [-Wdeprecated-non-prototype] 88 | extern FILE *popen( ); | ^ /usr/include/stdio.h:334:7: note: conflicting prototype is here 334 | FILE *popen(const char *, const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:100:18: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | wl = cp_lexer((char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | backeval(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//backq.c:16: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] 16 | static wordlist *backeval(); | ^ 15 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:99:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | buf = cp_unquote(copy(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:99:21: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | buf = cp_unquote(copy(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:100:14: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | cp_wstrip(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:102:21: warning: passing arguments to 'getccom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | cc = getccom(wlist->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:105:24: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | arg = wl_length(wlist) - 2; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:110:31: warning: passing arguments to 'ccfilec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | pmatches = ccfilec(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:121:28: warning: passing arguments to 'ccmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | a = ccmatch(buf, &keywords[j]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:124:41: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | pmatches = wl_append(pmatches, a); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:129:16: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | wl_sort(pmatches); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:131:27: warning: passing arguments to 'ccmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | pmatches = ccmatch(buf, &commands); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:135:16: warning: passing arguments to 'printem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | printem(pmatches); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:136:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | wl_free(pmatches); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:166:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | wl_free(pmatches); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | cp_ccom(wlist, buf, esc) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:35: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] 35 | extern void cp_ccom(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:198:20: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | return (clookup(first, &commands, false, false)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | getccom(first) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:60:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | static struct ccom *getccom(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:213:15: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | buf = copy(buf); /* Don't mangle anything... */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:221:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 221 | while (pw = getpwent()) { | ~~~^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:221:23: note: place parentheses around the assignment to silence this warning 221 | while (pw = getpwent()) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:221:23: note: use '==' to turn this assignment into an equality comparison 221 | while (pw = getpwent()) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:222:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (prefix(buf, pw->pw_name)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:224:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:229:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:234:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | wl->wl_word = copy(pw->pw_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:245:32: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | dir = cp_tildexpand(dir); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:252:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 252 | while (de = readdir(wdir)) | ~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:252:15: note: place parentheses around the assignment to silence this warning 252 | while (de = readdir(wdir)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:252:15: note: use '==' to turn this assignment into an equality comparison 252 | while (de = readdir(wdir)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:253:20: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | if ((prefix(lcomp, de->d_name)) && (*lcomp || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:256:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:261:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:266:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | wl->wl_word = copy(de->d_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:270:12: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | wl_sort(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | ccfilec(buf) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:55: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] 55 | static wordlist *ccfilec(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:287:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | cc = clookup(word, dbase, true, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:290:24: warning: passing arguments to 'cctowl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | wl = cctowl(cc, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:292:24: warning: passing arguments to 'cctowl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | wl = cctowl(cc, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | ccmatch(word, dbase) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:56: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] 56 | static wordlist *ccmatch(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:313:20: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | num = wl_length(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:330:35: warning: passing arguments to 'wl_nthelem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | wl_nthelem(j, wl)->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | printem(wl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:61: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] 61 | static void printem(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:360:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:361:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | wl->wl_word = copy(cc->cc_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | cctowl(cc, sib) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:57: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] 57 | static wordlist *cctowl(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | cp_cctowl(stuff) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:40: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] 40 | extern wordlist *cp_cctowl(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | cp_ccon(on) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:36: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] 36 | extern void cp_ccon(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:474:33: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | if (word && *word && clookup(word, &commands, false, false)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | cp_comlook(word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:31: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] 31 | extern bool cp_comlook(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:489:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | cc = clookup(word, &commands, false, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | cp_addcomm(word, bits0, bits1, bits2, bits3) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:33: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] 33 | extern void cp_addcomm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:506:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | cc = clookup(word, &commands, false, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:508:16: warning: passing arguments to 'cdelete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | cdelete(cc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | cp_remcomm(word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:38: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] 38 | extern void cp_remcomm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:526:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | word = copy(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:527:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | cc = clookup(word, &keywords[class], false, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | cp_addkword(class, word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:34: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] 34 | extern void cp_addkword(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:535:13: warning: parameter 'class' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | cp_remkword(class, word) | ^ 536 | char *word; 537 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:545:17: warning: passing arguments to 'clookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | cc = clookup(word, &keywords[class], false, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:547:16: warning: passing arguments to 'cdelete' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | cdelete(cc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | cp_remkword(class, word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:39: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] 39 | extern void cp_remkword(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | cp_kwswitch(class, tree) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:32: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] 32 | extern char *cp_kwswitch(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | cp_ccrestart(kwords) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:37: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] 37 | extern void cp_ccrestart(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:592:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | tfree(dbase); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | throwaway(dbase) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:62: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] 62 | static void throwaway(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:621:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | *dd = place = alloc(struct ccom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:625:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | place->cc_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:639:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | place->cc_sibling = alloc(struct ccom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:644:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | place->cc_name = tmalloc(ind + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:655:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | tmpc = alloc(struct ccom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:668:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | place->cc_name = tmalloc(ind + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:686:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | tmpc = alloc(struct ccom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:691:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | place->cc_name = tmalloc(ind + 3); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | clookup(word, dd, pref, create) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:59:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static struct ccom *clookup(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:716:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | cdelete(node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//complete.c:58: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] 58 | static void cdelete(); | ^ 91 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:78:21: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | wlist = cp_lexer(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:86:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | pwlist(wlist, "Initial parse"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:88:25: warning: passing arguments to 'cp_histsubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | wlist = cp_histsubst(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:91:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | pwlist(wlist, "After history substitution"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:93:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | wl_print(wlist, stdout); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:99:22: warning: passing arguments to 'cp_addhistent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | cp_addhistent(cp_event - 1, wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:101:23: warning: passing arguments to 'cp_doalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | wlist = cp_doalias(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:102:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | pwlist(wlist, "After alias substitution"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:111:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | pwlist(wlist, "Returning "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp_parse(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:61: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] 61 | extern wordlist *cp_parse(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | pwlist(wlist, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:53: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] 53 | static void pwlist(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:145:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | fputs(cp_unquote(wlist->wl_word), cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | com_echo(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:55: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] 55 | extern void com_echo(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:187:41: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | tmpfp = fopen(cp_unquote(w->wl_word), "r"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:205:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | wl_free(bt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:244:27: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | s = cp_unquote(w->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:245:43: warning: passing arguments to 'fileexists' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (cp_noclobber && fileexists(s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:271:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | wl_free(bt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:279:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | error: wl_free(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | cp_redirect(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:60: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] 60 | extern wordlist *cp_redirect(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:320:9: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 320 | if (access(name, 0) == 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | fileexists(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:51: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] 51 | static bool fileexists(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:346:16: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | cp_ccon(false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:351:15: warning: call to undeclared library function 'vfork' with type 'int (void)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | pid = vfork(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:351:15: note: include the header or explicitly provide a declaration for 'vfork' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:355:10: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | (void) execl(shell, shell, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:356:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 356 | _exit(99); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:356:3: note: include the header or explicitly provide a declaration for '_exit' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:358:19: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | com = wl_flatten(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:359:10: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 359 | (void) execl("/bin/sh", "sh", "-c", com, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:368:21: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 368 | r = wait((union wait *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | com_shell(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:58: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] 58 | extern void com_shell(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:405:16: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | (void) dup2(fileno(cp_in), fileno(stdin)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:426:18: warning: passing arguments to 'cp_rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | cp_rehash(s, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | com_rehash(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:57: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] 57 | extern void com_rehash(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:439: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 previous declaration [-Wdeprecated-non-prototype] 439 | extern struct passwd *getpwuid( ); | ^ /usr/include/pwd.h:148:16: note: conflicting prototype is here 148 | struct passwd *getpwuid(uid_t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:453:20: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | pw = getpwuid(getuid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:462:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | s = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:475:15: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | if (*s && chdir(s) == -1) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:479:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | tfree(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:482:13: warning: call to undeclared function 'getcwd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 482 | if (s = getcwd(localbuf, sizeof(localbuf))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:482:11: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 482 | if (s = getcwd(localbuf, sizeof(localbuf))) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:482:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 482 | if (s = getcwd(localbuf, sizeof(localbuf))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:482:11: note: place parentheses around the assignment to silence this warning 482 | if (s = getcwd(localbuf, sizeof(localbuf))) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:482:11: note: use '==' to turn this assignment into an equality comparison 482 | if (s = getcwd(localbuf, sizeof(localbuf))) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | com_chdir(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:54: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] 54 | extern void com_chdir(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:514:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | s1 = cp_unquote(wl->wl_next->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:515:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | s2 = cp_unquote(wl->wl_next->wl_next->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:519:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | cp_vset(var, VT_NUM, (char *) &i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | com_strcmp(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//cshpar.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:56: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] 56 | extern void com_strcmp(); | ^ 58 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:113:27: warning: passing arguments to 'getcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | wlist = getcommand(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:145:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | cend[stackp]->co_next = alloc(struct control); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:152:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | control[stackp] = cend[stackp] = alloc(struct control); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:163:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | newblock; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:171:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | newblock; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:180:42: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | cp_doglob(wl_copy(wlist)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:180:34: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | cp_doglob(wl_copy(wlist)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:179:51: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | wlist = cp_variablesubst(cp_bquote( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:179:41: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | wlist = cp_variablesubst(cp_bquote( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:183:33: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | dd = ft_numparse(&s, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:196:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | newblock; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:204:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | newblock; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:210:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | copy(wlist->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:215:30: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | wlist = cp_doglob(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:216:44: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | cend[stackp]->co_text = wl_copy(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:217:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | newblock; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:106:49: note: expanded from macro 'newblock' 106 | #define newblock cend[stackp]->co_children = alloc(struct control); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:221:48: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | cend[stackp]->co_text = wl_copy(wlist->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:223:28: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | cp_addkword(CT_LABEL, wlist->wl_next->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:236:48: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | cend[stackp]->co_text = wl_copy(wlist->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:245:52: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | cend[stackp]->co_numtimes = scannum(wlist-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:256:52: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | cend[stackp]->co_numtimes = scannum(wlist-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:273:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | tfree(x); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:278:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | tfree(x); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:306:28: warning: passing arguments to 'doblock' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | i = doblock(x, &nn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:319:38: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | x = findlabel(i, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | cp_evloop(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:68: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] 68 | extern int cp_evloop(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:362:40: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | while (bl->co_cond && cp_istrue(bl->co_cond)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:389:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | cn = findlabel(i, bl->co_children); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:425:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | cn = findlabel(i, bl->co_children); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:430:42: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | } while (bl->co_cond && cp_istrue(bl->co_cond)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:464:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | cn = findlabel(i, bl->co_children); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:473:37: warning: passing arguments to 'cp_istrue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (bl->co_cond && cp_istrue(bl->co_cond)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:478:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | cn = findlabel(i, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:492:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | cn = findlabel(i, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:505:63: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:505:55: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:505:45: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:505:35: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | for (wl = cp_variablesubst(cp_bquote(cp_doglob(wl_copy(bl-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:507:20: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | cp_vset(bl->co_foreachvar, VT_STRING, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:535:35: warning: passing arguments to 'findlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | cn = findlabel(i, bl->co_children); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:565:24: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | wl_copy(bl->co_text)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:564:50: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | wl = cp_variablesubst(cp_bquote(cp_doglob( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:564:40: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | wl = cp_variablesubst(cp_bquote(cp_doglob( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:564:30: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | wl = cp_variablesubst(cp_bquote(cp_doglob( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:573:26: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | docommand(wl_copy(bl->co_text)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:573:18: warning: passing arguments to 'docommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | docommand(wl_copy(bl->co_text)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | doblock(bl, num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:15: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] 15 | static char *doblock(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | findlabel(s, ct) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:18: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] 18 | static struct control *findlabel(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:613:23: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | (void) cp_kwswitch(CT_LABEL, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:676:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | wl_print(wlist, stdout); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:683:29: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | wlist = cp_variablesubst(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:684:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | pwlist(wlist, "After variable substitution"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:686:22: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | wlist = cp_bquote(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:687:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | pwlist(wlist, "After backquote substitution"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:689:22: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | wlist = cp_doglob(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:690:11: warning: passing arguments to 'pwlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | pwlist(wlist, "After globbing"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:720:38: warning: passing arguments to 'cp_redirect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | if (!(wlist = cp_redirect(wlist))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:727:21: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | cp_striplist(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:743:46: warning: passing arguments to 'cp_oddcomm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | if (!cp_coms[i].co_func && cp_oddcomm(s, wlist->wl_next)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:748:43: warning: passing arguments to 'cp_unixcom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | if (cp_dounixcom && cp_unixcom(wlist)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:768:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | lcom = wl_flatten(wlist->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:769: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] 769 | (*command->co_func) (lcom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:773:38: 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] 773 | (*command->co_argfn) (wlist->wl_next, command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:780:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | (*command->co_func) (wlist->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:792:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | wl_free(rwlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | docommand(wlist) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:16: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] 16 | static void docommand(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:832:21: warning: passing arguments to 'cp_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | wlist = cp_parse(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:836:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | wl_print(wlist, stdout); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | getcommand(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:19: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] 19 | static wordlist *getcommand(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | pwlist(wlist, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:20: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] 20 | static void pwlist(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:871:15: warning: passing arguments to 'dodump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | dodump(c); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | com_cdump(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:69: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] 69 | extern void com_cdump(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:891:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | wl_print(cc->co_text, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:897:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | wl_print(cc->co_cond, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:923:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | wl_print(cc->co_cond, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:935:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | wl_print(cc->co_cond, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:947:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | wl_print(cc->co_text, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | dodump(cc) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//front.c:17: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] 17 | static void dodump(); | ^ 89 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:66:23: warning: passing arguments to 'bracexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | w = bracexpand(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:71:24: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | nwl = wl_splice(wl, w); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:81:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | s = cp_tildexpand(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:97:20: warning: passing arguments to 'noglobs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (noglobs(wl->wl_word)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:99:23: warning: passing arguments to 'globexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | w = globexpand(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:102:24: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | nwl = wl_splice(wl, w); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | cp_doglob(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:87: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] 87 | extern wordlist *cp_doglob(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:119:15: warning: passing arguments to 'brac1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | wl = brac1(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:124:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | w->wl_word = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:125:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | tfree(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | bracexpand(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:37: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] 37 | static wordlist *bracexpand(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:143:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | words = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:144:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | words->wl_word = tmalloc(BSIZE_SP); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:150:24: warning: passing arguments to 'brac2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | nwl = brac2(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:169:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | nw = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:172:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | nw->wl_word = tmalloc(BSIZE_SP); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:175:38: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | newwl = wl_append(newwl, nw); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:177:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | wl_free(words); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:181:24: warning: passing arguments to 'appendc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | appendc(wl->wl_word, *s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | brac1(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:35: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] 35 | static wordlist *brac1(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:223:26: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | wlist = wl_append(wlist, nwl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | brac2(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:36: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] 36 | static wordlist *brac2(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:253:20: warning: passing arguments to 'pcanon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | string = pcanon(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:257:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | poss[0] = copy(DIR_PATHSEP); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:259:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | poss[0] = copy(DIR_CWD); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:273:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:274:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | wl->wl_word = copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:284:29: warning: passing arguments to 'cp_globmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if (cp_globmatch(buf, de->d_name)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:294:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | poss[j] = tmalloc(BSIZE_SP); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:299:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | tfree(poss[i]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:304:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:305:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | wl->wl_word = copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:350:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:353:34: warning: passing arguments to 'pcanon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | wl->wl_word = copy(pcanon(poss[i])); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:353:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | wl->wl_word = copy(pcanon(poss[i])); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:354:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 354 | if (((int) poss[i]) % 2) | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:356:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | tfree(poss[i]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:369:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | tfree(poss[i]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | globexpand(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:38: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] 38 | static wordlist *globexpand(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:389:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | s = p = tmalloc(strlen(string) + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | pcanon(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:40: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] 40 | static char *pcanon(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | sortcmp(s1, s2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:41: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] 41 | static int sortcmp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:441:26: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | result = tilde_expand(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:445:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | return copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | cp_tildexpand(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:78: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] 78 | extern char *cp_tildexpand(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:488:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 488 | while (bc = *p++) { | ~~~^~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:488:23: note: place parentheses around the assignment to silence this warning 488 | while (bc = *p++) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:488:23: note: use '==' to turn this assignment into an equality comparison 488 | while (bc = *p++) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | cp_globmatch(p, s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:77: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] 77 | extern bool cp_globmatch(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | noglobs(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//glob.c:39: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] 39 | static bool noglobs(); | ^ 61 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:52:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | tfree(wlist->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:53:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | wlist->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:60:29: warning: passing arguments to 'dohsubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | n = dohsubst(s + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:66:44: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 66 | (void) sprintf(buf, "%.*s%s", s - b, b, | ~~^~ ~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:68:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | tfree(n->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:69:38: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | n->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:71:32: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | nwl = wl_splice(w, n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | cp_histsubst(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:99: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] 99 | extern wordlist *cp_histsubst(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:105:45: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | wl = getevent(cp_event - scannum(++string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:105:26: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | wl = getevent(cp_event - scannum(++string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:114:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 114 | if (s = index(buf, '?')) | ~~^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:114:19: note: place parentheses around the assignment to silence this warning 114 | if (s = index(buf, '?')) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:114:19: note: use '==' to turn this assignment into an equality comparison 114 | if (s = index(buf, '?')) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:116:26: warning: passing arguments to 'hpattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | wl = hpattern(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:120:32: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | return (wl_copy(wl)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:124:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:125:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | wl->wl_word = copy("!"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:133:38: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | wl = getevent(scannum(string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:133:30: warning: passing arguments to 'getevent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | wl = getevent(scannum(string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:155:33: warning: passing arguments to 'hprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | wl = hprefix(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:165:34: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | nwl = dohmod(&string, wl_copy(wl)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:165:17: warning: passing arguments to 'dohmod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | nwl = dohmod(&string, wl_copy(wl)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:172:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | tfree(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:173:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | dohsubst(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:17: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] 17 | static wordlist *dohsubst(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:190:25: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | numwords = wl_length(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:222:34: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | eventhi = scannum(*string + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:231:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | wl_print(wl, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:236:25: warning: passing arguments to 'dohs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | s = dohs(*string + 1, w->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:238:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | tfree(w->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:257:24: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | i = scannum(*string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:272:38: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | eventhi = scannum(++*string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:271:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 271 | else { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:281:18: warning: passing arguments to 'wl_range' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | wl = wl_range(wl, eventlo, eventhi); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:282:25: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | numwords = wl_length(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | dohmod(string, wl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:16: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] 16 | static wordlist *dohmod(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:303:26: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if (substring(buf, wl->wl_word)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | hpattern(buf) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:19: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] 19 | static wordlist *hpattern(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:320:35: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (hi->hi_wlist && prefix(buf, hi->hi_wlist->wl_word)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | hprefix(buf) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:20: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] 20 | static wordlist *hprefix(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:332:15: warning: parameter 'event' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 332 | cp_addhistent(event, wlist) | ^ 333 | wordlist *wlist; 334 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:338:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | cp_lastone = histlist = alloc(struct histent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:341:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | cp_lastone->hi_next = alloc(struct histent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:347:35: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | cp_lastone->hi_wlist = wl_copy(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:348:13: warning: passing arguments to 'freehist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | freehist(histlength - cp_maxhistlength); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | cp_addhistent(event, wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:97: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] 97 | extern void cp_addhistent(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:358:10: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | getevent(num) | ^ 359 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:369:20: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | return (wl_copy(hi->hi_wlist)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | getevent(num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:18: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] 18 | static wordlist *getevent(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:377:20: warning: parameter 'eventlo' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 377 | cp_hprint(eventhi, eventlo, rev) | ^ 378 | bool rev; 379 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:377:11: warning: parameter 'eventhi' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 377 | cp_hprint(eventhi, eventlo, rev) | ^ 378 | bool rev; 379 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:390:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | wl_print(hi->hi_wlist, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:399:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | wl_print(hi->hi_wlist, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | cp_hprint(eventhi, eventlo, rev) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:98: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] 98 | extern void cp_hprint(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:411:10: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 411 | freehist(num) | ^ 412 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:427:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | wl_free(hi->hi_wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:429:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | tfree(hi->hi_prev); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:431:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | wl_free(hi->hi_wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:432:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | tfree(hi); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | freehist(num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:15: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] 15 | static void freehist(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:446:15: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | pat = copy(pat); /* Don't want to mangle anything. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:459:37: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if ((*str == *pat) && prefix(pat, str) && (ok == false)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:469:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | return (copy(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | dohs(pat, str) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:14: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] 14 | static char *dohs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | com_history(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//history.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:96: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] 96 | extern void com_history(); | ^ 77 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//input.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//input.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//input.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//input.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//input.c:24:36: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | response->reply.ch = inchar(request->fp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//input.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | Input(request, response) | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:86:16: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | cp_ccon(true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:94:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | wlist = cw = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:104:22: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | c = input(cp_inp_cur); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:125:49: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | c = quote(string ? *string++ : input(cp_inp_cur)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:135:31: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | while (((c = input(cp_inp_cur)) != '\n') && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:149:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | newword; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:149:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:156:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | cw->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:159:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | tfree(cw); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:167:26: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | input(cp_inp_cur))) != '\'') | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:183:53: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | while (((c = (string ? *string++ : input(cp_inp_cur))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:190:34: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | input(cp_inp_cur)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:218:24: warning: passing arguments to 'cp_ccom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | cp_ccom(wlist, buf, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:219:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | wl_free(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:248:24: warning: passing arguments to 'cp_ccom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | cp_ccom(wlist, buf, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:249:24: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | wl_free(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:254:3: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | newword; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:254:3: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:263:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | newword; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:263:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:270:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | newword; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:64:35: note: expanded from macro 'newword' 64 | #define newword cw->wl_word = copy(buf); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:270:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:65:23: note: expanded from macro 'newword' 65 | cw->wl_next = alloc(struct wordlist); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp_lexer(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:110: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] 110 | extern wordlist *cp_lexer(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:335:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | i = read((int) fileno(fp), &c, 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | inchar(fp) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:111: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] 111 | extern int inchar(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:358:10: warning: passing arguments to 'Input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | Input(&request, &response); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:349:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | static int input(fp) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//lexical.c:49: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] 49 | static int input(); | ^ 33 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//modify.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//modify.c:10: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//modify.c:10: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//modify.c:22: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 previous declaration [-Wdeprecated-non-prototype] 22 | char *s, *getenv(); | ^ /usr/include/stdlib.h:97:7: note: conflicting prototype is here 97 | char *getenv(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//modify.c:27:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | cp_vset("history", VT_NUM, (char *) &cp_maxhistlength); | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:55:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (cp_getvar("nomoremode", VT_BOOL, (char *) &moremode)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:80:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | (void) cp_getvar("width", VT_NUM, (char *) &xsize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:82:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | (void) cp_getvar("height", VT_NUM, (char *) &ysize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | fbufputc(c) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | out_send(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:128: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] 128 | extern void out_send(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | out_printf(fmt, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:126: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] 126 | extern void out_printf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 237 | term_clear( ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:241:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | tputs(clear_chars, 1, outfn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:247:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 247 | term_home( ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:251:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | tputs(home_chars, 1, outfn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:253:8: warning: call to undeclared function 'tgoto'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | tputs(tgoto(motion_chars, 1, 1), 1, outfn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | term_cleol( ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:263:2: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | tputs(cleol_chars, 1, outfn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | outfn(c) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:36: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] 36 | static int outfn( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:275:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 275 | tcap_init( ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:287:6: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | if (tgetent(tbuf, s) != -1) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:288:14: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | xsize = tgetnum("co"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:292:29: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | clear_chars = (char *) tgetstr("cl", &charbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:292:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 292 | clear_chars = (char *) tgetstr("cl", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:293:21: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 293 | motion_chars = (char *) tgetstr("cm", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:294:19: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 294 | home_chars = (char *) tgetstr("ho", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//output.c:295:20: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 295 | cleol_chars = (char *) tgetstr("ce", &charbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 28 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:26:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 26 | while (c = *str) { | ~~^~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:26:11: note: place parentheses around the assignment to silence this warning 26 | while (c = *str) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:26:11: note: use '==' to turn this assignment into an equality comparison 26 | while (c = *str) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | cp_wstrip(str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:135: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] 135 | extern void cp_wstrip(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | cp_quoteword(str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:133: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] 133 | extern void cp_quoteword(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | cp_printword(string, fp) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:56: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] 56 | extern void cp_printword(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | cp_striplist(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:134: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] 134 | extern void cp_striplist(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:86:10: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | s = copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | cp_unquote(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//quote.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:132: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] 132 | extern char *cp_unquote(); | ^ 15 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//spawn.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//std.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//std.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//std.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:77:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | tfree(hh); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:106:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | curpath = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:109:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 109 | while (entry = readdir(pdir)) { | ~~~~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:109:22: note: place parentheses around the assignment to silence this warning 109 | while (entry = readdir(pdir)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:109:22: note: use '==' to turn this assignment into an equality comparison 109 | while (entry = readdir(pdir)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:117:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | hh = alloc(struct hashent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:118:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | hh->h_name = copy(entry->d_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:120:21: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | i = hash(entry->d_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:133:27: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | cp_addcomm(entry->d_name, (long) 0, (long) 0, (long) 0, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | cp_rehash(pathlist, docc) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:147: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] 147 | extern void cp_rehash(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:157:20: warning: passing arguments to 'wl_mkvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | argv = wl_mkvec(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:160:17: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | wl_print(wl, stdout); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:164:24: warning: passing arguments to 'tryexec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | return (tryexec(name, argv)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:165:13: warning: passing arguments to 'hash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | i = hash(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:169:24: warning: passing arguments to 'tryexec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (tryexec(buf, argv)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | cp_unixcom(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:145: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] 145 | extern bool cp_unixcom(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:191:2: warning: call to undeclared function 'fixdescriptors'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | fixdescriptors(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | tryexec(name, argv) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:38: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] 38 | static bool tryexec(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | hash(str) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//unixcom.c:40: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] 40 | static int hash(); | ^ 24 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:45:42: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | (void) strcpy(buf, cp_unquote(var->va_string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:65:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:67:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | cp_varwl(var) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:9: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:164: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] 164 | extern wordlist *cp_varwl(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:85:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | varname = cp_unquote(varname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:95:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | v = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:96:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | v->va_name = copy(varname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:102:22: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | cp_remvar(varname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:117:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | v->va_string = copy(value); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:149:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | cp_promptstring = copy(v->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:160:26: warning: passing arguments to 'cp_usrset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | switch (i = cp_usrset(v, true)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:216:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | tfree(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | cp_vset(varname, type, value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:9: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:162: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] 162 | extern void cp_vset(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:238:26: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | name = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:242:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:243:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | vv->va_name = copy(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:261:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 261 | } else if (s = index(name, '=')) { | ~~^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:261:22: note: place parentheses around the assignment to silence this warning 261 | } else if (s = index(name, '=')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:261:22: note: use '==' to turn this assignment into an equality comparison 261 | } else if (s = index(name, '=')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:279:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | val = cp_unquote(val); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:293:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:295:32: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | ss = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:296:33: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | td = ft_numparse(&ss, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:302:41: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | vv->va_string = copy(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:316:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:317:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | vv->va_name = copy(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:327:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ss = cp_unquote(val); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:328:25: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | td = ft_numparse(&ss, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:329:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:330:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | vv->va_name = copy(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:339:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | vv->va_string = copy(val); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | cp_setparse(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:9: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:165: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] 165 | extern struct variable *cp_setparse(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:360:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | v = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:384:26: warning: passing arguments to 'cp_usrset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | switch (i = cp_usrset(v, false)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:400:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 400 | "cp_remvar: Internal Error: var %d\n", varname); | ~~ ^~~~~~~ | %s /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:409:48: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 409 | "cp_remvar: Internal Error: var %d\n", varname); | ~~ ^~~~~~~ | %s /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:426:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | tfree(u); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:436:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | tfree(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | cp_remvar(varname) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//variable.c:9: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:160: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] 160 | extern void cp_remvar(); | ^ 44 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:52:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 52 | while(s = index(t, cp_dol)) { | ~~^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:52:17: note: place parentheses around the assignment to silence this warning 52 | while(s = index(t, cp_dol)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:52:17: note: use '==' to turn this assignment into an equality comparison 52 | while(s = index(t, cp_dol)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:66:26: warning: passing arguments to 'vareval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | nwl = vareval(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:71:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | tfree(nwl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:73:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | nwl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:76:36: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | nwl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:78:33: warning: passing arguments to 'wl_splice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if (!(wl = wl_splice(wl, nwl))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:86:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | tfree(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:87:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | cp_variablesubst(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:163: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] 163 | extern wordlist *cp_variablesubst(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:106:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | char *oldstring = copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:110:14: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | cp_wstrip(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:111:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 111 | if (s = index(string, '[')) { | ~~^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:111:11: note: place parentheses around the assignment to silence this warning 111 | if (s = index(string, '[')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:111:11: note: use '==' to turn this assignment into an equality comparison 111 | if (s = index(string, '[')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:119:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:122:35: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | (void) sprintf(buf, "%d", getpid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:126:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:138:22: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | wl = cp_lexer(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:141:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | wl->wl_word = copy(""); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:145:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:152:26: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | v = cp_enqvar(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:153:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | wl->wl_word = copy(v ? "1" : "0"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:157:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:164:26: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | v = cp_enqvar(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:176:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:180:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:182:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | wl->wl_word = copy("$"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:202:22: warning: passing arguments to 'cp_enqvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | v = cp_enqvar(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:205:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:207:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | wl->wl_word = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:214:18: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | wl = cp_varwl(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:224:27: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | up = wl_length(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:228:22: warning: passing arguments to 'wl_range' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | wl = wl_range(wl, low, up); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | vareval(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:168:11: 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] 168 | wordlist *vareval(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:251:15: warning: passing arguments to 'cp_usrvars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | cp_usrvars(&uv1, &uv2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:260:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | vars = (struct xxx *) tmalloc(sizeof (struct xxx) * i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:285:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:287:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | out_printf("%c %s\t", vars[j].x_char, v->va_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:289:27: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | s = wl_flatten(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:291:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | out_printf("( %s )\n", s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:293:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | out_printf("%s\n", s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:297:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | tfree(vars); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:307:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 307 | if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:307:11: note: place parentheses around the assignment to silence this warning 307 | if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:307:11: note: use '==' to turn this assignment into an equality comparison 307 | if (i = strcmp(v1->x_v->va_name, v2->x_v->va_name)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | vcmp(v1, v2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:16: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] 16 | static int vcmp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:330:23: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | vars = cp_setparse(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:351:16: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | cp_vset(vars->va_name, vars->va_type, s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | com_set(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:157: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] 157 | extern void com_set(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:367:22: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | cp_remvar(var->va_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:373:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | cp_remvar(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | com_unset(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:158: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] 158 | extern void com_unset(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:396:22: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | num = scannum(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | com_shift(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:159: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] 159 | extern void com_shift(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:458:31: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | s = cp_unquote(v->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:459:26: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | cp_wstrip(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | cp_getvar(name, type, retval) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//var2.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:151: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] 151 | extern bool cp_getvar(); | ^ 63 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | wl_length(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:62: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] 62 | extern int wl_length(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:41:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | tfree(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:42:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | tfree(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | wl_free(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:63: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] 63 | extern void wl_free(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:57:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | nwl = w = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:61:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | w->wl_next = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:66:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | w->wl_word = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | wl_copy(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:68: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] 68 | extern wordlist *wl_copy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:90:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | tfree(elt->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:91:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | tfree(elt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | wl_splice(elt, list) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:72: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] 72 | extern wordlist *wl_splice(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:105:21: warning: passing arguments to 'cp_printword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | cp_printword(wl->wl_word, fp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | wl_print(wlist, fp) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:64: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] 64 | extern void wl_print(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:121:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | cwl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:129:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | cwl->wl_word = copy(*v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | wl_build(v) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:67: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] 67 | extern wordlist *wl_build(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:144:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | v = (char **) tmalloc((len + 1) * sizeof (char **)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:146:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | v[i] = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | wl_mkvec(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:60: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] 60 | extern char **wl_mkvec(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | wl_append(wlist, nwl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:66: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] 66 | extern wordlist *wl_append(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | wl_reverse(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:71: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] 71 | extern wordlist *wl_reverse(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:200:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | buf = tmalloc(i + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | wl_flatten(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:61: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] 61 | extern char *wl_flatten(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | wl_nthelem(i, wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:70: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] 70 | extern wordlist *wl_nthelem(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:240:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | stuff = (char **) tmalloc(i * sizeof (char *)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:246:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | tfree(stuff); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | wl_sort(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.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 | extern void wl_sort(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | wlcomp(s, t) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:15: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] 15 | static int wlcomp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:277:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | tfree(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:278:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | tfree(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | wl_range(wl, low, up) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//wlist.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:69: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] 69 | extern wordlist *wl_range(); | ^ 48 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//numparse.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//numparse.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//numparse.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//numparse.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | pow10(num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//numparse.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | ft_numparse(s, whole) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/cp//numparse.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:317:16: 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] 317 | extern double *ft_numparse(); | ^ 6 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp Making "all" in fte cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:61:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | if (!cp_getvar("noasciiplotvalue", VT_BOOL, (char *) &novalue) && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:62:20: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | !vec_eq(xscale, vecs)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:69:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!cp_getvar("width", VT_NUM, (char *) &maxy)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:72:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (!cp_getvar("height", VT_NUM, (char *) &height)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:77:14: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | cp_getvar("nobreak", VT_BOOL, (char *) &nobreakp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:100:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | field = tmalloc((maxy + 1) * (maxx + 1)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:101:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | line1 = tmalloc(maxy + margin + FUDGE + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:102:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | line2 = tmalloc(maxy + margin + FUDGE + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:104:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | values = (double *) tmalloc(maxx * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:239:31: warning: passing arguments to 'ft_findpoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | ypt = ft_findpoint(y, yrange, maxy, 0, ylogscale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:250:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | out_send("-"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:251:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:254:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | out_send(" "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:257:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:258:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:263:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | out_send(" "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:264:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:265:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | out_send("\n\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:267:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | out_send("Legend: "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:276:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | out_printf("%s = %-17s", out_pbuf, v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:278:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | out_send("\n "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:282:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:284:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | out_send("-"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:285:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:287:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | out_printf("%s\n%s\n", line2, line1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:300:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:304:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:310:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:314:18: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:320:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | out_send(&field[i * omaxy]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:322:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:325:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | out_printf("%s\n%s\n\014\n%s\n%s\n", line1, line2, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:330:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | out_printf("%s\n%s\n", line1, line2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:332:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | tfree(field); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:333:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | tfree(line1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:334:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | tfree(line2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:336:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | tfree(values); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | ft_agraf(xlims, ylims, xscale, plot, vecs, xdel, ydel, xlog, ylog, nointerp) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//agraf.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:22: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] 22 | extern void ft_agraf(); | ^ 42 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:36:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | p = (char *) tmalloc(n + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:25:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | char *prompt(fp) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | countargs(wl) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:59:29: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | wlist = cp_variablesubst(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:60:22: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | wlist = cp_bquote(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:61:22: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | wlist = cp_doglob(wlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.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 | wordlist *process(wlist) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | arg_print(wl, command) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:71:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | common("which variable", wl, command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | arg_print(wl, command) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:28: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] 28 | extern int arg_print(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | arg_plot(wl, command) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:80:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | common("which variable", wl, command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | arg_plot(wl, command) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:26: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] 26 | extern int arg_plot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:84:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 84 | arg_load(wl, command) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:89:27: 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] 89 | (*command->co_func) (wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | arg_load(wl, command) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:30: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] 30 | extern int arg_load(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:93:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 93 | arg_let(wl, command) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:98:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | common("which vector", wl, command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | arg_let(wl, command) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:29: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] 29 | extern int arg_let(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:102:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 102 | arg_set(wl, command) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:107:11: warning: passing arguments to 'common' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | common("which variable", wl, command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | arg_set(wl, command) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:31: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] 31 | extern int arg_set(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | arg_display() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:130:20: warning: passing arguments to 'outmenuprompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | outmenuprompt(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:134:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | w = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:140:27: 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] 140 | (*command->co_func) (w); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | common(string, wl, command) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:21: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] 21 | static void common( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | outmenuprompt(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//arg.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void outmenuprompt( ); | ^ 39 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:68:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if (!cp_getvar("spicepath", VT_STRING, spicepath)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:81:25: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | output = smktemp("spout"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:98:18: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | raw = smktemp("raw"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:100:11: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | pid = fork(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:110:16: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | (void) dup2(fileno(stdout), fileno(stderr)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:112:16: warning: call to undeclared function 'execl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | (void) execl(spicepath, spicepath, "-r", raw, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:120:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | p = alloc(struct proc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:122:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | p->pr_name = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:123:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | p->pr_rawfile = copy(raw); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:124:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | p->pr_inpfile = copy(deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:125:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | p->pr_outfile = copy(output); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | com_aspice(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:36: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] 36 | extern void com_aspice(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | com_jobs(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:37: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] 37 | extern void com_jobs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:219:20: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | ft_loadfile(p->pr_rawfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:220:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | (void) unlink(p->pr_rawfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:228:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:266:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | if (!cp_getvar("rhost", VT_STRING, rhost)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:268:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (!cp_getvar("rprogram", VT_STRING, program)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:270:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | if (!cp_getvar("remote_shell", VT_STRING, remote_shell)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:284:9: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | if (pipe(to_serv) < 0) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:297:11: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | pid = fork( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:306:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | close(to_serv[1]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:314:2: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | dup2(to_serv[0], 0); /* stdin */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:318:2: warning: call to undeclared function 'execlp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | execlp(remote_shell, remote_shell, rhost, program, "-s", 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:328:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 328 | close(to_serv[0]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:358:17: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | inp_list(srv_input, ft_curckt->ci_deck, ft_curckt->ci_options, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:369:22: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | outfile = smktemp("rsp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:377:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 377 | while (i = fread(buf, 1, BSIZE_SP, serv)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:377:14: note: place parentheses around the assignment to silence this warning 377 | while (i = fread(buf, 1, BSIZE_SP, serv)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:377:14: note: use '==' to turn this assignment into an equality comparison 377 | while (i = fread(buf, 1, BSIZE_SP, serv)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:394:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 393 | "Error adjusting rawfile: write \"%d\" at %d\n", | ~~ | %ld 394 | num, pos); | ^~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:405:18: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | pl = raw_read(outfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:407:17: warning: passing arguments to 'plot_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | plot_add(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:408:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | (void) unlink(outfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | com_rspice(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//aspice.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:38: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] 38 | extern void com_rspice(); | ^ 39 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:44:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | thisone = d = alloc(struct dbcomm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:46:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | d->db_also = alloc(struct dbcomm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:77:30: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | val = ft_numparse(&s, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:81:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | d->db_nodename1 = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:103:30: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | val = ft_numparse(&s, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:107:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | d->db_nodename2 = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:119:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | cp_addkword(CT_DBNUMS, buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | com_stop(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:53: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] 53 | extern void com_stop(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:135:5: warning: call to undeclared function 'settrace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | settrace(wl, VF_PRINT, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | com_trce(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:55: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] 55 | extern void com_trce(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:155:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | s = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:156:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | d = alloc(struct dbcomm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:163:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | d->db_nodename1 = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | com_iplot(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:50: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] 50 | extern void com_iplot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:190:15: warning: passing arguments to 'com_resume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | com_resume((wordlist *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | com_step(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:52: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] 52 | extern void com_step(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:252:22: warning: passing arguments to 'printcond' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | printcond(d, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:253:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 253 | } else if ((d->db_type == DB_DEADIPLOT)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:253:32: note: remove extraneous parentheses around the comparison to silence this warning 253 | } else if ((d->db_type == DB_DEADIPLOT)) { | ~ ^ ~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:253:32: note: use '=' to turn this equality comparison into an assignment 253 | } else if ((d->db_type == DB_DEADIPLOT)) { | ^~ | = /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | com_sttus(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:54: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] 54 | extern void com_sttus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:279:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | tfree(dd->db_nodename1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:280:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | tfree(dd->db_nodename2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:281:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | dbfree(db) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void dbfree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:332:28: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | cp_remkword(CT_DBNUMS, buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | com_delete(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:49: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] 49 | extern void com_delete(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:378:34: warning: passing arguments to 'satisfied' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | if (satisfied(dt, runplot)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:391:22: warning: passing arguments to 'printcond' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | printcond(d, cp_err); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | ft_bpcheck(runplot, iteration) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:48: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] 48 | extern bool ft_bpcheck(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:411:31: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if ((v1 = vec_fromplot(d->db_nodename1, plot)) == NULL) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:424:31: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if ((v2 = vec_fromplot(d->db_nodename2, plot)) == NULL) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | satisfied(d, plot) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:17: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] 17 | static bool satisfied(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:480:21: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 479 | fprintf(fp, " after %ld", | ~~~ | %d 480 | dt->db_iteration); | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | printcond(d, fp) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static void printcond(); | ^ 46 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | ft_setccirc(name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:64: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] 64 | extern void ft_setccirc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | ft_newcirc(ckt) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.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 | extern void ft_newcirc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | ft_newsubcirc(sckt) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//circuits.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:66: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] 66 | extern void ft_newsubcirc(); | ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | clip_line(pX1,pY1,pX2,pY2,l,b,r,t) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:70: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] 70 | extern bool clip_line(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | clip_to_circle(x1, y1, x2, y2, cx, cy, rad) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//clip.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:71: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] 71 | extern bool clip_to_circle(); | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:40:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | double *d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | cx_mag(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:76: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] 76 | extern char *cx_mag(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:64:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | double *d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | cx_ph(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:77: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] 77 | extern char *cx_ph(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:88:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | complex *c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | cx_j(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:78: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] 78 | extern char *cx_j(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:116:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | double *d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | cx_real(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:79: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] 79 | extern char *cx_real(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:140:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | double *d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | cx_imag(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:80: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] 80 | extern char *cx_imag(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:166:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | double *d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | cx_pos(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:81: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] 81 | extern char *cx_pos(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:190:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | double *d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | cx_db(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:82: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] 82 | extern char *cx_db(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:237:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:240:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | cx_log(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:83: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] 83 | extern char *cx_log(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:288:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:291:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | cx_ln(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.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 | extern char *cx_ln(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:336:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:339:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | cx_exp(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:85: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] 85 | extern char *cx_exp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:376:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:379:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | cx_sqrt(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:86: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] 86 | extern char *cx_sqrt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:461:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:464:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | cx_sin(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.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 | extern char *cx_sin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:498:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:501:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | cx_cos(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath1.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:88: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] 88 | extern char *cx_cos(); | ^ 48 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:40:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:43:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | cx_tan(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:92: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] 92 | extern char *cx_tan(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:85:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cx_atan(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:93: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] 93 | extern char *cx_atan(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:115:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:118:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | cx_norm(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:94: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] 94 | extern char *cx_norm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:163:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:166:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | cx_uminus(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:95: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] 95 | extern char *cx_uminus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:198:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:201:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | cx_rnd(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:96: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] 96 | extern char *cx_rnd(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:241:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | d = alloc_d(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:248:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | c = alloc_c(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | cx_mean(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:97: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] 97 | extern char *cx_mean(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:273:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | d = alloc_d(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | cx_length(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:98: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] 98 | extern char *cx_length(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:302:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | d = alloc_d(len); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | cx_vector(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:99: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] 99 | extern char *cx_vector(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:332:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | d = alloc_d(len); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:343:1: warning: '/*' within block comment [-Wcomment] 343 | /* Calling methods for these functions are: | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | cx_unitvec(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:100: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] 100 | extern char *cx_unitvec(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:351:45: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 351 | cx_plus(data1, data2, datatype1, datatype2, length) | ^ 352 | char *data1, *data2; 353 | short datatype1, datatype2; 354 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:364:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:369:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | cx_plus(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:101: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] 101 | extern char *cx_plus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:393:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 393 | cx_minus(data1, data2, datatype1, datatype2, length) | ^ 394 | char *data1, *data2; 395 | short datatype1, datatype2; 396 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:406:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:411:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | cx_minus(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:102: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] 102 | extern char *cx_minus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:435:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 435 | cx_times(data1, data2, datatype1, datatype2, length) | ^ 436 | char *data1, *data2; 437 | short datatype1, datatype2; 438 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:448:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:453:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | cx_times(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:103: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] 103 | extern char *cx_times(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:479:44: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 479 | cx_mod(data1, data2, datatype1, datatype2, length) | ^ 480 | char *data1, *data2; 481 | short datatype1, datatype2; 482 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:492:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:503:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | cx_mod(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath2.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:104: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] 104 | extern char *cx_mod(); | ^ 56 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:30:47: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | cx_divide(data1, data2, datatype1, datatype2, length) | ^ 31 | char *data1, *data2; 32 | short datatype1, datatype2; 33 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:43:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:50:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | cx_divide(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:108: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] 108 | extern char *cx_divide(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:81:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | cx_comma(data1, data2, datatype1, datatype2, length) | ^ 82 | char *data1, *data2; 83 | short datatype1, datatype2; 84 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:92:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | cx_comma(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:109: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] 109 | extern char *cx_comma(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:116:46: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | cx_power(data1, data2, datatype1, datatype2, length) | ^ 117 | char *data1, *data2; 118 | short datatype1, datatype2; 119 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:129:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:136:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | c = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:158:41: warning: passing arguments to 'cln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | t = cexp(ctimes(&c2, cln(&c1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:158:32: warning: passing arguments to 'ctimes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | t = cexp(ctimes(&c2, cln(&c1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:158:25: warning: passing arguments to 'cexp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | t = cexp(ctimes(&c2, cln(&c1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | cx_power(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:110: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] 110 | extern char *cx_power(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | cexp(c) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:25:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static complex *cexp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | cln(c) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:26:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static complex *cln(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | ctimes(c1, c2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:27:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static complex *ctimes(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:259:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | cx_eq(data1, data2, datatype1, datatype2, length) | ^ 260 | char *data1, *data2; 261 | short datatype1, datatype2; 262 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:271:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | cx_eq(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:111: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] 111 | extern char *cx_eq(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:302:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 302 | cx_gt(data1, data2, datatype1, datatype2, length) | ^ 303 | char *data1, *data2; 304 | short datatype1, datatype2; 305 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:314:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | cx_gt(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:112: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] 112 | extern char *cx_gt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:345:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 345 | cx_lt(data1, data2, datatype1, datatype2, length) | ^ 346 | char *data1, *data2; 347 | short datatype1, datatype2; 348 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:357:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | cx_lt(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:113: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] 113 | extern char *cx_lt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:388:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 388 | cx_ge(data1, data2, datatype1, datatype2, length) | ^ 389 | char *data1, *data2; 390 | short datatype1, datatype2; 391 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:400:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | cx_ge(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:114: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] 114 | extern char *cx_ge(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:431:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 431 | cx_le(data1, data2, datatype1, datatype2, length) | ^ 432 | char *data1, *data2; 433 | short datatype1, datatype2; 434 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:443:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | cx_le(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:115: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] 115 | extern char *cx_le(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:474:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 474 | cx_ne(data1, data2, datatype1, datatype2, length) | ^ 475 | char *data1, *data2; 476 | short datatype1, datatype2; 477 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:486:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | cx_ne(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath3.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:116: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] 116 | extern char *cx_ne(); | ^ 50 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:26:44: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | cx_and(data1, data2, datatype1, datatype2, length) | ^ 27 | char *data1, *data2; 28 | short datatype1, datatype2; 29 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:38:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | cx_and(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:120: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] 120 | extern char *cx_and(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:66:43: warning: parameter 'length' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | cx_or(data1, data2, datatype1, datatype2, length) | ^ 67 | char *data1, *data2; 68 | short datatype1, datatype2; 69 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:78:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | cx_or(data1, data2, datatype1, datatype2, length) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:121: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] 121 | extern char *cx_or(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:118:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | d = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | cx_not(data, type, length, newlength, newtype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:122: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] 122 | extern char *cx_not(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:232:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | d = alloc_d(ns->v_length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:234:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (!cp_getvar("polydegree", VT_NUM, (char *) °ree)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:238:21: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (!ft_interpolate((double *) data + base, d + base, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:242:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | tfree(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | cx_interpolate(data, type, length, newlength, newtype, pl, newpl, grouping) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:123: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] 123 | extern char *cx_interpolate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:275:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if (!cp_getvar("dpolydegree", VT_NUM, (char *) °ree)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:280:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | spare = alloc_d(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:281:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | scratch = alloc_d(n * (n + 1)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:291:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | r_coefs = alloc_d(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:292:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | i_coefs = alloc_d(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:294:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | c_outdata = alloc_c(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:11:45: note: expanded from macro 'alloc_c' 11 | #define alloc_c(len) ((complex *) tmalloc((len) * sizeof (complex))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:295:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | scale = alloc_d(length); /* XXX */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:310:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | if (!ft_polyfit(scale + i + base - degree, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:315:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | ft_polyderiv(r_coefs, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:321:12: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | ft_peval(x, r_coefs, degree - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:327:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (!ft_polyfit(scale + i - degree + base, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:332:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | ft_polyderiv(i_coefs, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:338:12: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | ft_peval(x, i_coefs, degree - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:347:41: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | c_outdata[j + base].cx_real = ft_peval(x, r_coefs, degree - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:349:41: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | c_outdata[j + base].cx_imag = ft_peval(x, i_coefs, degree - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:353:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | tfree(r_coefs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:354:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | tfree(i_coefs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:355:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | tfree(scale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:365:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | coefs = alloc_d(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:367:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | outdata = alloc_d(length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:368:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | scale = alloc_d(length); /* XXX */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftecmath.h:12:44: note: expanded from macro 'alloc_d' 12 | #define alloc_d(len) ((double *) tmalloc((len) * sizeof (double))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:374:18: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | if (!ft_polyfit(scale + i - degree + base, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:379:15: warning: passing arguments to 'ft_polyderiv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | ft_polyderiv(coefs, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:384:35: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | outdata[j + base] = ft_peval(x, coefs, degree - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:391:35: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | outdata[j + base] = ft_peval(x, coefs, degree - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:396:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | tfree(coefs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:397:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | tfree(scale); /* XXX */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | cx_deriv(data, type, length, newlength, newtype, pl, newpl, grouping) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cmath4.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:124: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] 124 | extern char *cx_deriv(); | ^ 49 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:80:25: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | resname = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:81:15: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | vec_remove(resname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:86:32: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (!(pn = ft_getpnames(wl, true))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:90:34: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (!(v = ft_evaluate(pn))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:100:19: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | free_pnode(first_pn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:140:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | data = (double *) tmalloc(sizeof (double) * length * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:143:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | cdata = (complex *) tmalloc(sizeof (complex) * length * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:166:21: warning: passing arguments to 'dimxpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | dimxpand(v, dims, (realflag ? (data + i * blocksize) : | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:220:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (cieq(var, "start")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:222:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:229:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | } else if (cieq(var, "stop")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:231:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:238:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | } else if (cieq(var, "step")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:240:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:247:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | } else if (cieq(var, "center")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:249:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:256:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | } else if (cieq(var, "span")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:258:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:265:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | } else if (cieq(var, "mean")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:267:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:274:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | } else if (cieq(var, "sd")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:276:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:283:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | } else if (cieq(var, "lin")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:285:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:292:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | } else if (cieq(var, "log")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:294:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:301:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | } else if (cieq(var, "dec")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:303:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:310:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | } else if (cieq(var, "gauss")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:312:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:319:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | } else if (cieq(var, "random")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:321:39: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | if (!(td = ft_numparse(&val, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:328:28: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | } else if (cieq(var, "pool")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:376:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | data = (double *) tmalloc(sizeof (double) * (int) lin); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:424:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | result = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:426:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | result->v_name = copy(resname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:436:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | vec_new(result); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:437:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | cp_addkword(CT_VECTOR, result->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | com_compose(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:132: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] 132 | extern void com_compose(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | dimxpand(v, newdims, data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//compose.c:20: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] 20 | static void dimxpand(); | ^ 45 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:54:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | cp_ccon(true); /* So the user can type ahead... */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:62:23: warning: passing arguments to 'cp_addcomm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | cp_addcomm(c->co_comname, c->co_cctypes[0], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:65:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | cp_addkword(CT_COMMANDS, c->co_comname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:69:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | cp_addkword(CT_LISTINGARGS, "deck"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:70:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | cp_addkword(CT_LISTINGARGS, "logical"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:71:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | cp_addkword(CT_LISTINGARGS, "physical"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:72:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | cp_addkword(CT_LISTINGARGS, "expand"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:74:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | cp_addkword(CT_STOPARGS, "when"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:75:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | cp_addkword(CT_STOPARGS, "after"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:78:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | cp_addkword(CT_PLOT, "new"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:80:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | cp_addkword(CT_PLOTKEYWORDS, "xlimit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:81:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | cp_addkword(CT_PLOTKEYWORDS, "ylimit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:82:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | cp_addkword(CT_PLOTKEYWORDS, "vs"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:83:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | cp_addkword(CT_PLOTKEYWORDS, "xindices"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:84:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | cp_addkword(CT_PLOTKEYWORDS, "xcompress"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:85:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | cp_addkword(CT_PLOTKEYWORDS, "xdelta"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:86:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | cp_addkword(CT_PLOTKEYWORDS, "ydelta"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:87:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp_addkword(CT_PLOTKEYWORDS, "lingrid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:88:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | cp_addkword(CT_PLOTKEYWORDS, "loglog"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:89:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | cp_addkword(CT_PLOTKEYWORDS, "linear"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:90:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | cp_addkword(CT_PLOTKEYWORDS, "xlog"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:91:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | cp_addkword(CT_PLOTKEYWORDS, "ylog"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:92:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | cp_addkword(CT_PLOTKEYWORDS, "polar"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:93:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | cp_addkword(CT_PLOTKEYWORDS, "smith"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:94:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | cp_addkword(CT_PLOTKEYWORDS, "smithgrid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:95:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | cp_addkword(CT_PLOTKEYWORDS, "nointerp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:96:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | cp_addkword(CT_PLOTKEYWORDS, "title"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:97:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | cp_addkword(CT_PLOTKEYWORDS, "xlabel"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:98:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | cp_addkword(CT_PLOTKEYWORDS, "ylabel"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:99:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | cp_addkword(CT_PLOTKEYWORDS, "linplot"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:100:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | cp_addkword(CT_PLOTKEYWORDS, "combplot"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:101:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | cp_addkword(CT_PLOTKEYWORDS, "pointplot"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:103:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | cp_addkword(CT_RUSEARGS, "time"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:104:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | cp_addkword(CT_RUSEARGS, "space"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:105:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | cp_addkword(CT_RUSEARGS, "faults"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:106:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | cp_addkword(CT_RUSEARGS, "elapsed"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:107:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | cp_addkword(CT_RUSEARGS, "totiter"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:108:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | cp_addkword(CT_RUSEARGS, "traniter"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:109:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | cp_addkword(CT_RUSEARGS, "tranpoints"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:110:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | cp_addkword(CT_RUSEARGS, "accept"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:111:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | cp_addkword(CT_RUSEARGS, "rejected"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:112:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | cp_addkword(CT_RUSEARGS, "time"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:113:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | cp_addkword(CT_RUSEARGS, "trantime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:114:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | cp_addkword(CT_RUSEARGS, "lutime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:115:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | cp_addkword(CT_RUSEARGS, "solvetime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:116:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | cp_addkword(CT_RUSEARGS, "transolvetime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:117:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | cp_addkword(CT_RUSEARGS, "loadtime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:118:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | cp_addkword(CT_RUSEARGS, "all"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:120:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | cp_addkword(CT_VECTOR, "all"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:123:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | cp_addkword(CT_VARIABLES, *x); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:125:35: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (!(s = ft_typenames(i))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:127:24: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | cp_addkword(CT_TYPENAMES, s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:131:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | cp_vset("program", VT_STRING, cp_program); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:151:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | cp_vset("prompt", VT_STRING, buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:152:12: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | cp_vset("noglob", VT_BOOL, (char *) &t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:163:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | cp_setalias("begin", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:166:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | cp_setalias("endif", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:167:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | cp_setalias("endwhile", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:168:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | cp_setalias("endforeach", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:169:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | cp_setalias("endrepeat", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:170:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | cp_setalias("enddowhile", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:172:16: warning: passing arguments to 'cp_setalias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | cp_setalias("?", &wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:183:16: warning: passing arguments to 'com_let' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | com_let(&wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:190:19: warning: passing arguments to 'com_define' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | com_define(&wl1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:198:25: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | wl = cp_doglob(cp_lexer(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:198:16: warning: passing arguments to 'cp_doglob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | wl = cp_doglob(cp_lexer(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:199:14: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | cp_striplist(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:200:9: warning: passing arguments to 'com_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | com_set(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:204:24: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | for (s = cp_tildexpand(Lib_Path); s && *s; ) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 211 | if (fp = fopen(buf, "r")) { | ~~~^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:211:13: note: place parentheses around the assignment to silence this warning 211 | if (fp = fopen(buf, "r")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:211:13: note: use '==' to turn this assignment into an equality comparison 211 | if (fp = fopen(buf, "r")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:213:15: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | inp_spsource(fp, true, buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:227:5: warning: call to undeclared function 'tcap_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | tcap_init( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:244:17: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | wl = wl_copy(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:245:26: warning: passing arguments to 'cp_variablesubst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | wl = cp_variablesubst(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:246:19: warning: passing arguments to 'cp_bquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | wl = cp_bquote(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:247:17: warning: passing arguments to 'cp_striplist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | cp_striplist(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:249:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | pn = ft_getpnames(wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:250:20: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | v = ft_evaluate(pn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:251:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | free_pnode(pn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | cp_istrue(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:172: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] 172 | extern bool cp_istrue(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:285:13: warning: passing arguments to 'com_quit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | com_quit((wordlist *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:303:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | if (fp = inp_pathopen(s, "r")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:303:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 303 | if (fp = inp_pathopen(s, "r")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:303:12: note: place parentheses around the assignment to silence this warning 303 | if (fp = inp_pathopen(s, "r")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:303:12: note: use '==' to turn this assignment into an equality comparison 303 | if (fp = inp_pathopen(s, "r")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:305:61: warning: passing arguments to 'wl_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | (void) sprintf(buf, "argc = %d argv = ( ", wl_length(wl)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:312:25: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | com_set(cp_lexer(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:312:16: warning: passing arguments to 'com_set' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | com_set(cp_lexer(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:313:19: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | inp_source(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:314:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | cp_remvar("argc"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:315:18: warning: passing arguments to 'cp_remvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | cp_remvar("argv"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:322:16: warning: passing arguments to 'com_let' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | com_let(&ww); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | cp_oddcomm(s, wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//cpitf.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:173: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] 173 | extern bool cp_oddcomm(); | ^ 96 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | com_state(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:139: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] 139 | extern void com_state(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:48:12: warning: passing arguments to 'if_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if_dump(ft_curckt->ci_ckt, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | com_dump(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//debugcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:138: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] 138 | extern void com_dump(); | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:49:15: warning: passing arguments to 'prdefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | prdefs((char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:69:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | wl->wl_word = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:76:15: warning: passing arguments to 'prdefs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | prdefs(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:99:28: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if (!(pn = ft_getpnames(wl, false))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:107:13: warning: passing arguments to 'savetree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | savetree(pn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:110:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | b = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:124:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if (prefix(b, udf->ud_name) && (arity == udf->ud_arity)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:127:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | udf = alloc(struct udfunc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:139:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | cp_addkword(CT_UDFUNCS, b); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | com_define(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:144: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] 144 | extern void com_define(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:157:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | pn->pn_value = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:159:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | pn->pn_value->v_name = copy(d->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:166:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | tmalloc(sizeof (double) * d->v_length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:172:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | tmalloc(sizeof (complex) * d->v_length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | savetree(pn) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:31: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] 31 | static void savetree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:205:23: warning: passing arguments to 'prtree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | prtree(udf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:208:19: warning: passing arguments to 'prtree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | prtree(udf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | prdefs(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:28: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] 28 | static void prdefs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:236:12: warning: passing arguments to 'prtree1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | prtree1(ud->ud_text, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | prtree(ud) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:29: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] 29 | static void prtree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | prtree1(pn, fp) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:30:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static void prtree1(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:306:19: warning: passing arguments to 'trcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | return (trcopy(udf->ud_text, s, args)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | ft_substdef(name, args) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:143: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] 143 | extern struct pnode *ft_substdef(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:343:31: warning: passing arguments to 'ntharg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | return (ntharg(i, nn)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:351:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | func = alloc(struct func); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:352:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | func->fu_name = copy(tree->pn_func->fu_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:355:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | pn = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:366:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | op = alloc(struct op); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:370:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | op->op_name = copy(tree->pn_op->op_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:372:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | pn = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | trcopy(tree, args, nn) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:27: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] 27 | static struct pnode *trcopy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:396:8: warning: parameter 'num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 396 | ntharg(num, args) | ^ 397 | struct pnode *args; 398 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:408:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 408 | else | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | ntharg(num, args) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:26: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] 26 | static struct pnode *ntharg(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:437:28: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | cp_remkword(CT_UDFUNCS, wlist->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | com_undefine(wlist) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:145: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] 145 | extern void com_undefine(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:454:12: warning: declaration of 'struct pn' will not be visible outside of this function [-Wvisibility] 454 | struct pn *pn; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:456:13: warning: incompatible pointer types passing 'struct pn *' to parameter of type 'struct pnode *' [-Wincompatible-pointer-types] 456 | prtree1(pn, cp_err); | ^~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | ft_pnode(pn) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//define.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:146: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] 146 | extern void ft_pnode(); | ^ 52 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:45:13: warning: passing arguments to 'all_show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | all_show(wl, 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | com_showmod(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:151: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] 151 | extern void com_showmod(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:52:13: warning: passing arguments to 'all_show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | all_show(wl, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | com_show(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:150: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] 150 | extern void com_show(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:74:10: warning: passing arguments to 'old_show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | old_show(wl->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:78:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if (!cp_getvar("width", VT_NUM, (char *) &screen_width)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:127:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | tfree(w->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:128:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | tfree(w); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:131:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | tfree(w->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:132:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | tfree(w); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:148:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | tfree(w->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:149:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | tfree(w); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:159:21: warning: passing arguments to 'dgen_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | for (dg = dgen_init(ft_curckt->ci_ckt, thisgroup, 1, dev_flag, mode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:160:7: warning: call to undeclared function 'dgen_nth_next'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | dg; dgen_nth_next(&dg, count)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:173:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | j = dgen_for_n(dg, count, printstr, "n", i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:182:9: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 182 | j = dgen_for_n(dg, count, printstr, "m", i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:190:7: warning: call to undeclared function 'param_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | param_forall(dg, param_flag); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:194:7: warning: call to undeclared function 'wl_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 194 | wl_forall(params, listparam, dg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:205:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | j = dgen_for_n(dg, count, printstr, "m", i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:212:7: warning: call to undeclared function 'param_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | param_forall(dg, param_flag); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:216:7: warning: call to undeclared function 'wl_forall'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | wl_forall(params, listparam, dg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | all_show(wl, mode) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:37: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] 37 | static void all_show( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:242:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 242 | printf(" % 9.9s", dg->instance->GENname); | ~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:242:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 242 | printf(" % 9.9s", dg->instance->GENname); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:244:21: warning: trigraph ignored [-Wtrigraphs] 244 | printf(" "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:247:16: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 247 | printf(" % 9.9s", dg->model->GENmodName); | ~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:247:24: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 247 | printf(" % 9.9s", dg->model->GENmodName); | ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:249:21: warning: trigraph ignored [-Wtrigraphs] 249 | printf(" "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | printstr(dg, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:31:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | int printstr( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | param_forall(dg, flags) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:288:8: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | k = dgen_for_n(dg, count, printvals, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | param_forall(dg, flags) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:298:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 298 | listparam(p, dg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:317:6: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | if (eqc(p->wl_word, plist[i].keyword) && (plist[i].dataType & IF_ASK)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:25:24: note: expanded from macro 'eqc' 25 | #define eqc(a,b) (cieq((a), (b))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:334:7: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | k = dgen_for_n(dg, count, printvals, plist + i, j); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:345:7: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | k = dgen_for_n(dg, count, bogus1, 0, j); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:357:10: warning: call to undeclared function 'dgen_for_n'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | k = dgen_for_n(dg, count, bogus2, 0, j); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | listparam(p, dg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:32:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | int listparam( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:364:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 364 | bogus1(dg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:34:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | int bogus1( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | bogus2(dg) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:35:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | int bogus2( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:429:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 429 | printf(" % 9.9s", val.v.vec.sVec[i]); | ~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:432:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 432 | printf(" % 9.9s", val.v.vec.uVec[i]); | ~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:432:25: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 432 | printf(" % 9.9s", val.v.vec.uVec[i]); | ~~~~~~ ^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:455:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 455 | printf(" % 9.9s", val.sValue); | ~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:458:17: warning: flag ' ' results in undefined behavior with 's' conversion specifier [-Wformat] 458 | printf(" % 9.9s ", val.uValue); | ~^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:458:26: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 458 | printf(" % 9.9s ", val.uValue); | ~~~~~~ ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | printvals(dg, p, i) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:33:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | int printvals( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:501:20: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | inp_casefix(devs->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:502:37: warning: passing arguments to 'devexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | tw = wl_append(tw, devexpand(devs->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:502:23: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | tw = wl_append(tw, devexpand(devs->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:514:25: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | devs = cp_cctowl(ft_curckt->ci_devices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:519:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | out_printf("%s:\n", devs->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:522:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | nn = copy(devs->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:523:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | v = (*if_getparam)(ft_curckt->ci_ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:526:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | v = (*if_getparam)(ft_curckt->ci_ckt, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:529:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | out_printf("\t%s =", tw->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:530:39: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | for (ww = cp_varwl(v); ww; ww = | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:532:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | out_printf(" %s", ww->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:533:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:537:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | nn = copy(devs->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:538:31: 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] 538 | v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:540:21: 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] 540 | v = (*if_getparam)(ft_curckt->ci_ckt, &nn, "all", 0, 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:542:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | out_printf("\t%s =", v->va_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:543:35: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | for (ww = cp_varwl(v); ww; ww = ww->wl_next) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:544:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | out_printf(" %s", ww->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:545:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | old_show(wl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:36:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | void old_show( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | com_alter(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:152: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] 152 | extern void com_alter(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:575:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 575 | com_altermod(wl) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | com_alter_common(wl, do_model) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:600:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | names = ft_getpnames(wl, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:619:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | free_pnode(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:630:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | free_pnode(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:640:12: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | free_pnode(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:666:21: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | dv = ft_evaluate(n2->pn_right); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:677:16: warning: passing arguments to 'if_setparam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | if_setparam(ft_curckt->ci_ckt, &dev, param, dv, do_model); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:679:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | free_pnode(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:767:28: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | devices = cp_cctowl(ft_curckt->ci_devices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:769:29: warning: passing arguments to 'cp_globmatch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | if (cp_globmatch(name, devices->wl_word)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:770:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | tw = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:780:23: warning: passing arguments to 'cp_cctowl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | wl = cp_cctowl(ft_curckt->ci_devices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:782:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:785:12: warning: passing arguments to 'wl_sort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | wl_sort(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | devexpand(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//device.c:19: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] 19 | static wordlist *devexpand(); | ^ 101 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | nameeq(n1, n2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:58:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if (!cp_getvar("diff_vntol", VT_REAL, (char *) &vntol)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:60:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | if (!cp_getvar("diff_abstol", VT_REAL, (char *) &abstol)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:62:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if (!cp_getvar("diff_reltol", VT_REAL, (char *) &reltol)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:211:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | printnum(d1)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:215:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | printnum(d2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:231:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | copy(printnum(realpart(&c1))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:231:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | copy(printnum(realpart(&c1))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:232:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | copy(printnum(imagpart(&c1))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:232:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | copy(printnum(imagpart(&c1))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:234:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | copy(printnum(realpart(&c2))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:234:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | copy(printnum(realpart(&c2))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:235:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | copy(printnum(imagpart(&c2)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:235:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | copy(printnum(imagpart(&c2)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | com_diff(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//diff.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:156: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] 156 | extern void com_diff(); | ^ 19 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:6: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:6: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:151:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | internalerror(ErrorMessage); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:140:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | DISPDEVICE *FindDev(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:172:39: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | if (getenv("DISPLAY") || cp_getvar("display", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:195:2: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | externalerror( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:212:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | return (*(dispdev->NewViewport))(pgraph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | NewViewport(pgraph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | DevClose() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | DevClear() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:230:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | DrawLine(x1, y1, x2, y2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:233:27: 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] 233 | (*(dispdev->DrawLine))(x1, y1, x2, y2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | DrawLine(x1, y1, x2, y2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 237 | Arc(x0, y0, radius, theta1, theta2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:242:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | (*(dispdev->Arc))(x0, y0, radius, theta1, theta2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | Arc(x0, y0, radius, theta1, theta2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:246:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 246 | Text(text, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:251:23: 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] 251 | (*(dispdev->Text))(text, x, y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | Text(text, x, y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | DefineColor(colorid, red, green, blue) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:260:30: 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] 260 | (*(dispdev->DefineColor))(colorid, red, green, blue); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | DefineColor(colorid, red, green, blue) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:264:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | DefineLinestyle(linestyleid, mask) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:269:34: 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] 269 | (*(dispdev->DefineLinestyle))(linestyleid, mask); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | DefineLinestyle(linestyleid, mask) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 273 | SetLinestyle(linestyleid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:277:31: 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] 277 | (*(dispdev->SetLinestyle))(linestyleid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | SetLinestyle(linestyleid) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:281:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | SetColor(colorid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:285:27: 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] 285 | (*(dispdev->SetColor))(colorid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | SetColor(colorid) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:289:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 289 | Update() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 299 | static | ~~~~~~ | int 300 | gen_DatatoScreen(graph, x, y, screenx, screeny) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:13: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] 13 | static int nodev(), nop(), gen_DatatoScreen(), gen_Input(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:341:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 341 | DatatoScreen(graph, x, y, screenx, screeny) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:347:31: 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] 347 | (*(dispdev->DatatoScreen))(graph, x, y, screenx, screeny); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | DatatoScreen(graph, x, y, screenx, screeny) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:364:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 364 | Input(request, response) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:369: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] 369 | (*(dispdev->Input))(request, response); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | Input(request, response) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 373 | static | ~~~~~~ | int 374 | gen_Input(request, response) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:381:36: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | response->reply.ch = inchar(request->fp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | gen_Input(request, response) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:13:48: 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] 13 | static int nodev(), nop(), gen_DatatoScreen(), gen_Input(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:399:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 399 | static nodev() | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:405:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | internalerror(ErrorMessage); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:410:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 410 | SaveText(graph, text, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:427:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | keyed->text = tmalloc(strlen(text) + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | SaveText(graph, text, x, y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:439:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 439 | DevSwitch(devname) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:447:9: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | internalerror("DevSwitch w/o changing back"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:453:9: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | internalerror("no hardcopy device"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//display.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | DevSwitch(devname) | ^ 55 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteinput.h:25: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:43:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | (void) plotit(wl, (char *) NULL, "lpr"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | com_asciiplot(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:160: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] 160 | extern void com_asciiplot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:67:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if (cieq(fname, "temp") || cieq(fname, "tmp")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:67:36: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | if (cieq(fname, "temp") || cieq(fname, "tmp")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:68:24: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | fname = smktemp("xg"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:72:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | (void) plotit(wl, fname, "xgraph"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | com_xgraph(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:163: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] 163 | extern void com_xgraph(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:106:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if (!cp_getvar("hcopydev", VT_STRING, device)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:115:24: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | fname = smktemp("hc"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:119:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (!cp_getvar("hcopydevtype", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:137:9: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | Input(&request, &response); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:143:10: warning: call to undeclared function 'DevSwitch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | if (DevSwitch(devtype)) return; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:144:27: warning: passing arguments to 'CopyGraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | tempgraph = CopyGraph(response.reply.graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:146:10: warning: call to undeclared function 'NewViewport'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | if (NewViewport(tempgraph)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:161:6: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | PushGraphContext(tempgraph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:162:6: warning: call to undeclared function 'gr_resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | gr_resize(tempgraph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:163:6: warning: call to undeclared function 'gr_redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | gr_redraw(tempgraph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:165:6: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | PopGraphContext(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:166:6: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | DestroyGraph(tempgraph->graphid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:177:19: warning: passing arguments to 'outmenuprompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | outmenuprompt("which variable ? "); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:178:24: warning: passing arguments to 'prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | if ((buf2 = prompt(cp_in)) == (char *) -1) /* XXXX Sick */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:180:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:183:18: warning: passing arguments to 'process' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | wl = process(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:190:6: warning: call to undeclared function 'DevSwitch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | if (DevSwitch(devtype)) return; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:192:20: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | if (!wl || !plotit(wl, fname, (char *) NULL)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:208:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (!cp_getvar("lprplot5", VT_STRING, format)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:219:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if (!cp_getvar("lprps", VT_STRING, format)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:249:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | (void) unlink(fname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | com_hardcopy(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:161: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] 161 | extern void com_hardcopy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:261:18: warning: passing arguments to 'plotit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | (void) plotit(wl, (char *) NULL, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | com_plot(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:162: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] 162 | extern void com_plot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:306:18: warning: passing arguments to 'wl_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | wwl = wl_copy(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:307:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | (void) getlims(wwl, "xl", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:308:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | (void) getlims(wwl, "xlimit", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:309:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | (void) getlims(wwl, "yl", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:310:19: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | (void) getlims(wwl, "ylimit", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:311:48: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | (void) sprintf(cline, "plot %s", wl_flatten(wwl)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:313:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | wl_free(wwl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:320:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | tw = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:326:23: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | sameflag = getflag(wl, "samep"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:329:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | xlim = getlims(wl, "xl", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:331:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | xlim = getlims(wl, "xlimit", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:333:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | (void) getlims(wl, "xl", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:334:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | (void) getlims(wl, "xlimit", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:338:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | ylim = getlims(wl, "yl", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:340:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | ylim = getlims(wl, "ylimit", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:342:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | (void) getlims(wl, "yl", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:343:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | (void) getlims(wl, "ylimit", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:347:28: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | xcompress = getlims(wl, "xcompress", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:349:32: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | xcompress = getlims(wl, "xcomp", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:351:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | (void) getlims(wl, "xcompress", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:352:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | (void) getlims(wl, "xcomp", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:356:27: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | xindices = getlims(wl, "xindices", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:358:31: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | xindices = getlims(wl, "xind", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:360:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | (void) getlims(wl, "xindices", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:361:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | (void) getlims(wl, "xind", 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:365:25: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | xdelta = getlims(wl, "xdelta", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:367:29: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | xdelta = getlims(wl, "xdel", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:369:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | (void) getlims(wl, "xdelta", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:370:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | (void) getlims(wl, "xdel", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:373:25: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | ydelta = getlims(wl, "ydelta", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:375:29: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | ydelta = getlims(wl, "ydel", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:377:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | (void) getlims(wl, "ydelta", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:378:23: warning: passing arguments to 'getlims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | (void) getlims(wl, "ydel", 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:384:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | if (getflag(wl, "lingrid")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:393:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | if (getflag(wl, "loglog")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:402:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (getflag(wl, "nogrid")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:411:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (getflag(wl, "linear")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:420:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | if (getflag(wl, "xlog")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:429:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | if (getflag(wl, "ylog")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:438:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | if (getflag(wl, "polar")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:447:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | if (getflag(wl, "smith")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:456:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (getflag(wl, "smithgrid")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:467:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | if (cp_getvar("gridstyle", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:497:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | if (getflag(wl, "linplot")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:506:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | if (getflag(wl, "combplot")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:515:16: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | if (getflag(wl, "pointplot")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:526:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | if (cp_getvar("plotstyle", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:545:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | xlabel = getword(wl, "xlabel"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:547:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | (void) getword(wl, "xlabel"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:549:25: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | ylabel = getword(wl, "ylabel"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:551:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | (void) getword(wl, "ylabel"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:553:24: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | title = getword(wl, "title"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:555:23: warning: passing arguments to 'getword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | (void) getword(wl, "title"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:558:27: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | nointerp = getflag(wl, "nointerp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:559:21: warning: passing arguments to 'getflag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | else if (getflag(wl, "nointerp")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:579:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | names = ft_getpnames(wl, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:596:33: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | dv = ft_evaluate(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:611:25: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | dv = ft_evaluate(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:622:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | free_pnode(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:639:29: warning: passing arguments to 'vec_mkfamily' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | lv->v_link2 = vec_mkfamily(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:641:27: warning: passing arguments to 'vec_mkfamily' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | vecs = lv = vec_mkfamily(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:720:18: warning: passing arguments to 'xtend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | xtend(d, d->v_scale->v_length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:727:21: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | compress(d, xcompress, xindices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:728:34: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | d->v_scale = vec_copy(d->v_scale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:729:21: warning: passing arguments to 'compress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | compress(d->v_scale, xcompress, xindices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:743:15: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | n = vec_copy(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:816:17: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | dd = ft_minmax(d, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:826:27: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | dd = ft_minmax(d, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:876:17: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | dd = ft_minmax(d, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:887:27: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | dd = ft_minmax(d->v_scale, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1005:27: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | !if_tranparams(ft_curckt, &tstart, &tstop, &tstep) || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1011:22: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | !ciprefix("tran", plot_cur->pl_typename))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1015:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | newscale = (double *) tmalloc(newlen * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1017:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | newv_scale = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1022:36: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | newv_scale->v_name = copy(vecs->v_scale->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1029:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | newdata = (double *) tmalloc(newlen * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1031:32: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | if (!ft_interpolate(v->v_realdata, newdata, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1039:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | tfree(v->v_realdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1049:17: warning: passing arguments to 'ft_agraf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | ft_agraf(xlims, ylims, vecs->v_scale, vecs->v_plot, vecs, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1068:36: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | xlabel ? xlabel : ft_typabbrev(vecs->v_scale->v_type), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1069:36: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | ylabel ? ylabel : ft_typabbrev(j), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1066:11: warning: passing arguments to 'ft_xgraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | ft_xgraph(xlims, ylims, hcopy, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1082:17: warning: passing arguments to 'gr_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | if (!gr_init(xlims, ylims, (oneval ? (char *) NULL : xn), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1090:16: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | ft_graf(d, oneval ? (struct dvec *) NULL : d->v_scale, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1095:2: warning: call to undeclared function 'MFBHalt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1095 | MFBHalt( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | plotit(wl, hcopy, devname) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static bool plotit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1125:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | d = (double *) tmalloc(sizeof (double) * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1136:37: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | td = ft_numparse(&ss, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1152:10: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | wl_free(beg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | getlims(wl, name, number) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:24:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | static double *getlims(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1180:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | s = copy(beg->wl_next->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1185:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | wl_free(beg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | getword(wl, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:22: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] 22 | static char *getword(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | getflag(wl, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:23: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] 23 | static bool getflag(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1233:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | v->v_realdata = (double *) tmalloc(length * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1239:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | tfree(od); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1242:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | v->v_compdata = (complex *) tmalloc(length * sizeof (complex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1252:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | tfree(oc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | xtend(v, length) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static void xtend(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1279:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | dd = (double *) tmalloc(newlen * sz); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1284:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | tfree(d->v_realdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1289:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | tfree(d->v_compdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | compress(d, xcomp, xind) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//doplot.c:25: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] 25 | static void compress(); | ^ 147 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:36:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | if (ciprefix(".save", iline->wl_word)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:38:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:39:39: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | wl = wl_append(wl, gettoks(s)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:39:27: warning: passing arguments to 'wl_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | wl = wl_append(wl, gettoks(s)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:43:13: warning: passing arguments to 'com_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | com_save(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:75:14: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (ciprefix(".plot", s)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:80:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | if (isaplot || ciprefix(".print", s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:81:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:82:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | name = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:84:30: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (!(w = gettoks(s))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:96:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | tfree(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:105:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | com_save2(w, name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:107:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | } else if (ciprefix(".four", s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:108:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:109:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:110:30: warning: passing arguments to 'gettoks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (!(w = gettoks(s))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:115:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | com_save2(w, "TRAN"); /* A hack */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:117:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | } else if (ciprefix(".op", s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:119:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | com_save2(&all, "OP"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:120:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | } else if (ciprefix(".tf", s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:122:3: warning: call to undeclared function 'com_save2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | com_save2(&all, "TF"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:166:14: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | inp_list(cp_out, ft_curckt->ci_deck, ft_curckt->ci_options, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:165:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 165 | else | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:170:17: warning: passing arguments to 'setcplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | if (setcplot("op")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:186:12: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | printnum(v->v_realdata[0])); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:193:12: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | printnum(v->v_realdata[0])); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:197:14: warning: passing arguments to 'com_showmod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | com_showmod(&all); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:198:14: warning: passing arguments to 'com_show' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | com_show(&all); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:203:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | if (ciprefix("tf", pl->pl_typename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:210:15: warning: passing arguments to 'com_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | com_print(&all); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:217:27: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | command = cp_lexer(coms->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:223:42: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | } while (command && !ciprefix("out", command->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:232:24: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | cp_vset("width", VT_NUM, (char *) &i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:247:28: warning: passing arguments to 'fixdotprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | fixdotprint(command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:251:19: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | if (ciprefix(plottype, pl->pl_typename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:253:13: warning: passing arguments to 'com_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | com_print(&twl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:276:27: warning: passing arguments to 'fixdotplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | fixdotplot(command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:279:19: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (ciprefix(plottype, pl->pl_typename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:281:17: warning: passing arguments to 'com_asciiplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | com_asciiplot(command); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:290:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | } else if (ciprefix(".four", command->wl_word)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:294:32: warning: passing arguments to 'setcplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | } else if (setcplot("tran")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:295:14: warning: passing arguments to 'com_fourier' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | com_fourier(command->wl_next); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:324:19: warning: passing arguments to 'com_rusage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | com_rusage(&ww); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:326:19: warning: passing arguments to 'com_rusage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | com_rusage((wordlist *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | ft_cktcoms(terse) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:173: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] 173 | extern int ft_cktcoms(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:352:28: warning: passing arguments to 'fixem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | wl->wl_word = fixem(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:359:28: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | d = ft_numparse(&s, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:367:28: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | d = ft_numparse(&s, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:374:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | tfree(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:375:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | wl->wl_word = copy("xlimit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:376:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | wl->wl_next = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:379:40: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | (void) strcpy(buf, printnum(d1)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:380:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:381:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | wl->wl_next = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:384:40: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | (void) strcpy(buf, printnum(d2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:385:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | fixdotplot(wl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:19:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | static void fixdotplot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:397:28: warning: passing arguments to 'fixem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | wl->wl_word = fixem(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | fixdotprint(wl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:20: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] 20 | static void fixdotprint(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:411:17: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (ciprefix("v(", string) && index(string, ',')) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:428:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:429:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:430:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | } else if (ciprefix("vm(", string)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:435:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:436:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:437:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | } else if (ciprefix("vp(", string)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:442:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:443:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:444:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | } else if (ciprefix("vi(", string)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:449:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:450:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:451:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | } else if (ciprefix("vr(", string)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:456:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:457:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:458:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | } else if (ciprefix("vdb(", string)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:463:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:464:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:465:24: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | } else if (ciprefix("i(", string)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:471:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | tfree(ss); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:472:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | string = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | fixem(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:21: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] 21 | static char *fixem(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:486:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | if (ciprefix(name, pl->pl_typename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | setcplot(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:22: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] 22 | static bool setcplot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:578:22: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | while (t = gettok(&s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:578:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 578 | while (t = gettok(&s)) { | ~~^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:578:14: note: place parentheses around the assignment to silence this warning 578 | while (t = gettok(&s)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:578:14: note: use '==' to turn this assignment into an equality comparison 578 | while (t = gettok(&s)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:583:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:584:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | wl->wl_word = copy(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:603:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:608:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | wl->wl_word = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:611:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | wl->wl_word = copy(l + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:618:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:619:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | wl->wl_word = copy(c + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | gettoks(s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dotcards.c:18: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] 18 | static wordlist *gettoks(); | ^ 102 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:56:15: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 56 | fperror(mess, code) | ^ 57 | char *mess; 58 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | fperror(mess, code) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:180: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] 180 | extern void fperror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:68:12: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | ft_sperror(code, mess) | ^ 69 | char *mess; 70 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:71:51: warning: passing arguments to 'if_errstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | fprintf(cp_err, "%s: %s\n", mess, if_errstring(code)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | ft_sperror(code, mess) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:181: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] 181 | extern void ft_sperror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:78:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | cp_ccon(false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | internalerror(message) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:100:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 100 | externalerror(message) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//error.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:63:23: warning: passing arguments to 'apply_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | d = apply_func(node->pn_func, node->pn_left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:67:42: 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] 67 | ((*node->pn_op->op_func) (node->pn_left)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:70:17: 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] 70 | (node->pn_left, node->pn_right)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:81:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | d->v_name = copy(node->pn_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | ft_evaluate(node) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:190:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | extern struct dvec *ft_evaluate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:96:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | return (doop('+', cx_plus, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | op_plus(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:201:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 201 | extern struct dvec *op_plus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:103:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | return (doop('-', cx_minus, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | op_minus(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:195:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | extern struct dvec *op_minus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:110:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | return (doop(',', cx_comma, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | op_comma(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | extern struct dvec *op_comma(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:117:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | return (doop('*', cx_times, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | op_times(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:203:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | extern struct dvec *op_times(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:124:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | return (doop('%', cx_mod, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | op_mod(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:196:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | extern struct dvec *op_mod(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:131:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | return (doop('/', cx_divide, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | op_divide(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:188:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | extern struct dvec *op_divide(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:138:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | return (doop('^', cx_power, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | op_power(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:202:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | extern struct dvec *op_power(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:145:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | return (doop('=', cx_eq, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | op_eq(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:189:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | extern struct dvec *op_eq(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:152:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | return (doop('>', cx_gt, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | op_gt(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:192:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | extern struct dvec *op_gt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:159:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | return (doop('<', cx_lt, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | op_lt(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:194:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | extern struct dvec *op_lt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:166:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | return (doop('G', cx_ge, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | op_ge(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:191:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | extern struct dvec *op_ge(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:173:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | return (doop('L', cx_le, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | op_le(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:193:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | extern struct dvec *op_le(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:180:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | return (doop('N', cx_ne, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | op_ne(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:197:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | extern struct dvec *op_ne(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:187:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | return (doop('&', cx_and, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | op_and(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:186:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | extern struct dvec *op_and(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:194:17: warning: passing arguments to 'doop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | return (doop('|', cx_or, arg1, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | op_or(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:199:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | extern struct dvec *op_or(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:249:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | res = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:251:26: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | res->v_name = mkcname('R', v->v_name, ind->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:269:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | res->v_realdata = (double *) tmalloc(sizeof (double) * len); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:271:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | res->v_compdata = (complex *) tmalloc(sizeof (complex) * len); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:300:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | vec_new(res); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | op_range(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:205:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | extern struct dvec *op_range(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:396:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | res = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:398:26: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | res->v_name = mkcname('[', v->v_name, ind->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:417:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | res->v_realdata = (double *) tmalloc(sizeof (double) * length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:419:46: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | res->v_compdata = (complex *) tmalloc(sizeof (complex) * length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:450:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | vec_new(res); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | op_ind(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:200:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | extern struct dvec *op_ind(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:479:25: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | t = vec_fromplot(buf, plot_cur); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:484:21: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | t = vec_copy(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:485:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | vec_new(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:508:47: 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] 508 | data = (char *) ((*func->fu_func) ((isreal(v) ? (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:514:47: 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] 514 | data = (char *) ((*func->fu_func) ((isreal(v) ? (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:527:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | t = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:544:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | t->v_name = mkcname('a', func->fu_name, v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:546:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | t->v_name = mkcname('c', func->fu_name, v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:548:25: warning: passing arguments to 'mkcname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | t->v_name = mkcname('b', v->v_name, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:561:9: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | vec_new(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | apply_func(func, arg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:26:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static struct dvec *apply_func(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | op_uminus(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:204:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | extern struct dvec *op_uminus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | op_not(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:198:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 198 | extern struct dvec *op_not(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:613:13: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | s = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | mkcname(what, v1, v2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:28: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] 28 | static char *mkcname(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:698:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | d1 = (double *) tmalloc(length * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:708:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | c1 = (complex *) tmalloc(length * sizeof (complex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:725:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | d2 = (double *) tmalloc(length * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:735:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | c2 = (complex *) tmalloc(length * sizeof (complex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:760:30: 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] 760 | data = (char *) ((*func) ((isreal(v1) ? (char *) d1 : (char *) c1), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:773:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | res = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:814:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | vec_new(res); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:819:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | tfree(d1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:821:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | tfree(c1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:826:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | tfree(d2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:828:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | tfree(c2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | doop(what, func, arg1, arg2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//evaluate.c:27:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static struct dvec *doop(); | ^ 100 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:53:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if ((!cp_getvar("nfreqs", VT_NUM, (char *) &nfreqs)) || (nfreqs < 1)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:55:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if ((!cp_getvar("polydegree", VT_NUM, (char *) &polydegree)) || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:58:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if ((!cp_getvar("fourgridsize", VT_NUM, (char *) &fourgridsize)) || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:68:27: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if (!(ff = ft_numparse(&s, false)) || (*ff <= 0.0)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:74:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | freq = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:75:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | mag = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:76:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | phase = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:77:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | nmag = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:78:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | nphase = (double *) tmalloc(nfreqs * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:81:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | names = ft_getpnames(wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:84:26: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | vec = ft_evaluate(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:101:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | grid = (double *) tmalloc(fourgridsize * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:103:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | stuff = (double *) tmalloc(fourgridsize * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:105:31: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | dp = ft_minmax(time, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:122:36: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!ft_interpolate(vec->v_realdata, stuff, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:137:26: warning: passing arguments to 'CKTfour' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | err = CKTfour(fourgridsize, nfreqs, &thd, timescale, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:141:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | ft_sperror(err, "fourier"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:167:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | fw, pn(freq[i]), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:168:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | fw, pn(mag[i]), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:169:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | fw, pn(phase[i]), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:170:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | fw, pn(nmag[i]), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:171:27: warning: passing arguments to 'pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | fw, pn(nphase[i])); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:176:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | free_pnode(first_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:177:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | tfree(freq); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:178:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | tfree(mag); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:179:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | tfree(phase); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:180:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | tfree(nmag); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:181:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | tfree(nphase); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | com_fourier(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:209: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] 209 | extern void com_fourier(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:199:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | return (copy(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | pn(num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:22: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] 22 | static char *pn(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | CKTfour(ndata,numFreq,thd,Time,Value,FundFreq,Freq,Mag,Phase,nMag,nPhase) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//fourier.c:23: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] 23 | static int CKTfour(); | ^ 38 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: error: redefinition of 'timezone' as different kind of symbol 151 | extern char *timezone(); | ^ /usr/include/time.h:167:13: note: previous definition is here 167 | extern long timezone; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 previous declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:51:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | static gr_resize_internal(); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:52:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | static drawlegend(); | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype, | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:89:2: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | DevInit( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:98:5: warning: call to undeclared function 'SetGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | SetGraphContext(graph->graphid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:110:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (!cp_getvar("pointchars", VT_STRING, pointchars)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:113:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if (!cp_getvar("ticmarks", VT_NUM, (char *) &graph->ticmarks)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:114:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | if (cp_getvar("ticmarks", VT_BOOL, (char *) &b)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:120:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if (cp_getvar("ticlist", VT_LIST, ticlist)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:121:26: warning: passing arguments to 'vareval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | wl = (wordlist *)vareval("ticlist"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:122:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | ticlist = (char *)wl_flatten(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:123:38: warning: passing arguments to 'readtics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | graph->ticdata = (double *) readtics(ticlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:139:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | internalerror("gr_init: no range specified"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:153:9: warning: call to undeclared function 'NewViewport'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | if (NewViewport(graph) == 1) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:165:5: warning: call to undeclared function 'DevClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | DevClear(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:202:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | comb_title = tmalloc(strlen(plotname) + strlen(pname) + 3); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:206:23: warning: passing arguments to 'gr_resize_internal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | gr_resize_internal(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:207:5: warning: call to undeclared function 'gr_redrawgrid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | gr_redrawgrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:222:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | graph->commandline = copy(commandline); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | gr_init(xlims, ylims, xname, plotname, hcopy, nplots, xdelta, ydelta, gridtype, | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:242: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] 242 | extern bool gr_init(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:252:5: warning: call to undeclared function 'DatatoScreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | DatatoScreen(currentgraph, oldx, oldy, &fromx, &fromy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:258:20: warning: passing arguments to 'clip_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (clip_line(&fromx, &fromy, &tox, &toy, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:264:25: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (clip_to_circle(&fromx, &fromy, &tox, &toy, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:272:7: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | SetLinestyle(dv->v_linestyle); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:279:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | SetColor(dv->v_color); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:288:6: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | DrawLine(fromx, fromy, tox, toy); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:289:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 289 | if (tics = (double *) currentgraph->ticdata) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:289:11: note: place parentheses around the assignment to silence this warning 289 | if (tics = (double *) currentgraph->ticdata) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:289:11: note: use '==' to turn this assignment into an equality comparison 289 | if (tics = (double *) currentgraph->ticdata) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:292:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | Text("x", (int) (tox - currentgraph->fontwidth / 2), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:306:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | Text("x", (int) (tox - currentgraph->fontwidth / 2), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:325:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | Text(pointc, (int) (tox - currentgraph->fontwidth / 2), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | gr_point(dv, newx, newy, oldx, oldy, np) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:248: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] 248 | extern void gr_point(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:349:21: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | s = ft_typenames(dv->v_type); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:388:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | link->vector = vec_copy(dv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:400:15: warning: passing arguments to 'drawlegend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | drawlegend(currentgraph, plotno, dv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | gr_start_internal(dv, copyvec) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | gr_start(dv) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:249: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] 249 | extern void gr_start(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:418:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 418 | gr_relinestyle(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:437:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | static | ~~~~~~ | int 437 | drawlegend(graph, plotno, dv) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:451:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | SetColor(dv->v_color); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:454:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | Text(buf, x + graph->viewport.width / 20 | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:457:9: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | SetLinestyle(dv->v_linestyle); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:458:9: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | DrawLine(x, i, x + graph->viewport.width / 20, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:461:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | Text(dv->v_name, x + graph->viewport.width / 20 | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | drawlegend(graph, plotno, dv) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:52:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | static drawlegend(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:471:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:477:14: warning: passing arguments to 'gr_pmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | gr_pmsg("Hit return to continue"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | gr_end(dv) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:244: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] 244 | extern void gr_end(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:492:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:494:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | if (cp_getvar("device", VT_STRING, buf) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:498:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | Text(text, currentgraph->viewport.width | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | gr_pmsg(text) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:247: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] 247 | extern void gr_pmsg(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:510:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:515:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 515 | gr_resize(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:529:23: warning: passing arguments to 'gr_resize_internal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | gr_resize_internal(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | gr_resize(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:555:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 555 | static gr_resize_internal(graph) | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:566:15: warning: passing arguments to 'gr_fixgrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | gr_fixgrid(graph, graph->grid.xdelta, graph->grid.ydelta, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:555:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | static gr_resize_internal(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:51:8: 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] 51 | static gr_resize_internal(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:583:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 583 | gr_redraw(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:590:5: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 590 | PushGraphContext(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:592:5: warning: call to undeclared function 'DevClear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | DevClear(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:595:5: warning: call to undeclared function 'gr_redrawgrid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | gr_redrawgrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:607:14: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | ft_graf(link->vector, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:615:5: warning: call to undeclared function 'gr_restoretext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | gr_restoretext(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:617:5: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 617 | PopGraphContext(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | gr_redraw(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:621:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | gr_restoretext(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:629:7: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | SetColor(k->colorindex); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:630:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | Text(k->text, k->x, k->y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | gr_restoretext(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:649:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 648 | static | ~~~~~~ | int 649 | iplot(pl, id) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:681:25: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | lims = ft_minmax(xs, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:688:33: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | lims = ft_minmax(v, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:728:22: warning: passing arguments to 'ft_graf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | ft_graf(v, xs, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:732:2: warning: call to undeclared function 'Input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 732 | Input(&reqst, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:738:27: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | if (!if_tranparams(ft_curckt, &start, &stop, &step) || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:739:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | !ciprefix("tran", pl->pl_typename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:820:45: warning: too many arguments in call to 'gr_pmsg' 820 | gr_pmsg("Resizing screen", false); | ~~~~~~~ ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:843:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 843 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | iplot(pl, id) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:868:24: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | v = vec_fromplot(dc->db_nodename1, plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | set(plot, db, unset, mode) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | getitright(buf, num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:909:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 909 | reset_trace( ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:928:29: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 928 | if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:928:55: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | if (db->db_graphid) PushGraphContext(FindGraph(db->db_graphid)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:941:41: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 941 | if (!dontpop && db->db_graphid) PopGraphContext(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:958:4: warning: call to undeclared function 'term_clear'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 958 | term_clear( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:960:4: warning: call to undeclared function 'term_home'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 960 | term_home( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:965:7: warning: call to undeclared function 'term_cleol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | term_cleol( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:992:3: warning: call to undeclared function 'term_cleol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 992 | term_cleol( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | gr_iplot(plot) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:21: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:245: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] 245 | extern void gr_iplot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:1025:3: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1025 | DestroyGraph(db->db_graphid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:1030:9: warning: passing arguments to 'dbfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | dbfree(db); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:1036:28: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | graph = FindGraph(db->db_graphid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:1042:36: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | link->vector = vec_copy(dv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:1074:34: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | tics = (double *) tmalloc(MAXTICS * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | readtics(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graf.c:50:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | double *readtics(); | ^ 112 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:46:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 46 | static RunningId = 1; | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:62:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | internalerror("can't allocate a listgraph"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:84:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | GRAPH *FindGraph(id) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:118:7: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | SaveText(ret, k->text, k->x, k->y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:126:33: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | newlink->vector = vec_copy(link->vector); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:134:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | ret->commandline = copy(graph->commandline); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:135:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | ret->plotname = copy(graph->plotname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:103:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | GRAPH *CopyGraph(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:188:11: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | tfree(d->vector->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:190:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | tfree(d->vector->v_realdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:192:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | tfree(d->vector->v_compdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:213:5: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | internalerror("tried to destroy non-existent graph"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | DestroyGraph(id) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:219:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 219 | FreeGraphs() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:236:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 236 | SetGraphContext(graphid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | PushGraphContext(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//graphdb.c:273:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 273 | PopGraphContext() | ^ | int 22 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:51:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | SetColor(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:52:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | SetLinestyle(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:65:18: warning: passing arguments to 'polargrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | polargrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:71:18: warning: passing arguments to 'smithgrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | smithgrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:78:21: warning: passing arguments to 'loggrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | dd = loggrid(graph, graph->data.ymin, graph->data.ymax, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:81:21: warning: passing arguments to 'lingrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | dd = lingrid(graph, graph->data.ymin, graph->data.ymax, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:89:21: warning: passing arguments to 'loggrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | dd = loggrid(graph, graph->data.xmin, graph->data.xmax, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:92:21: warning: passing arguments to 'lingrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | dd = lingrid(graph, graph->data.xmin, graph->data.xmax, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | gr_fixgrid(graph, xdelta, ydelta, xtype, ytype) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:261: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] 261 | extern void gr_fixgrid(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | gr_redrawgrid(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:117:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | SetColor(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:118:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | SetLinestyle(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:121:7: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | Text(graph->grid.xlabel, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:129:15: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | Text(graph->grid.ylabel, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:133:15: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | Text(graph->grid.ylabel, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:141:23: warning: passing arguments to 'drawpolargrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | drawpolargrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:144:23: warning: passing arguments to 'drawsmithgrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | drawsmithgrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:147:23: warning: passing arguments to 'drawsmithgrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | drawsmithgrid(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:153:21: warning: passing arguments to 'drawloggrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | drawloggrid(graph, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:162:21: warning: passing arguments to 'drawlingrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | drawlingrid(graph, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:186:21: warning: passing arguments to 'drawloggrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | drawloggrid(graph, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:195:21: warning: passing arguments to 'drawlingrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | drawlingrid(graph, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | gr_redrawgrid(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:355:25: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | if (s = ft_typabbrev(type)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:355:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 355 | if (s = ft_typabbrev(type)) { | ~~^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:355:11: note: place parentheses around the assignment to silence this warning 355 | if (s = ft_typabbrev(type)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:355:11: note: use '==' to turn this assignment into an equality comparison 355 | if (s = ft_typabbrev(type)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | lingrid(graph, lo, hi, delta, type, axis) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:22:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static double *lingrid(), *loggrid(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:499:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | SetLinestyle(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:509:17: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | DrawLine(graph->viewportxoff + i, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:533:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | Text(buf, graph->viewportxoff + i - | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:547:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | Text(units, (int) (graph->absolute.width * 0.6), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:552:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | drawlingrid(graph, units, spacing, nsp, dst, lmt, hmt, onedec, mult, mag, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static void drawlingrid( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:637:25: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | if (s = ft_typabbrev(type)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:637:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 637 | if (s = ft_typabbrev(type)) { | ~~^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:637:11: note: place parentheses around the assignment to silence this warning 637 | if (s = ft_typabbrev(type)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:637:11: note: use '==' to turn this assignment into an equality comparison 637 | if (s = ft_typabbrev(type)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | loggrid(graph, lo, hi, type, axis) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:22: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] 22 | static double *lingrid(), *loggrid(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:681:2: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | SetLinestyle(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:686:3: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 686 | DrawLine(graph->viewportxoff + i, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:711:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 711 | Text(buf, graph->viewportxoff + i - strlen(buf) / 2, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:730:4: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 730 | DrawLine(graph->viewportxoff + m, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:747:9: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | Text(units, (int) (graph->absolute.width * 0.6), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:752:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 752 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | drawloggrid(graph, units, hmt, lmt, decsp, subs, pp, axis) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:27:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static void drawloggrid( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | polargrid(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:23: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] 23 | static void polargrid(), smithgrid(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:920:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 920 | SetLinestyle(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:921:5: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 921 | Arc(graph->grid.xaxis.circular.center, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:933:16: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | cliparc((double) graph->grid.xaxis.circular.center + relcx, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:945:24: warning: passing arguments to 'addradlabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | addradlabel(graph, i, theta, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:967:32: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | if (!clip_to_circle(&x1, &y1, &x2, &y2, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:972:10: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | DrawLine(x1, y1, x2, y2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:975:28: warning: passing arguments to 'adddeglabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | adddeglabel(graph, i * 30, x2, y2, x1, y1, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1004:32: warning: passing arguments to 'clip_to_circle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | if (!clip_to_circle(&x1, &y1, &x2, &y2, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1008:17: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1008 | DrawLine(x1, y1, x2, y2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1010:28: warning: passing arguments to 'adddeglabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | adddeglabel(graph, i, x2, y2, x1, y1, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1018:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1018 | Text(buf, graph->grid.xaxis.circular.center | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1022:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1022 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | drawpolargrid(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:24: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] 24 | static void drawpolargrid( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1055:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1055 | Text(buf, x, y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | adddeglabel(graph, deg, x, y, cx, cy, lx, ly) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:31: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] 31 | static void adddeglabel(), addradlabel(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1081:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1081 | Text(buf, x, y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | addradlabel(graph, lab, theta, x, y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:31: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] 31 | static void adddeglabel(), addradlabel(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1104:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1104 | SetLinestyle(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | smithgrid(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:23: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] 23 | static void polargrid(), smithgrid(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1236:5: warning: call to undeclared function 'SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1236 | SetLinestyle(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1341:15: warning: passing arguments to 'arcset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | arcset(graph, rr[k], kr[k], ir[k], ki[k], pixperunit, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1356:5: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1356 | Arc(gr_xcenter, gr_ycenter, gr_radius, 0.0, 0.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1370:9: warning: call to undeclared function 'DrawLine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1370 | DrawLine(gr_xcenter - zheight, gr_ycenter + yoff, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1372:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1372 | Text("0", gr_xcenter + zheight + gi_fntwidth, gr_ycenter + yoff - | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1382:5: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1382 | Text(buf, gr_xcenter + gr_radius, gr_ycenter - gr_radius); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1384:5: warning: call to undeclared function 'Update'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1384 | Update(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | drawsmithgrid(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:25: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] 25 | static void drawsmithgrid( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1415:5: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1415 | SetColor(18); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1417:12: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1417 | cliparc((double) (centx + xoffset + radoff - rad), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1425:12: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | cliparc((double) (centx + xoffset + radoff + rad), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1431:20: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | aclip = cliparc((double) (centx + xoffset + radoff), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1450:20: warning: passing arguments to 'cliparc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | aclip = cliparc((double) (centx + xoffset + radoff), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1471:6: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1471 | Text(plab, x, centy + yoffset - gi_fntheight - 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | arcset(graph, rad, prevrad, irad, iprevrad, radoff, maxrad, centx, centy, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:29: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] 29 | static void arcset(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1514:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1514 | Arc((int)cx, (int)cy, (int)rad, start, end); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1586:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1586 | Arc((int)cx, (int)cy, (int)rad, start, d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1613:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1613 | Arc((int)cx, (int)cy, (int)rad, l, d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1623:9: warning: call to undeclared function 'Arc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1623 | Arc((int)cx, (int)cy, (int)rad, d, end); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | cliparc(cx, cy, rad, start, end, iclipx, iclipy, icliprad, flag) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//grid.c:30: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] 30 | static double cliparc(); | ^ 98 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:60:17: warning: passing arguments to 'inp_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | inp_list(cp_out, expand ? ft_curckt->ci_deck : | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | com_listing(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:266: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] 266 | extern void com_listing(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:79:13: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | inp_casefix(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | upper(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:108:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | (void) cp_getvar("renumber", VT_BOOL, (char *) &renumber); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:114:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | if (ciprefix(".end", here->li_line) && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:122:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:132:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | out_printf("%s\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:136:45: warning: data argument not used by format string [-Wformat-extra-args] 135 | fprintf(file, "%s\n", | ~~~~~~ 136 | here->li_error, file); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:148:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:157:29: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (ciprefix(".end", here->li_line) && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:165:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:172:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | out_printf("%s\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:180:35: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | out_printf("%s\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:190:33: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (ciprefix(".end", here->li_line) && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:198:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:205:39: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | out_printf("%s\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:214:39: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | out_printf("%s\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:232:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:237:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | out_printf(".end\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | inp_list(file, deck, extras, type) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:272: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] 272 | extern void inp_list(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:268:16: warning: passing arguments to 'inp_readall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | inp_readall(fp, &deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:273:30: warning: passing arguments to 'inp_getopts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | options = inp_getopts(deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:275:28: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | realdeck = inp_deckcopy(deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:279:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | tt = copy(deck->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:313:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | if (!ciprefix(".control", dd->li_line) && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:314:30: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | !ciprefix(".endc", dd->li_line)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:316:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | (void) cp_evloop(dd->li_line + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:318:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | (void) cp_evloop(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:317:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 317 | else | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:319:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:320:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:337:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (ciprefix(".control", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:339:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:340:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:346:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | } else if (ciprefix(".endc", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:348:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:349:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:355:42: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | } else if (commands || prefix("*#", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:356:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:363:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (prefix("*#", dd->li_line)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:364:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | wl->wl_word = copy(dd->li_line + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:368:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:374:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:375:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:377:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | inp_casefix(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:378:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | inp_casefix(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:379:48: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | if (eq(s, ".width") || ciprefix(".four", s) || eq(s, ".plot") | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:384:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | end->wl_next = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:388:42: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | wl_first = end = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:389:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | end->wl_word = copy(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:393:4: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:394:4: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:409:27: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (!cp_getvar("nosubckt", VT_BOOL, (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:411:49: warning: passing arguments to 'inp_subcktexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | deck->li_next = inp_subcktexpand(deck-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:414:23: warning: passing arguments to 'inp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | inp_dodeck(deck, tt, wl_first, false, options, filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:419:39: warning: passing arguments to 'wl_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | for (end = wl = wl_reverse(controls); wl; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:421:33: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | (void) cp_evloop(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | inp_spsource(fp, comfile, filename) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:270: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] 270 | extern void inp_spsource(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:465:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | tfree(dd->li_error); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:473:48: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:475:46: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:478:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | ft_curckt = ct = alloc(struct circ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:480:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | (void) cp_getvar("noparse", VT_BOOL, (char *) &noparse); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:482:25: warning: passing arguments to 'if_inpdeck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | ckt = if_inpdeck(deck, &tab); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:497:17: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | out_printf("Error on line %d : %s\n\t%s\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:500:17: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | out_printf("\t%s\n", p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:520:44: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | ft_curckt->ci_devices = cp_kwswitch(CT_DEVNAMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:522:27: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | (void) cp_kwswitch(CT_DEVNAMES, ft_curckt->ci_devices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:523:42: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:524:27: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | (void) cp_kwswitch(CT_NODENAMES, ft_curckt->ci_nodes); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:525:19: warning: passing arguments to 'ft_newcirc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | ft_newcirc(ct); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:541:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | ct->ci_filename = copy(filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:551:26: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | wl = cp_lexer(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:556:43: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | eev->va_next = cp_setparse(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:558:48: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | ct->ci_vars = eev = cp_setparse(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:566:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | if_option(ct->ci_ckt, eev->va_name, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:570:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | if_option(ct->ci_ckt, eev->va_name, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:574:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | if_option(ct->ci_ckt, eev->va_name, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:578:26: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | if_option(ct->ci_ckt, eev->va_name, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:585:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | cp_addkword(CT_CKTNAMES, tt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | inp_dodeck(deck, tt, end, reuse, options, filename) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:268: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] 268 | extern void inp_dodeck(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:606:20: warning: passing arguments to 'doedit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | if (!doedit(wl->wl_word)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:610:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | if (!(fp = inp_pathopen(wl->wl_word, "r"))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:622:31: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | filename = smktemp("sp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:645:20: warning: passing arguments to 'doedit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | if (!doedit(filename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:659:20: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | (void) unlink(filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:672:14: warning: passing arguments to 'com_run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | com_run(NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | com_edit(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:265: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] 265 | extern void com_edit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:685:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | if (cp_getvar("editor", VT_STRING, buf2)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | doedit(filename) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:20: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] 20 | static bool doedit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:718:27: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | tempfile = smktemp("sp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:719:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | if (!(fp = inp_pathopen(tempfile, "w+"))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:725:36: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | if (!(tp = inp_pathopen(wl->wl_word, "r"))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:730:24: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 730 | (void) unlink(tempfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:741:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | fp = inp_pathopen(wl->wl_word, "r"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:749:31: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | if (ft_nutmeg || substring(".spiceinit", owl->wl_word) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:750:25: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | || substring("spice.rc", owl->wl_word)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:757:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 757 | (void) unlink(tempfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | com_source(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:267: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] 267 | extern void com_source(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | inp_source(file) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inp.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:269: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] 269 | extern void inp_source(); | ^ 112 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:38:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | strptr = tmalloc(memlen); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:47:36: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if( !(strptr = trealloc(strptr, memlen + 1))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:61:22: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | strptr = trealloc(strptr, strlen + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | readline(fd) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:81:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | || !cp_getvar("sourcepath", VT_LIST, (char *) &v)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:87:12: warning: passing arguments to 'cp_wstrip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | cp_wstrip(v->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:97:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 97 | if (fp = fopen(buf, mode)) | ~~~^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:97:16: note: place parentheses around the assignment to silence this warning 97 | if (fp = fopen(buf, mode)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:97:16: note: use '==' to turn this assignment into an equality comparison 97 | if (fp = fopen(buf, mode)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | inp_pathopen(name, mode) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:274: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] 274 | extern FILE *inp_pathopen(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:118:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 118 | while (buffer = readline(fp)) { | ~~~~~~~^~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:118:19: note: place parentheses around the assignment to silence this warning 118 | while (buffer = readline(fp)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:118:19: note: use '==' to turn this assignment into an equality comparison 118 | while (buffer = readline(fp)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:128:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (ciprefix(".include", buffer)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:142:34: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | s = cp_tildexpand(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:153:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | end->li_next = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:156:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | end = cc = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:161:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | end->li_line = copy(buffer); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:174:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | end->li_next = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:177:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | end = cc = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:208:45: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | working->li_error = copy( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:213:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | buffer = tmalloc(strlen(prev->li_line) + strlen(s) + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:224:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | tfree(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:226:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | newcard = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | inp_readall(fp, data) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:273: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] 273 | extern void inp_readall(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | inp_casefix(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//inpcom.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:271: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] 271 | extern void inp_casefix(); | ^ 28 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:27:57: warning: parameter 'degree' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree) | ^ 28 | double *data, *ndata, *oscale, *nscale; 29 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:27:51: warning: parameter 'nlen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree) | ^ 28 | double *data, *ndata, *oscale, *nscale; 29 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:27:37: warning: parameter 'olen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree) | ^ 28 | double *data, *ndata, *oscale, *nscale; 29 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:48:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | scratch = (double *) tmalloc((degree + 1) * (degree + 2) * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:50:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | result = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:51:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | xdata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:52:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | ydata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:58:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:78:30: warning: passing arguments to 'putinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | lastone = putinterval(result, degree, ndata, lastone, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:95:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:102:30: warning: passing arguments to 'putinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | lastone = putinterval(result, degree, ndata, lastone, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:107:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | tfree(scratch); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:108:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | tfree(xdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:109:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | tfree(ydata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:110:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | tfree(result); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | ft_interpolate(data, ndata, oscale, olen, nscale, nlen, degree) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:284: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] 284 | extern bool ft_interpolate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:231:21: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | d = ft_peval(xdata[i], result, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | ft_polyfit(xdata, ydata, result, degree, scratch) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:285: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] 285 | extern bool ft_polyfit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:264:59: warning: parameter 'sign' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) | ^ 265 | double *poly, *nvec, *nscale, oval; 266 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:264:47: warning: parameter 'nlen' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) | ^ 265 | double *poly, *nvec, *nscale, oval; 266 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:264:33: warning: parameter 'last' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) | ^ 265 | double *poly, *nvec, *nscale, oval; 266 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:264:19: warning: parameter 'degree' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) | ^ 265 | double *poly, *nvec, *nscale, oval; 266 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:276:27: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | nvec[i] = ft_peval(nscale[i], poly, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | putinterval(poly, degree, nvec, last, nscale, nlen, oval, sign) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:22: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] 22 | static int putinterval(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:281:24: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | printmat(name, mat, m, n) | ^ 282 | char *name; 283 | double *mat; 284 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:281:21: warning: parameter 'm' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 281 | printmat(name, mat, m, n) | ^ 282 | char *name; 283 | double *mat; 284 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | printmat(name, mat, m, n) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:24: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] 24 | static void printmat(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ft_peval(x, coeffs, degree) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:286: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] 286 | extern double ft_peval(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:366:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | v = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:367:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | v->v_name = copy(ov->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:373:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | nd = (double *) tmalloc(newlen * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:380:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | vec_new(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | lincopy(ov, newscale, newlen, oldscale) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void lincopy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | ft_polyderiv(coeffs, degree) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//interp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:287: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] 287 | extern void ft_polyderiv( ); | ^ 44 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:28:23: warning: passing arguments to 'if_tranparams' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | !if_tranparams(ft_curckt, &tstart, &tstop, &tstep)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:48:18: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!ciprefix("tran", plot_cur->pl_typename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:54:21: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | new = plot_alloc("transient"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:56:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | new->pl_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:57:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | new->pl_title = copy(old->pl_title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:58:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | new->pl_date = copy(old->pl_date); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:60:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | plot_new(new); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:61:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | plot_setcur(new->pl_typename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:64:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | newtime = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:65:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | newtime->v_name = copy(oldtime->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:71:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | newtime->v_realdata = (double *) tmalloc(len * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:78:29: warning: passing arguments to 'vec_fromplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | v = vec_fromplot(wl->wl_word, old); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:84:13: warning: call to undeclared function 'lincopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | lincopy(v, newtime->v_realdata, len, oldtime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:91:13: warning: call to undeclared function 'lincopy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | lincopy(v, newtime->v_realdata, len, oldtime); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | com_linearize(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//linear.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:288: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] 288 | extern void com_linearize(); | ^ 19 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: error: redefinition of 'timezone' as different kind of symbol 151 | extern char *timezone(); | ^ /usr/include/time.h:167:13: note: previous definition is here 167 | extern long timezone; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 previous declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:19: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | Mfb_Init() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:47:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (cp_getvar("term", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:56:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | term = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:61:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | if (!cp_getvar("device", VT_STRING, dev)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:81:20: warning: passing arguments to 'MFBOpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | (void) MFBOpen( term, (dev[0] ? dev : (char *) NULL), &err); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:87:58: warning: passing arguments to 'MFBError' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | sprintf(ErrorMessage, "MFB error: %s", MFBError(err)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:88:11: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | externalerror(ErrorMessage); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:93:37: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | dispdev->numlinestyles = MFBInfo(MAXLINESTYLES); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:94:33: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | dispdev->numcolors = MFBInfo(MAXCOLORS); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:95:29: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | dispdev->width = MFBInfo(MAXX) + 1; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:96:30: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | dispdev->height = MFBInfo(MAXY) + 1; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:102:46: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if (dispdev->numlinestyles > 2 && MFBInfo(DEFLINEPATTERN)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:105:33: warning: '/*' within block comment [-Wcomment] 105 | /* MFBSetALUMode(MFBALUJAM); /* graphics overstrikes */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:106:19: warning: passing arguments to 'MFBSetTextMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | MFBSetTextMode(1); /* text overstrikes */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:110:7: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | externalerror("Can't restore control of tty."); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | Mfb_NewViewport(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:123:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 123 | if (!MFBInitialize() == MFBOK) { | ^ ~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:123:9: note: add parentheses after the '!' to evaluate the comparison first 123 | if (!MFBInitialize() == MFBOK) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:123:9: note: add parentheses around left hand side expression to silence this warning 123 | if (!MFBInitialize() == MFBOK) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:124:7: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | externalerror("Can't initialize MFB."); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:136:31: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | graph->fontwidth = MFBInfo(FONTWIDTH); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:137:32: warning: passing arguments to 'MFBInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | graph->fontheight = MFBInfo(FONTHEIGHT); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | Mfb_NewViewport(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:150:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 150 | Mfb_Close() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:160:2: warning: call to undeclared function 'SetGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | SetGraphContext(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 168 | Mfb_Clear() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:171:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | MFBSetColor(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | Mfb_DrawLine(x1, y1, x2, y2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:180:12: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | MFBLine(x1, y1, x2, y2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | Mfb_DrawLine(x1, y1, x2, y2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | Mfb_Arc(x0, y0, radius, theta1, theta2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:198:15: warning: passing arguments to 'MFBArc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | MFBArc(x0, y0, radius, (int)theta3, (int)theta4, 50); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:207:13: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | MFBLine((int)(x0+radius*cos(theta1)),(int)(y0+radius*sin(theta1)), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:209:13: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | MFBLine((int)(x0+radius*cos(theta2)),(int)(y0+radius*sin(theta2)), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:212:12: warning: passing arguments to 'MFBArc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | MFBArc(x0, y0, radius, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | Mfb_Arc(x0, y0, radius, theta1, theta2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | rrnd( x ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:230:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 230 | Mfb_Text(text, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:235:12: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | MFBText(text, x, y, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | Mfb_Text(text, x, y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:239:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 239 | Mfb_DefineColor(colorid, red, green, blue) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:245:19: warning: passing arguments to 'MFBDefineColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | MFBDefineColor(colorid, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | Mfb_DefineColor(colorid, red, green, blue) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:250:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 250 | Mfb_DefineLinestyle() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:257:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 257 | Mfb_SetLinestyle(linestyle) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:262:24: warning: passing arguments to 'MFBSetLineStyle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (MFBSetLineStyle(linestyle) != MFBOK) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:263:7: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 263 | externalerror("Bad linestyle"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | Mfb_SetLinestyle(linestyle) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:268:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | Mfb_SetColor(colorid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:272:20: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (MFBSetColor(colorid) != MFBOK) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:273:7: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 273 | externalerror("bad color"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | Mfb_SetColor(colorid) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:278:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 278 | Mfb_Update() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | Mfb_MakeMenu() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 292 | Mfb_MakeDialog() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:346:23: warning: passing arguments to 'MFBDefineLineStyle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | MFBDefineLineStyle(0, 0377); /* Solid. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:347:23: warning: passing arguments to 'MFBDefineLineStyle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | MFBDefineLineStyle(1, 0125); /* Dotted. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//mfb.c:350:27: warning: passing arguments to 'MFBDefineLineStyle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | MFBDefineLineStyle(i, j); | ^ 61 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:35:12: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | out_printf( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:39:16: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | out_printf( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:41:16: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | out_printf( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:55:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | out_printf("%s ", ccc[i]->co_comname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:56:23: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | out_printf(ccc[i]->co_help, cp_program); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:57:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:63:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | out_printf("%s ", c->co_comname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:64:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | out_printf(c->co_help, cp_program); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:66:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | out_send( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:68:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:83:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | out_printf("%s is aliased to ", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:86:29: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | wl_print(al->al_text, cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:87:29: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:93:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | com_help(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:308: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] 308 | extern void com_help(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:125:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (cp_getvar("level", VT_STRING, slevel)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:140:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | out_printf( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:142:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | out_printf( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:144:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | out_printf( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:162:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | out_printf("%s ", com->co_comname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:163:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | out_printf(com->co_help, cp_program); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:164:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:168:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | com_ahelp(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:306: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] 306 | extern void com_ahelp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:181:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | if (cp_getvar("helppath", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:182:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | path = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:188:32: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if (!(npath = cp_tildexpand(path))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:195:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | if (cp_getvar("helpregfont", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:196:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | hlp_regfontname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:197:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if (cp_getvar("helpboldfont", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:198:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | hlp_boldfontname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:199:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (cp_getvar("helpitalicfont", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:200:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | hlp_italicfontname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:201:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | if (cp_getvar("helptitlefont", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:202:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | hlp_titlefontname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:203:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | if (cp_getvar("helpbuttonfont", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:204:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | hlp_buttonfontname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:205:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | if (cp_getvar("helpinitxpos", VT_NUM, (char *) &i)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:207:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (cp_getvar("helpinitypos", VT_NUM, (char *) &i)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:209:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (cp_getvar("helpbuttonstyle", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:210:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | if (cieq(buf, "left")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:212:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | else if (cieq(buf, "center")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:214:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | else if (cieq(buf, "unif")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:220:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (cp_getvar("width", VT_NUM, (char *) &i)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:222:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (cp_getvar("display", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:223:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | hlp_displayname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:224:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | else if (cp_getvar("device", VT_STRING, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:225:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | hlp_displayname = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:228:13: warning: passing arguments to 'hlp_main' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | hlp_main(path, wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | com_ghelp(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:307: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] 307 | extern void com_ghelp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | hcomp(c1, c2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:311: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] 311 | extern int hcomp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:250:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | (void) cp_getvar("noaskquit", VT_BOOL, (char *) &noask); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:252:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | cp_ccon(false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | com_quit(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:309: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] 309 | extern void com_quit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | com_bug(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:305: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] 305 | extern void com_bug(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:367:6: warning: address of array 'Spice_Notice' will always evaluate to 'true' [-Wpointer-bool-conversion] 367 | if (Spice_Notice && *Spice_Notice) | ^~~~~~~~~~~~ ~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:369:6: warning: address of array 'Spice_Build_Date' will always evaluate to 'true' [-Wpointer-bool-conversion] 369 | if (Spice_Build_Date && *Spice_Build_Date) | ^~~~~~~~~~~~~~~~ ~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:372:23: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | s = wl_flatten(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:380:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | tfree(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | com_version(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//misccoms.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:310: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] 310 | extern void com_version(); | ^ 70 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//miscvars.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//miscvars.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//miscvars.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutctab.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutctab.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutctab.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:37:16: warning: passing arguments to 'inp_readall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | inp_readall(fp, &deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:41:28: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | realdeck = inp_deckcopy(deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:45:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | tt = copy(deck->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:79:26: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (!ciprefix(".control", dd->li_line) && | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:80:30: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | !ciprefix(".endc", dd->li_line)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:82:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | (void) cp_evloop(dd->li_line + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:84:37: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | (void) cp_evloop(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:83:17: warning: add explicit braces to avoid dangling else [-Wdangling-else] 83 | else | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:85:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:86:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:102:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if (ciprefix(".control", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:104:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:105:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:111:32: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | } else if (ciprefix(".endc", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:113:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:114:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:120:42: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | } else if (commands || prefix("*#", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:121:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:128:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (prefix("*#", dd->li_line)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:129:39: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | wl->wl_word = copy(dd->li_line + 2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:133:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:139:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:140:17: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:142:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | inp_casefix(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:143:28: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | inp_casefix(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:144:48: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (eq(s, ".width") || ciprefix(".four", s) || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:149:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | end->wl_next = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:153:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | wl = end = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:154:40: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | end->wl_word = copy(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:156:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | tfree(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:157:21: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | tfree(dd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:170:27: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | if (!cp_getvar("nosubckt", VT_BOOL, (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:172:49: warning: passing arguments to 'inp_subcktexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | deck->li_next = inp_subcktexpand(deck-> | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:175:26: warning: passing arguments to 'nutinp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | nutinp_dodeck(deck, tt, wl, false, options, filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:180:39: warning: passing arguments to 'wl_reverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | for (end = wl = wl_reverse(controls); wl; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:182:33: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | (void) cp_evloop(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:183:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | wl_free(end); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | inp_nutsource(fp, comfile, filename) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:278: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] 278 | extern void inp_nutsource(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:213:27: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | tempfile = smktemp("sp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:214:32: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (!(fp = inp_pathopen(tempfile, "w+"))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:220:36: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (!(tp = inp_pathopen(wl->wl_word, "r"))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:225:24: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | (void) unlink(tempfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:236:26: warning: passing arguments to 'inp_pathopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | fp = inp_pathopen(wl->wl_word, "r"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:244:31: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | if (ft_nutmeg || substring(".spiceinit", owl->wl_word) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:245:25: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | || substring("spice.rc", owl->wl_word)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:252:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | (void) unlink(tempfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | nutcom_source(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:280: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] 280 | extern void nutcom_source(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | nutinp_source(file) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | nutinp_dodeck(deck, tt, end, reuse, options, filename) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutinp.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:279: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] 279 | extern void nutinp_dodeck(); | ^ 55 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutmegif.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutmegif.c:10: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutmegif.c:10: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutmegif.c:16:34: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | /* ARGSUSED */ struct variable * nutif_getparam(ckt, name, param, ind, do_model) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//nutmegif.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:432: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] 432 | extern struct variable *nutif_getparam(); | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:38:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | d = vec_get(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:41:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:42:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | vv->va_name = copy(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:52:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:54:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | vv->va_name = copy(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:58:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | tv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:84:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:88:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | vv->va_string = copy(plot_cur->pl_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:90:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:94:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | vv->va_string = copy(plot_cur->pl_title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:96:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:100:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | vv->va_string = copy(plot_cur->pl_date); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:102:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:106:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | vv->va_string = copy(plot_cur->pl_typename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:108:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:115:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | tv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:117:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | tv->va_string = copy(pl->pl_typename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | cp_enqvar(word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:331: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] 331 | extern struct variable *cp_enqvar(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:148:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | if (tv = cp_enqvar("plots")) { | ~~~^~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:148:12: note: place parentheses around the assignment to silence this warning 148 | if (tv = cp_enqvar("plots")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:148:12: note: use '==' to turn this assignment into an equality comparison 148 | if (tv = cp_enqvar("plots")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:152:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 152 | if (tv = cp_enqvar("curplot")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:152:12: note: place parentheses around the assignment to silence this warning 152 | if (tv = cp_enqvar("curplot")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:152:12: note: use '==' to turn this assignment into an equality comparison 152 | if (tv = cp_enqvar("curplot")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:156:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 156 | if (tv = cp_enqvar("curplottitle")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:156:12: note: place parentheses around the assignment to silence this warning 156 | if (tv = cp_enqvar("curplottitle")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:156:12: note: use '==' to turn this assignment into an equality comparison 156 | if (tv = cp_enqvar("curplottitle")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:160:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 160 | if (tv = cp_enqvar("curplotname")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:160:12: note: place parentheses around the assignment to silence this warning 160 | if (tv = cp_enqvar("curplotname")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:160:12: note: use '==' to turn this assignment into an equality comparison 160 | if (tv = cp_enqvar("curplotname")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:164:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 164 | if (tv = cp_enqvar("curplotdate")) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:164:12: note: place parentheses around the assignment to silence this warning 164 | if (tv = cp_enqvar("curplotdate")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:164:12: note: use '==' to turn this assignment into an equality comparison 164 | if (tv = cp_enqvar("curplotdate")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | cp_usrvars(v1, v2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:182: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] 182 | extern void cp_usrvars(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:187:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | if (ciprefix(".opt", dd->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:188:24: warning: passing arguments to 'inp_casefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | inp_casefix(dd->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | inp_getopts(deck) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:330:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 330 | extern struct line *inp_getopts(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:230:26: warning: passing arguments to 'setdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | setdb(tv->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:232:18: warning: passing arguments to 'setdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | setdb(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:240:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | cp_program = copy(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:242:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | ft_rawfile = copy(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:281:26: warning: passing arguments to 'cp_rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | cp_rehash(s, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:296:24: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | plot_setcur(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:302:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | plot_cur->pl_name = copy(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:308:38: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | plot_cur->pl_title = copy(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:314:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | plot_cur->pl_date = copy(var->va_string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:375:22: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (if_option(ft_curckt->ci_ckt, var->va_name, var->va_type, vv)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:377:25: warning: passing arguments to 'if_option' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | } else if (if_option(NULL, var->va_name, var->va_type, vv)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | cp_usrset(var, isset) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:183: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] 183 | extern int cp_usrset(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | setdb(str) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//options.c:201: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] 201 | static void setdb(); | ^ 48 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:108:22: warning: passing arguments to 'beginPlot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | return (beginPlot(analysisPtr, circuitPtr, name, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | OUTpBeginPlot(circuitPtr, analysisPtr, analName, refName, refType, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:127:22: warning: passing arguments to 'beginPlot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | return (beginPlot(analysisPtr, circuitPtr, "circuit name", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | OUTwBeginPlot(circuitPtr, analysisPtr, analName, refName, refType, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:158:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (cp_getvar("printinfo", VT_BOOL, (char *) &printinfo)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:161:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | *runp = run = alloc(struct runDesc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:166:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | run->name = copy(cktName); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:167:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | run->type = copy(analName); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:178:16: warning: call to undeclared function 'ft_getSaves'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | numsaves = ft_getSaves(&saves); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:180:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | savesused = (bool *) tmalloc(sizeof (bool) * numsaves); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:183:43: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (saves[i].analysis && !cieq(saves[i].analysis, an_name)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:188:14: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if (cieq(saves[i].name, "all")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:199:20: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | addDataDesc(run, refName, refType, -1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:201:41: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | if (!savesused[i] && name_eq(saves[i].name, refName)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:215:18: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (name_eq(saves[i].name, dataNames[j])) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:216:15: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | addDataDesc(run, dataNames[j], dataType, j); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:226:37: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (!refName || !name_eq(dataNames[i], refName)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:227:28: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | addDataDesc(run, dataNames[i], dataType, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:235:26: warning: passing arguments to 'parseSpecial' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!parseSpecial(saves[i].name, namebuf, parambuf, depbuf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:244:28: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | if (name_eq(depbuf, run->data[j].name)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:249:32: warning: passing arguments to 'name_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | if (name_eq(depbuf, dataNames[j])) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:257:28: warning: passing arguments to 'addDataDesc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | addDataDesc(run, dataNames[j], dataType, j); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:264:23: warning: passing arguments to 'addSpecialDesc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | addSpecialDesc(run, saves[i].name, namebuf, parambuf, depind); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:269:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | tfree(saves[i].analysis); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:270:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | tfree(saves[i].name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:272:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | tfree(savesused); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:286:21: warning: call to undeclared function 'ft_getOutReq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | run->writeOut = ft_getOutReq(&run->fp, &run->runPlot, &run->binary, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:290:17: warning: passing arguments to 'fileInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | fileInit(run); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:292:17: warning: passing arguments to 'plotInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | plotInit(run); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | beginPlot(analysisPtr, circuitPtr, cktName, analName, refName, refType, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:64: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] 64 | static int beginPlot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:310:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | run->data = (dataDesc *) tmalloc(sizeof (dataDesc)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:312:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | run->data = (dataDesc *) trealloc((char *) run->data, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:318:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | data->name = copy(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | addDataDesc(run, name, type, ind) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:65: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] 65 | static int addDataDesc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:346:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | run->data = (dataDesc *) tmalloc(sizeof (dataDesc)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:348:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | run->data = (dataDesc *) trealloc((char *) run->data, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:354:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | data->name = copy(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:356:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | unique = copy(devname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:360:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | data->specParamName = copy(param); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | addSpecialDesc(run, name, devname, param, depind) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:66: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] 66 | static int addSpecialDesc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:388:20: warning: passing arguments to 'fileInit_pass2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | fileInit_pass2(plotPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:389:23: warning: passing arguments to 'fileStartPoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | fileStartPoint(run->fp, run->binary, run->pointCount); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:393:32: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | fileAddComplexValue(run->fp, run->binary, refValue->cValue); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:395:29: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | fileAddRealValue(run->fp, run->binary, refValue->rValue); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:404:35: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | fileAddRealValue(run->fp, run->binary, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:408:38: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | fileAddComplexValue(run->fp, run->binary, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:415:32: warning: passing arguments to 'getSpecial' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | if (!getSpecial(&run->data[i], run, &val)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:418:35: warning: passing arguments to 'fileAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | fileAddRealValue(run->fp, run->binary, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:421:38: warning: passing arguments to 'fileAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | fileAddComplexValue(run->fp, run->binary, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:427:21: warning: passing arguments to 'fileEndPoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | fileEndPoint(run->fp, run->binary); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:432:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | plotAddRealValue(&run->data[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:435:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | plotAddComplexValue(&run->data[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:439:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | plotAddRealValue(&run->data[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:443:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | plotAddComplexValue(&run->data[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:448:32: warning: passing arguments to 'getSpecial' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | if (!getSpecial(&run->data[i], run, &val)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:451:37: warning: passing arguments to 'plotAddRealValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | plotAddRealValue(&run->data[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:454:40: warning: passing arguments to 'plotAddComplexValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | plotAddComplexValue(&run->data[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:460:17: warning: passing arguments to 'gr_iplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | gr_iplot(run->runPlot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:463:19: warning: passing arguments to 'ft_bpcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | if (ft_bpcheck(run->runPlot, run->pointCount) == false) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | OUTpData(plotPtr, refValue, valuePtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | OUTwReference(plotPtr, valuePtr, refPtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | OUTwData(plotPtr, dataIndex, valuePtr, refPtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | OUTwEnd(plotPtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:509:16: warning: passing arguments to 'fileEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | fileEnd(run); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:512:16: warning: passing arguments to 'plotEnd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | plotEnd(run); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:515:12: warning: passing arguments to 'freeRun' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | freeRun(run); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | OUTendPlot(plotPtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | OUTbeginDomain(plotPtr, refName, refType, outerRefValue) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | OUTendDomain(plotPtr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | OUTattributes(plotPtr, varName, param, value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | fileInit(run) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:67: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] 67 | static void fileInit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:647:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | if (substring("#branch", name)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:649:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | else if (cieq(name, "time")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:651:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | else if (cieq(name, "frequency")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:657:29: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | ft_typenames(type)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | fileInit_pass2(run) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c: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 | static void fileInit_pass2( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | fileStartPoint(fp, bin, num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:69: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] 69 | static void fileStartPoint(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | fileAddRealValue(fp, bin, value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:70: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] 70 | static void fileAddRealValue(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | fileAddComplexValue(fp, bin, value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:71: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] 71 | static void fileAddComplexValue(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | fileEndPoint(fp, bin) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c: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 | static void fileEndPoint(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | fileEnd(run) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c: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 | static void fileEnd(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:751:33: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | struct plot *pl = plot_alloc(run->type); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:757:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | pl->pl_title = copy(run->name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:758:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | pl->pl_name = copy(run->type); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:759:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | pl->pl_date = copy(datestring( )); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:761:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | plot_new(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:762:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | plot_setcur(pl->pl_typename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:774:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | v = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:777:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | v->v_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:779:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | v->v_name = copy(dd->name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:780:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | if (substring("#branch", v->v_name)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:782:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | else if (cieq(v->v_name, "time")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:784:22: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | else if (cieq(v->v_name, "frequency")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:800:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | vec_new(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | plotInit(run) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:74: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] 74 | static void plotInit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:813:42: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | v->v_realdata = (double *) trealloc((char *) v->v_realdata, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:818:43: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | v->v_compdata = (complex *) trealloc((char *) v->v_compdata, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | plotAddRealValue(desc, value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:75: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] 75 | static void plotAddRealValue(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:835:41: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | v->v_compdata = (complex *) trealloc((char *) v->v_compdata, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | plotAddComplexValue(desc, value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c: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 | static void plotAddComplexValue(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | plotEnd(run) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:77: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] 77 | static void plotEnd(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | parseSpecial(name, dev, param, ind) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:78: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] 78 | static bool parseSpecial(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:910:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 910 | if (s = index(n1, '(')) { | ~~^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:910:11: note: place parentheses around the assignment to silence this warning 910 | if (s = index(n1, '(')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:910:11: note: use '==' to turn this assignment into an equality comparison 910 | if (s = index(n1, '(')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:917:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 917 | if (s = index(n2, '(')) { | ~~^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:917:11: note: place parentheses around the assignment to silence this warning 917 | if (s = index(n2, '(')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:917:11: note: use '==' to turn this assignment into an equality comparison 917 | if (s = index(n2, '(')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | name_eq(n1, n2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:79: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] 79 | static bool name_eq(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:943:31: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:943:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:943:19: note: place parentheses around the assignment to silence this warning 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:943:19: note: use '==' to turn this assignment into an equality comparison 943 | } else if (vv = if_getstat(run->circuit, &desc->name[1])) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:955:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | tfree(vv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | getSpecial(desc, run, val) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:80: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] 80 | static bool getSpecial(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:971:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | tfree(run->data[i].name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:972:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | tfree(run->data[i].specParamName); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:974:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | tfree(run->data); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 963 | freeRun(run) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:81: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] 81 | static void freeRun(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:1020:41: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | if ((flags == ERR_INFO) && cp_getvar("printinfo", VT_BOOL, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//outitf.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | OUTerror(flags,format,names) | ^ 136 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:48:30: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | xsbuf = sbuf = wl_flatten(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:52:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | tfree(xsbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:62:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | p->pn_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:70:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | tfree(xsbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:72:24: warning: passing arguments to 'checkvalid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (!checkvalid(pn)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | ft_getpnames(wl, check) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:340: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] 340 | extern struct pnode *ft_getpnames(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | checkvalid(pn) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:20: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] 20 | static bool checkvalid(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:270:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | el.e_string = copy(++sbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:282:21: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | td = ft_numparse(&ss, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:338:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | el.e_string = copy(sbuf); /* XXXX !!!! */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:472:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | pn = makepnode(&stack[st]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:478:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | lpn = makepnode(&stack[st]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:481:29: warning: passing arguments to 'mkunode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | pn = mkunode(stack[sp].e_token, lpn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:484:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | pn = makepnode(&stack[sp + 1]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:489:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | lpn = makepnode(&stack[sp + 2]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:493:35: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | if (!(pn = mkfnode(stack[sp].e_string, lpn))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:496:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | lpn = makepnode(&stack[sp]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:497:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | rpn = makepnode(&stack[st]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:500:29: warning: passing arguments to 'mkbnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | pn = mkbnode(stack[sp + 1].e_token, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:509:19: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | pn = makepnode(&stack[1]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:530:28: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | return (mksnode(elem->e_string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:532:28: warning: passing arguments to 'mknnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | return (mknnode(elem->e_double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | makepnode(elem) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:28: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] 28 | static struct pnode *makepnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:616:9: warning: parameter 'opnum' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | mkbnode(opnum, arg1, arg2) | ^ 617 | struct pnode *arg1, *arg2; 618 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:628:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | p = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | mkbnode(opnum, arg1, arg2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:26: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] 26 | static struct pnode *mkbnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:641:9: warning: parameter 'op' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 641 | mkunode(op, arg) | ^ 642 | struct pnode *arg; 643 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:647:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | p = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | mkunode(op, arg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:27: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] 27 | static struct pnode *mkunode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:692:24: warning: passing arguments to 'ft_substdef' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | q = ft_substdef(func, arg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:699:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | d = vec_get(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:707:24: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | return (mksnode(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:717:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | tfree(arg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:721:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | p = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | mkfnode(func, arg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:25: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] 25 | static struct pnode *mkfnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:742:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | p = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:743:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | v = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:760:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | v->v_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:763:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | v->v_realdata = (double *) tmalloc(sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:767:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | vec_new(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | mknnode(number) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:24: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] 24 | static struct pnode *mknnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:780:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | p = alloc(struct pnode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:786:16: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | v = vec_get(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:788:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | nv = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:791:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | nv->v_name = copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:798:22: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | nv = vec_copy(vs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:799:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | vec_new(nv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | mksnode(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:23: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] 23 | static struct pnode *mksnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:820:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | tfree(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | free_pnode(t) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//parse.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:341: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] 341 | extern void free_pnode(); | ^ 62 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:6: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:6: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:20:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 20 | Plt5_Init() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | Plt5_NewViewport(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:55:7: warning: call to undeclared function 'gr_relinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | gr_relinestyle(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | Plt5_NewViewport(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | Plt5_Close() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:91:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 91 | Plt5_Clear() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | Plt5_DrawLine(x1, y1, x2, y2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | Plt5_Arc(x0, y0, radius, theta1, theta2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 119 | Plt5_Text(text, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:129:5: warning: call to undeclared function 'Plt5_SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | Plt5_SetLinestyle(SOLID); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | Plt5_Text(text, x, y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:150:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | internalerror("bad linestyleid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | Plt5_SetLinestyle(linestyleid) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:160:15: warning: parameter 'colorid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | Plt5_SetColor(colorid) | ^ 161 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | Plt5_SetColor(colorid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plot5.c:167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 167 | Plt5_Update() | ^ | int 22 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:41:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!cp_getvar("polydegree", VT_NUM, (char *) °ree)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:53:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (!cp_getvar("gridsize", VT_NUM, (char *) &gridsize)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:85:17: warning: passing arguments to 'gr_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | gr_start(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:107:25: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | gr_point(v, v->v_realdata[i], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:112:25: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | gr_point(v, realpart(&v->v_compdata[i]), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:118:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | gr_end(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:137:11: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | gr_point(v, dx, dy, lx, ly, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:139:11: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | gr_point(v, dx, dy, lx, ly, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:147:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | gr_point(v, dx, dy, lx, ly, 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:148:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | gr_end(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:157:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | gridbuf = (double *) tmalloc(gridsize * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:158:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | result = (double *) tmalloc(gridsize * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:162:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | ydata = (double *) tmalloc(v->v_length * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:170:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | xdata = (double *) tmalloc(xs->v_length * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:176:23: warning: passing arguments to 'ft_minmax' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | mm = ft_minmax(xs, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:184:28: warning: passing arguments to 'ft_interpolate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (!ft_interpolate(ydata, result, xdata, v->v_length, gridbuf, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:195:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | gr_point(v, gridbuf[i], result[i], gridbuf[i ? (i - 1) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:197:15: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | gr_end(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:198:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | tfree(gridbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:199:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | tfree(result); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:201:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | tfree(ydata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:203:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | tfree(xdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:210:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | scratch = (double *) tmalloc((degree + 1) * (degree + 2) * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:212:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | result = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:213:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | xdata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:214:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | ydata = (double *) tmalloc((degree + 1) * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:232:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:237:23: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (ft_polyfit(ydata, xdata, result, degree, scratch)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:250:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | plotinterval(v, ydata[i], ydata[i + 1], result, degree, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:253:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | plotinterval(v, xdata[i], xdata[i + 1], result, degree, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:277:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | while (!ft_polyfit(xdata, ydata, result, degree, scratch)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:278:27: warning: passing arguments to 'ft_polyfit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | if (ft_polyfit(ydata, xdata, result, degree, scratch)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:289:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | plotinterval(v, ydata[degree - 1], ydata[degree], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:292:25: warning: passing arguments to 'plotinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | plotinterval(v, xdata[degree - 1], xdata[degree], | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:295:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | tfree(scratch); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:296:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | tfree(xdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:297:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | tfree(ydata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:298:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | tfree(result); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:299:11: warning: passing arguments to 'gr_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | gr_end(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | ft_graf(v, xs, nostart) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:347: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] 347 | extern void ft_graf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:306:33: warning: parameter 'degree' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 306 | plotinterval(v, lo, hi, coeffs, degree, rotated) | ^ 307 | struct dvec *v; 308 | double lo, hi; 309 | register double *coeffs; 310 | bool rotated; 311 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:326:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if (!cp_getvar("polysteps", VT_NUM, (char *) &steps)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:332:18: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | ly = ft_peval(lo, coeffs, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:334:22: warning: passing arguments to 'ft_peval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | dy = ft_peval(dx, coeffs, degree); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:336:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | gr_point(v, dy, dx, ly, lx, -1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:338:21: warning: passing arguments to 'gr_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | gr_point(v, dx, dy, lx, ly, -1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | plotinterval(v, lo, hi, coeffs, degree, rotated) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//plotcurv.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static void plotinterval(); | ^ 52 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ft_minmax(v, real) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:346:16: 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] 346 | extern double *ft_minmax(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:51:30: warning: parameter 'minp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | ft_findpoint(pt, lims, maxp, minp, islog) | ^ 52 | double pt, *lims; 53 | bool islog; 54 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:51:24: warning: parameter 'maxp' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | ft_findpoint(pt, lims, maxp, minp, islog) | ^ 52 | double pt, *lims; 53 | bool islog; 54 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ft_findpoint(pt, lims, maxp, minp, islog) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:345: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] 345 | extern int ft_findpoint(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:89:6: warning: call to undeclared function 'SMITH_tfm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | SMITH_tfm( v->v_realdata[i], 0.0, &d, &d2 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ft_SMITHminmax(v, yval) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | SMITH_tfm(re, im, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//points.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:43:20: warning: passing arguments to 'com_display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | com_display((wordlist *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:47:19: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | p = wl_flatten(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:51:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 51 | if (rhs = index(p, '=')) { | ~~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:51:13: note: place parentheses around the assignment to silence this warning 51 | if (rhs = index(p, '=')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:51:13: note: use '==' to turn this assignment into an equality comparison 51 | if (rhs = index(p, '=')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:57:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 57 | if (s = index(p, '[')) { | ~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:57:11: note: place parentheses around the assignment to silence this warning 57 | if (s = index(p, '[')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:57:11: note: use '==' to turn this assignment into an equality comparison 57 | if (s = index(p, '[')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:89:23: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | nn = ft_getpnames(&fake_wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:90:21: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | t = ft_evaluate(nn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:92:16: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | free_pnode(nn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:97:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:104:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:130:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | nn = ft_getpnames(&fake_wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:133:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:136:20: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | t = ft_evaluate(nn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:139:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:146:16: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | n = vec_get(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:155:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:160:6: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | n = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:162:18: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | n->v_name = copy(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:177:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | n->v_realdata = (double *) tmalloc(n->v_length * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:179:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | n->v_compdata = (complex *) tmalloc(n->v_length * sizeof(complex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:181:9: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | vec_new(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:214:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:222:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:238:13: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | cp_addkword(CT_VECTOR, n->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:241:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | tfree(p); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | com_let(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:366: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] 366 | extern void com_let(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:252:19: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | vec_remove(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | com_unlet(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:367: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] 367 | extern void com_unlet(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:266:20: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | ft_loadfile(ft_rawfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:269:35: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | ft_loadfile(cp_unquote(wl->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:269:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | ft_loadfile(cp_unquote(wl->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:274:16: warning: passing arguments to 'com_display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | com_display(NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | com_load(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:368: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] 368 | extern void com_load(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:311:27: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | for (nn = ft_getpnames(wl, true); nn; nn = nn->pn_next) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:312:30: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if (!(v = ft_evaluate(nn))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:348:37: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | vec_basename(v)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:350:48: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | (void) strcpy(buf, vec_basename(v)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:363:33: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | printnum(*v->v_realdata)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:362:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | out_printf("%s = %s\n", buf, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:366:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | copy(printnum(realpart(v->v_compdata))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:366:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | copy(printnum(realpart(v->v_compdata))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:367:38: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | copy(printnum(imagpart(v->v_compdata)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:367:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | copy(printnum(imagpart(v->v_compdata)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:365:31: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | out_printf("%s = %s,%s\n", buf, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:370:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | out_printf("%s = ( ", buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:374:36: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | printnum(v->v_realdata[i])); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:375:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:380:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | out_send("\n\t"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:383:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | out_send("\t"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:386:42: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | copy(printnum(realpart(&v->v_compdata[i]))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:386:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | copy(printnum(realpart(&v->v_compdata[i]))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:387:42: warning: passing arguments to 'printnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | copy(printnum(imagpart(&v->v_compdata[i])))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:387:33: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | copy(printnum(imagpart(&v->v_compdata[i])))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:388:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:393:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | out_send("\n\t"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:396:37: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | out_send("\t"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:398:25: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | out_send(")\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:402:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (cp_getvar("width", VT_NUM, (char *) &i)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:406:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | if (cp_getvar("height", VT_NUM, (char *) &i)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:410:23: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | if (!cp_getvar("nobreak", VT_BOOL, (char *) &nobreak) && !ft_nopage) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:414:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | (void) cp_getvar("noprintscale", VT_BOOL, (char *) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:421:48: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | if (bv->v_plot->pl_scale && !vec_eq(bv, bv->v_plot->pl_scale)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:422:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | nv = vec_copy(bv->v_plot->pl_scale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:423:24: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | vec_new(nv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:447:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | out_send(buf2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:448:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | out_send(p->pl_title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:449:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:450:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | out_send(buf2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:453:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:454:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:459:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | out_send(buf2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:475:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:476:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:481:17: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | out_send(buf2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:487:14: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:491:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | out_send("\t\t"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:493:33: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | out_send("\t\t\t\t"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:498:12: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:503:12: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | out_send(out_pbuf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:507:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | out_send("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:515:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | out_send("\f\n"); /* Form feed. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:524:21: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | out_send("\f\n"); /* Form feed. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | com_print(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:369: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] 369 | extern void com_print(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:557:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | if (cp_getvar("filetype", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:565:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | (void) cp_getvar("appendwrite", VT_BOOL, (char *) &appendwrite); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:568:29: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | names = ft_getpnames(wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:570:29: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | names = ft_getpnames(&all, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:574:24: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | d = ft_evaluate(n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:600:30: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | vv = vec_copy(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:604:42: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | vv->v_name = vec_basename(vv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:612:27: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | if (vec_eq(d, tpl->pl_scale)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:624:40: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | newplot.pl_scale = vec_copy(tpl->pl_scale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:638:35: warning: passing arguments to 'vec_eq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | if (vec_eq(vv, d->v_scale)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:641:34: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | vv = vec_copy(d->v_scale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:653:22: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | raw_write(file, &newplot, appendwrite, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:655:22: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | raw_write(file, &newplot, appendwrite, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | com_write(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:370: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] 370 | extern void com_write(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:685:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | s = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:686:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | d = vec_get(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:692:30: warning: passing arguments to 'vec_transpose' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | vec_transpose(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | com_transpose(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:374: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] 374 | extern void com_transpose(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:714:20: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | s = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:715:17: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | d = vec_get(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:722:10: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | pvec(plot_cur->pl_scale); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | com_setscale(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:373: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] 373 | extern void com_setscale(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:748:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | s = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:749:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | d = vec_get(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:755:21: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | pvec(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:769:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | out_printf("Here are the vectors currently active:\n\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:770:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | dvs = (struct dvec **) tmalloc(len * (sizeof (struct dvec *))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:773:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | if (!cp_getvar("nosort", VT_BOOL, (char *) &b)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:776:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | out_printf("Title: %s\n", plot_cur->pl_title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:777:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | out_printf("Name: %s (%s)\nDate: %s\n\n", | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:782:13: warning: passing arguments to 'pvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | pvec(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | com_display(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:365: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] 365 | extern void com_display(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:795:25: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | ft_typenames(d->v_type), isreal(d) ? "real" : | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:805:13: warning: enumeration values 'GRID_NONE' and 'GRID_LIN' not handled in switch [-Wswitch] 805 | switch (d->v_gridtype) { | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:831:13: warning: enumeration value 'PLOT_LIN' not handled in switch [-Wswitch] 831 | switch (d->v_plottype) { | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:851:42: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | sprintf(buf2, ", dims = [%s]", dimstring(d->v_dims, d->v_numdims)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:859:13: warning: passing arguments to 'out_send' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | out_send(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | pvec(d) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:20: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] 20 | static void pvec(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | dcomp(v1, v2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:19: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] 19 | static int dcomp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:973:26: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | if (!(d = ft_numparse(&s, false))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:982:22: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | pn = ft_getpnames(wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:984:30: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | if (!(n = ft_evaluate(pn))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1000:15: warning: passing arguments to 'vec_remove' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | vec_remove(newvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1001:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | v = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1002:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | v->v_name = copy(newvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1008:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | v->v_compdata = (complex *) tmalloc(i * sizeof (complex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1010:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | v->v_realdata = (double *) tmalloc(i * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1029:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | vec_new(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1031:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | cp_addkword(CT_VECTOR, v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | com_cross(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:364: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] 364 | extern void com_cross(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1042:17: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | killplot(plot_cur); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1047:25: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | killplot(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1055:25: warning: passing arguments to 'killplot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | killplot(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | com_destroy(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:371: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] 371 | extern void com_destroy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1078:17: warning: passing arguments to 'vec_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | vec_free(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1095:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | tfree(pl->pl_title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1096:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | tfree(pl->pl_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1097:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | tfree(pl->pl_typename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1098:12: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | wl_free(pl->pl_commands); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | killplot(pl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:21: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] 21 | static void killplot( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1113:20: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | plot_setcur(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1129:21: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | if (!(s = gettok(&t))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1132:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | plot_setcur(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | com_splot(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postcoms.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:372: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] 372 | extern void com_splot(); | ^ 163 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:69:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | PS_Init() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:71:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!cp_getvar("hcopyscale", VT_STRING, psscale)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:95:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if (!cp_getvar("hcopyfont", VT_STRING, psfont)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:97:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | if (!cp_getvar("hcopyfontsize", VT_STRING, psfontsize)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:132:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 132 | PS_NewViewport(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:214:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | graph->devdep = tmalloc(sizeof(PSdevdep)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | PS_NewViewport(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | PS_Close() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:243:7: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | DestroyGraph(hcopygraphid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:244:31: warning: passing arguments to 'FindGraph' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | currentgraph = FindGraph(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:248:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 248 | PS_Clear() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:255:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 255 | PS_DrawLine(x1, y1, x2, y2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 288 | PS_Arc(x0, y0, r, theta1, theta2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:311:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 311 | PS_Text(text, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:321:5: warning: call to undeclared function 'PS_SetLinestyle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | PS_SetLinestyle(SOLID); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | PS_Text(text, x, y) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:353:7: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | internalerror("bad linestyleid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | PS_SetLinestyle(linestyleid) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:371:13: warning: parameter 'colorid' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | PS_SetColor(colorid) | ^ 372 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:371:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | PS_SetColor(colorid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//postsc.c:387:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 387 | PS_Update() | ^ | int 27 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:42:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (!cp_getvar("nopadding", VT_BOOL, (char *) &raw_padding)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:94:43: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | fprintf(fp, "Dimensions: %s\n", dimstring(dims, numdims)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:101:22: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | wl = cp_varwl(vv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:108:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | wl_print(wl, fp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:129:29: warning: passing arguments to 'ft_typenames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | ft_typenames(v->v_type)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:150:39: warning: passing arguments to 'dimstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | fprintf(fp, " dims=%s", dimstring(v->v_dims, v->v_numdims)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | raw_write(name, pl, app, binary) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:379: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] 379 | extern void raw_write(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:272:21: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (ciprefix("title:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:276:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | title = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:277:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | } else if (ciprefix("date:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:281:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | date = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:282:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | } else if (ciprefix("plotname:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:295:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | curpl = alloc(struct plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:298:34: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | curpl->pl_name = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:300:14: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | date = copy(datestring( )); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:302:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | curpl->pl_title = copy(title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:305:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | } else if (ciprefix("flags:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:308:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | while (t = gettok(&s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:308:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 308 | while (t = gettok(&s)) { | ~~^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:308:22: note: place parentheses around the assignment to silence this warning 308 | while (t = gettok(&s)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:308:22: note: use '==' to turn this assignment into an equality comparison 308 | while (t = gettok(&s)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:309:25: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | if (cieq(t, "real")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:311:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | else if (cieq(t, "complex")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:313:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | else if (cieq(t, "unpadded")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:315:30: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | else if (cieq(t, "padded")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:322:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | } else if (ciprefix("no. variables:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:326:28: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | nvars = scannum(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:327:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | } else if (ciprefix("no. points:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:331:30: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | npoints = scannum(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:332:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | } else if (ciprefix("dimensions:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:340:17: warning: passing arguments to 'atodims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | if (atodims(s, dims, &numdims)) { /* Something's wrong. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:362:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | } else if (ciprefix("command:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:368:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:369:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | wl->wl_word = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:378:29: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | (void) cp_evloop(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:379:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | } else if (ciprefix("option:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:384:30: warning: passing arguments to 'cp_lexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | wl = cp_lexer(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:389:46: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | vv->va_next = cp_setparse(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:391:48: warning: passing arguments to 'cp_setparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | curpl->pl_env = cp_setparse(wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:395:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | } else if (ciprefix("variables:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:414:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | v = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:432:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | (void) gettok(&s); /* The index field. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:433:31: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | if (t = gettok(&s)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:433:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 433 | if (t = gettok(&s)) | ~~^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:433:23: note: place parentheses around the assignment to silence this warning 433 | if (t = gettok(&s)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:433:23: note: use '==' to turn this assignment into an equality comparison 433 | if (t = gettok(&s)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:439:27: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | t = gettok(&s); /* The type name. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:441:42: warning: passing arguments to 'ft_typnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | v->v_type = ft_typnum(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:448:61: warning: passing arguments to 'ft_typabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | if (isdigit(*v->v_name) && (r = ft_typabbrev(v | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:452:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | v->v_name = copy(buf2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:455:34: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | while (t = gettok(&s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:455:26: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 455 | while (t = gettok(&s)) { | ~~^~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:455:26: note: place parentheses around the assignment to silence this warning 455 | while (t = gettok(&s)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:455:26: note: use '==' to turn this assignment into an equality comparison 455 | while (t = gettok(&s)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:456:33: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (ciprefix("min=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:463:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | } else if (ciprefix("max=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:470:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | } else if (ciprefix("color=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:471:45: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | v->v_defcolor = copy(t + 6); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:472:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | } else if (ciprefix("scale=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:475:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | copy(t + 6); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:476:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | } else if (ciprefix("grid=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:478:40: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | scannum(t + 5); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:479:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | } else if (ciprefix("plot=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:481:40: warning: passing arguments to 'scannum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | scannum(t + 5); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:482:40: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | } else if (ciprefix("dims=", t)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:483:32: warning: passing arguments to 'fixdims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | fixdims(v, t + 5); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:501:55: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | v->v_realdata = (double *) tmalloc( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:504:56: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | v->v_compdata = (complex *) tmalloc( | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:507:28: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | } else if (ciprefix("values:", buf) || | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:508:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | ciprefix("binary:", buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:528:33: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | if (cieq((char *) v->v_scale, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | raw_read(name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:380:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 380 | extern struct plot *raw_read(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:651:16: warning: passing arguments to 'atodims' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | if (atodims(s, v->v_dims, &(v->v_numdims))) { /* Something's wrong. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | fixdims(v, s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//rawfile.c:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | static void fixdims(); | ^ 74 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:72:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 72 | init_time() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:95:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | printres((char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:98:32: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | printres(cp_unquote(wl->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:98:21: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | printres(cp_unquote(wl->wl_word)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:103:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | printres("cputime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:105:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | printres("totalcputime"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:107:17: warning: passing arguments to 'printres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | printres("space"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | com_rusage(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:384: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] 384 | extern void com_rusage(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:222:16: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 221 | fprintf(cp_out, "Total %s time: %lu.%03lu seconds.\n", | ~~~ | %d 222 | cpu_elapsed, total, totalu); | ^~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:222:23: warning: format specifies type 'unsigned long' but the argument has type 'int' [-Wformat] 221 | fprintf(cp_out, "Total %s time: %lu.%03lu seconds.\n", | ~~~~~ | %03d 222 | cpu_elapsed, total, totalu); | ^~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:311:20: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | v = if_getstat(ft_curckt->ci_ckt, NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:313:20: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | v = if_getstat(ft_curckt->ci_ckt, name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:316:30: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | wl_print(cp_varwl(v), cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:316:21: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | wl_print(cp_varwl(v), cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:323:34: warning: passing arguments to 'cp_varwl' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | wl_print(cp_varwl(v), cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:323:25: warning: passing arguments to 'wl_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | wl_print(cp_varwl(v), cp_out); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | printres(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//resource.c:54: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] 54 | static void printres(); | ^ 22 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:61:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | if (ciprefix(wl->wl_word, p->ci_name)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:73:28: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | cp_kwswitch(CT_DEVNAMES, p->ci_devices); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:74:42: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ft_curckt->ci_nodes = cp_kwswitch(CT_NODENAMES, p->ci_nodes); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | com_scirc(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:400: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] 400 | extern void com_scirc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:84:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | dosim("pz", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | com_pz(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:393: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] 393 | extern void com_pz(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:92:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | dosim("op", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | com_op(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:392: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] 392 | extern void com_op(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:100:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | dosim("dc", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | com_dc(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:391: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] 391 | extern void com_dc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:108:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | dosim("ac", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | com_ac(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:390: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] 390 | extern void com_ac(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:116:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | dosim("tf", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | com_tf(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:399: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] 399 | extern void com_tf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:124:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | dosim("tran", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | com_tran(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:398: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] 398 | extern void com_tran(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:132:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | dosim("sens", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | com_sens(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:394: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] 394 | extern void com_sens(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:140:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | dosim("disto", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | com_disto(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:401: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] 401 | extern void com_disto(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:148:10: warning: passing arguments to 'dosim' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | dosim("noise", wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | com_noise(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:402: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] 402 | extern void com_noise(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:167:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | ww = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:171:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | ww->wl_word = copy(what); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:174:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | if (cp_getvar("filetype", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:203:19: warning: passing arguments to 'com_resume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | com_resume((wordlist *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:238:23: warning: passing arguments to 'if_sens_run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (if_sens_run(ft_curckt->ci_ckt, ww, ft_curckt->ci_symtab) == 1) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:242:9: warning: call to undeclared function 'MFBHalt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 242 | MFBHalt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:248:21: warning: passing arguments to 'if_run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | err = if_run(ft_curckt->ci_ckt, what, ww, ft_curckt->ci_symtab); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | dosim(what, wl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:19: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] 19 | static int dosim(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | com_run(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:397: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] 397 | extern void com_run(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | ft_dorun(file) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:403: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] 403 | extern int ft_dorun(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | ft_getOutReq(fpp, plotp, binp, name, title) | ^ 49 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:55:42: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | (void) sprintf(buf, ".%s", wl_flatten(args)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:69:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | ft_sperror(err,"deleteTask"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:76:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | ft_sperror(err,"newTask"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:89:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | ft_sperror(err,"createOptions"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:109:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | ft_sperror(err,"createSense"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:132:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | ft_sperror(err,"createAC"); /* or similar error message */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:176:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | ft_sperror(err,"createOP"); /* or similar error message */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:198:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | ft_sperror(err,"createOP"); /* or similar error message */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:245:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | ft_sperror(err,"createTRAN"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:337:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | ft_sperror(err, "doAnalyses"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | if_sens_run(t,args,tab) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//shyu.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:430: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] 430 | extern int if_sens_run(); | ^ 15 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:55:2: warning: call to undeclared function 'MFBHalt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | MFBHalt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:64:15: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | sigfloat(sig, code) | ^ 65 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:64:10: warning: parameter 'sig' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | sigfloat(sig, code) | ^ 65 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:67:12: warning: passing arguments to 'fperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | fperror("Error", code); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | sigfloat(sig, code) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:415:20: 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] 415 | extern SIGNAL_TYPE sigfloat(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:81:12: warning: passing arguments to 'cp_ccon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | cp_ccon(false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//signal.c:83:17: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | (void) kill(getpid(), SIGTSTP); /* This should stop us */ | ^ 11 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spcmdtab.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spcmdtab.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spcmdtab.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:51:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ft_sperror(err, "CKTinit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:56:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ft_sperror(err,"newUid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:61:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | ft_sperror(err,"newTask"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:74:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | ft_sperror(err,"newUid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:81:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | ft_sperror(err,"createOptions"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if_inpdeck(deck, tab) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:428: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] 428 | extern char *if_inpdeck(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:122:46: warning: passing arguments to 'wl_flatten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | (void) sprintf(buf, ".%s", wl_flatten(args)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:131:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | ft_sperror(err,"deleteTask"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:138:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | ft_sperror(err,"newUid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:144:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | ft_sperror(err,"newTask"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:157:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | ft_sperror(err,"newUid"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:164:27: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | ft_sperror(err,"createOptions"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:191:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ft_sperror(err, "doAnalyses"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:200:23: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | ft_sperror(err, "doAnalyses"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | if_run(t, what, args, tab) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:429: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] 429 | extern int if_run(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:319:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | pval.sValue = copy(value); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:344:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | ft_sperror(err, "setAnalysisParm(options)"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if_option(ckt, name, type, value) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:436: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] 436 | extern int if_option(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | if_dump(ckt, file) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:435: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] 435 | extern void if_dump(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | if_cktfree(ckt, tab) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:434: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] 434 | extern void if_cktfree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if_errstring(code) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:427: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] 427 | extern char *if_errstring(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:431:27: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | typecode = finddev(ckt, *name,(GENERIC**) &dev,(GENERIC**) &mod); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:444:23: warning: passing arguments to 'doask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | pv = doask(ckt, typecode, dev, mod, opt, ind); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:446:31: warning: passing arguments to 'parmtovar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | tv = parmtovar(pv, opt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:459:27: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:467:25: warning: passing arguments to 'parmlookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | opt = parmlookup(device, &dev, param, do_model, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:473:19: warning: passing arguments to 'doask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | pv = doask(ckt, typecode, dev, mod, opt, ind); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:475:27: warning: passing arguments to 'parmtovar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | vv = parmtovar(pv, opt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:478:27: warning: passing arguments to 'if_getstat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | return (if_getstat(ckt, *name)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | spif_getparam(ckt, name, param, ind, do_model) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:433: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] 433 | extern struct variable *spif_getparam(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:496:23: warning: passing arguments to 'finddev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | typecode = finddev(ckt, *name, (GENERIC**)&dev, (GENERIC**)&mod); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:502:21: warning: passing arguments to 'parmlookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | opt = parmlookup(device, &dev, param, do_model, 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:510:10: warning: passing arguments to 'doset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | doset(ckt, typecode, dev, mod, opt, val); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | if_setparam(ckt, name, param, val, do_model) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:438: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] 438 | extern void if_setparam(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:518:27: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | struct variable *vv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:543:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | nv = alloc(struct variable); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:558:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | vv->va_name = copy(opt->description); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | parmtovar(pv, opt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:29: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] 29 | static struct variable *parmtovar(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | parmlookup(dev, inptr, param, do_model, inout) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:28:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static IFparm * parmlookup(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:618:12: warning: parameter 'typecode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 618 | doask(ckt, typecode, dev, mod, opt, ind) | ^ 619 | char *ckt; 620 | GENinstance *dev; 621 | GENmodel *mod; 622 | IFparm *opt; 623 | int ind; 624 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:639:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | ft_sperror(err, "if_getparam"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | doask(ckt, typecode, dev, mod, opt, ind) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:25:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | static IFvalue *doask(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:652:12: warning: parameter 'typecode' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 652 | doset(ckt, typecode, dev, mod, opt, val) | ^ 653 | char *ckt; 654 | GENinstance *dev; 655 | GENmodel *mod; 656 | IFparm *opt; 657 | struct dvec *val; 658 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:676:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | iptr = nval.v.vec.iVec = NEWN(int, n); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:60:36: note: expanded from macro 'NEWN' 60 | #define NEWN(TYPE,COUNT) ((TYPE *) MALLOC(sizeof(TYPE) * (COUNT))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | doset(ckt, typecode, dev, mod, opt, val) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:26: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] 26 | static int doset( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | finddev(ck, name, devptr, modptr) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:27: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] 27 | static int finddev(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:791:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | int if_analQbyName(ckt,which,anal,name,parm) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | if_tranparams(ci, start, stop, step) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:426: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] 426 | extern bool if_tranparams(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | if_getstat(ckt, name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spiceif.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:439: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] 439 | extern struct variable *if_getstat(); | ^ 67 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:62:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | if(!cp_getvar("substart", VT_STRING, start)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:64:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if(!cp_getvar("subend", VT_STRING, sbend)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:66:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if(!cp_getvar("subinvoke", VT_STRING, invoke)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:68:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if(!cp_getvar("modelcard", VT_STRING, model)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:70:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if(!cp_getvar("modelline", VT_STRING, model)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:72:21: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | (void) cp_getvar("nobjthack", VT_BOOL, (char *) &nobjthack); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:78:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | if (prefix(start, c->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:109:14: warning: passing arguments to 'doit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | ll = doit(deck); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | inp_subcktexpand(deck) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:444:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 444 | extern struct line *inp_subcktexpand(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:138:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (prefix(sbend, last->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:142:26: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | } else if (prefix(start, last->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:148:20: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | wl_free(submod); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:152:27: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (prefix(sbend, c->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:160:34: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | } else if (prefix(start, c->li_line)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:168:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | sss = alloc(struct subs); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:178:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:179:34: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | sss->su_name = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:180:32: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | sss->su_args = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:211:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | if (prefix(model, c->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:213:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:214:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:219:33: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | wl->wl_word = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:227:25: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (ciprefix(invoke, c->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:229:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | t = s = copy(c->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:230:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | scname = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:257:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | subname = copy(sss->su_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:258:35: warning: passing arguments to 'inp_deckcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | lcc = inp_deckcopy(sss->su_def); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:261:33: warning: passing arguments to 'modtranslate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | if (modtranslate(lcc, scname)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:262:36: warning: passing arguments to 'devmodtranslate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | devmodtranslate(lcc, scname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:265:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | (void) gettok(&t); /* Throw out the name. */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:267:31: warning: passing arguments to 'translate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | if (!translate(lcc, s, t, scname, subname)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:294:14: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | if (ciprefix(invoke, c->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | doit(deck) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:17:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | static struct line *doit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:320:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | d->li_next = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:323:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | nd = d = alloc(struct line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:325:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | d->li_line = copy(deck->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:327:31: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | d->li_error = copy(deck->li_error); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | inp_deckcopy(deck) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:443:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 443 | extern struct line *inp_deckcopy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:350:17: warning: passing arguments to 'settrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | i = settrans(formal, actual, subname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:374:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | name = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:378:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | tfree(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:382:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | buffer = tmalloc(10000); /* XXXXX */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:392:30: warning: passing arguments to 'numnodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | nnodes = numnodes(c->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:394:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | name = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:400:25: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | t = gettrans(name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:408:29: warning: passing arguments to 'numdevs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | nnodes = numdevs(c->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:410:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | name = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:430:23: warning: passing arguments to 'finishLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | finishLine(buffer + strlen(buffer), s, scname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:434:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | tfree(c->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:435:26: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | c->li_line = copy(buffer); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:436:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | tfree(buffer); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | translate(deck, formal, actual, scname, subname) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:18: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] 18 | static int translate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:485:25: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | s = gettrans(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:521:15: warning: passing arguments to 'gettrans' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | s = gettrans(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | finishLine(dst, src, scname) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:20: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] 20 | static void finishLine(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:552:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | table[i].t_old = gettok(&formal); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:553:32: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | table[i].t_new = gettok(&actual); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | settrans(formal, actual, subname) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:19: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] 19 | static int settrans(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | gettrans(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:21: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] 21 | static char *gettrans(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:616:21: warning: passing arguments to 'inp_numnodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | n = inp_numnodes(c); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:620:22: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | (void) gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:628:15: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | t = gettok(&s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | numnodes(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:22: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] 22 | static int numnodes(), numdevs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | numdevs(s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:22: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] 22 | static int numnodes(), numdevs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:674:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | if (prefix(model, c->li_line)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:677:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:678:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | buffer = tmalloc(strlen(name) + strlen(t) + | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:681:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:682:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | wlsub = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:691:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | tfree(c->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:694:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | (void) gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:695:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | wl = alloc(struct wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:700:33: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | wl->wl_word = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | modtranslate(deck, subname) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:23: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] 23 | static bool modtranslate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:722:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | buffer = tmalloc(strlen(t) + strlen(subname) + 4); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:728:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:730:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:732:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:736:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:752:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:767:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | tfree(s->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:772:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:774:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:776:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:778:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:793:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | tfree(s->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:801:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:803:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:805:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:807:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:809:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:824:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | tfree(s->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:831:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:833:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:835:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:837:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:839:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:841:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:856:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | tfree(s->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:861:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:863:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:865:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:867:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:869:26: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:885:30: warning: passing arguments to 'gettok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | name = gettok(&t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:900:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | tfree(s->li_line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:905:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | tfree(buffer); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | devmodtranslate(deck, subname) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:24: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] 24 | static void devmodtranslate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | inp_numnodes(c) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//subckt.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:445: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] 445 | extern int inp_numnodes(); | ^ 124 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:105:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | name = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:107:19: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | abb = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:109:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if (cieq(types[i].t_name, name)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:125:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | name = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:129:25: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | if (cieq(plotabs[i].p_pattern, wl->wl_word)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:141:48: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | plotabs[noplotabs].p_pattern = copy(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | com_dftype(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:449: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] 449 | extern void com_dftype(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | ft_typabbrev(typenum) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:451: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] 451 | extern char *ft_typabbrev(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | ft_typenames(typenum) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:452: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] 452 | extern char *ft_typenames(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:189:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | if (cieq(name, types[i].t_name)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | ft_typnum(name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:454: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] 454 | extern int ft_typnum(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:210:22: warning: passing arguments to 'substring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | if (substring(plotabs[i].p_pattern, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | ft_plotabbrev(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:453: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] 453 | extern char *ft_plotabbrev(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:236:20: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | v = vec_get(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | com_stype(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//types.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:450: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] 450 | extern void com_stype(); | ^ 24 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:53:22: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | pl = raw_read(file); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:69:17: warning: passing arguments to 'plot_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | plot_add(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | ft_loadfile(file) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:471: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] 471 | extern void ft_loadfile(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:90:40: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:93:20: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | cp_addkword(CT_VECTOR, v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:94:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | cp_addkword(CT_VECTOR, "all"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:96:28: warning: passing arguments to 'ft_plotabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | if (!(s = ft_plotabbrev(pl->pl_name))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:101:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (cieq(tp->pl_typename, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:107:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | pl->pl_typename = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:108:13: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | plot_new(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:109:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | cp_addkword(CT_PLOT, buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:110:30: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | pl->pl_ccom = cp_kwswitch(CT_VECTOR, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:111:16: warning: passing arguments to 'plot_setcur' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | plot_setcur(pl->pl_typename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | plot_add(pl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:468: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] 468 | extern void plot_add(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:125:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | if (cieq(name, ov->v_name) && (ov->v_flags & VF_PERMANENT)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:134:16: warning: passing arguments to 'cp_remkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | cp_remkword(CT_VECTOR, name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | vec_remove(name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:474: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] 474 | extern void vec_remove(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:150:16: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | d = findvec(word, plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:156:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | d = findvec(buf, plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:163:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | d = findvec(buf, plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:171:19: warning: passing arguments to 'prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if (prefix("i(", /* ) */ word)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:176:20: warning: passing arguments to 'findvec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | d = findvec(buf, plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | vec_fromplot(word, plot) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:460:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 460 | extern struct dvec *vec_fromplot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:207:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | wd = word = copy(word); /* Gets mangled below... */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:214:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (cieq(buf, "all")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:218:52: warning: passing arguments to 'plot_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | for (pl = plot_list; pl && !plot_prefix(buf, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:237:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (cieq(pl->pl_typename, "const")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:256:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | tfree(wd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:267:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | tfree(wd); /* MW. Memory leak fixed again */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:271:12: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | whole=copy(word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:287:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | vv = (*if_getparam)(ft_curckt->ci_ckt, &name, param, 0, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:289:10: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | tfree(whole); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:290:3: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | tfree(wd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:295:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | tfree(whole); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:296:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | tfree(wd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:300:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | d = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:302:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | d->v_name = copy(whole); /* MW. The same as word before */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:305:43: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | d->v_realdata = (double *) tmalloc(sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:309:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | tfree(wd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:310:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | vec_new(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:311:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | tfree(whole); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:312:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | tfree(wd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:316:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | tfree(wd); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:317:21: warning: passing arguments to 'sortvecs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | return (sortvecs(d)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | vec_get(word) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:462:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 462 | extern struct dvec *vec_get(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:335:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | if (cieq(word, "all")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:339:33: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | v = vec_copy(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:340:28: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | vec_new(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:354:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | if (cieq(word, d->v_name) && (d->v_flags & VF_PERMANENT)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:359:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (cieq(buf, d->v_name) && (d->v_flags & VF_PERMANENT)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:363:21: warning: passing arguments to 'vec_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | d = vec_copy(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:364:16: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | vec_new(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | findvec(word, pl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:28:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static struct dvec *findvec(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:383:25: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | (void) cp_evloop(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | plot_docoms(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:473: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] 473 | extern void plot_docoms(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:403:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | nv = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:404:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | nv->v_name = copy(v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:409:44: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | nv->v_realdata = (double *) tmalloc(sizeof (double) * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:416:45: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | nv->v_compdata = (complex *) tmalloc(sizeof (complex) * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | vec_copy(v) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:461:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 461 | extern struct dvec *vec_copy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:451:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | struct plot *pl = alloc(struct plot), *tp; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:456:28: warning: passing arguments to 'ft_plotabbrev' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (!(s = ft_plotabbrev(name))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:461:21: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | if (cieq(tp->pl_typename, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:466:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | pl->pl_typename = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:467:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | cp_addkword(CT_PLOT, buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:468:20: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | s = cp_kwswitch(CT_VECTOR, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:469:16: warning: passing arguments to 'cp_addkword' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | cp_addkword(CT_VECTOR, "all"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:470:30: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | pl->pl_ccom = cp_kwswitch(CT_VECTOR, s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | plot_alloc(name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:465:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 465 | extern struct plot *plot_alloc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | vec_new(d) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:472: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] 472 | extern void vec_new(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:522:25: warning: passing arguments to 'vec_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | vec_free(d); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:573:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | tfree(v->v_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:575:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | tfree(v->v_realdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:577:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | tfree(v->v_compdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:579:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | tfree(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | vec_free(v) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:469: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] 469 | extern void vec_free(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:596:22: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | s1 = vec_basename(v1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:597:22: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | s2 = vec_basename(v2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:599:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | if (cieq(s1, s2)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | vec_eq(v1, v2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:458: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] 458 | extern bool vec_eq(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:620:17: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | if (cieq(v->v_plot->pl_typename, buf)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:637:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | return (copy(s)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | vec_basename(v) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:478: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] 478 | extern char *vec_basename(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:655:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | array = (struct dvec **) tmalloc(i * sizeof (struct dvec *)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:666:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | tfree(array); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | sortvecs(d) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:29:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static struct dvec *sortvecs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:676:21: warning: passing arguments to 'namecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | if ((i = namecmp((*d1)->v_plot->pl_typename, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:679:20: warning: passing arguments to 'namecmp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | return (namecmp((*d1)->v_name, (*d2)->v_name)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | veccmp(d1, d2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:27: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] 27 | static int veccmp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | namecmp(s, t) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:26: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] 26 | static int namecmp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:724:13: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | if (cieq(name, "new")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:726:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | pl->pl_title = copy("Anonymous"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:727:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | pl->pl_name = copy("unknown"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:728:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | pl->pl_date = copy(datestring( )); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:729:17: warning: passing arguments to 'plot_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | plot_new(pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:734:24: warning: passing arguments to 'plot_prefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | if (plot_prefix(name, pl->pl_typename)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:741:40: warning: passing arguments to 'cp_kwswitch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | plot_cur->pl_ccom = cp_kwswitch(CT_VECTOR, pl->pl_ccom); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | plot_setcur(name) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:476: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] 476 | extern void plot_setcur(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | plot_new(pl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:477: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] 477 | extern void plot_new(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:801:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | newreal = (double *) tmalloc(sizeof (double) * v->v_length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:815:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | tfree(oldreal); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:818:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | newcomp = (complex *) tmalloc(sizeof (complex) * v->v_length); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:834:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | tfree(oldcomp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | vec_transpose(v) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:480: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] 480 | extern void vec_transpose(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:861:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | d = d->v_link2 = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:864:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | d = vecs = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:872:14: warning: passing arguments to 'indexstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | indexstring(count, v->v_numdims - 1)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:873:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | d->v_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:889:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | d->v_realdata = (double *) tmalloc(totalsize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:894:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | d->v_realdata = (double *) tmalloc(totalsize); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:899:17: warning: passing arguments to 'incindex' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | (void) incindex(count, v->v_numdims - 1, v->v_dims, v->v_numdims); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | vec_mkfamily(v) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:463:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 463 | extern struct dvec *vec_mkfamily(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | plot_prefix(pre, str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//vectors.c:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:479: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] 479 | extern bool plot_prefix(); | ^ 137 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//where.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//where.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//where.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//where.c:25:29: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] 25 | else if (ft_curckt->ci_ckt != "") { | ^ ~~ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x10.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:18: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: error: redefinition of 'timezone' as different kind of symbol 151 | extern char *timezone(); | ^ /usr/include/time.h:167:13: note: previous definition is here 167 | extern long timezone; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:18: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 previous declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:18: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:18: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftegraph.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:87:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 87 | X11_Init() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:99:15: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | if (cp_getvar("display", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:102:4: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | internalerror("Can't open X display."); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:161:2: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | externalerror(ErrorMessage); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | errorhandler(display, errorev) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:46:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | int errorhandler(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | X11_NewViewport(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:252:16: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (!cp_getvar("font", VT_STRING, fontname)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:269:8: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | internalerror(ErrorMessage); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | X11_NewViewport(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | initcolors(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:364:20: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (!cp_getvar(buf, VT_STRING, colorstring)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:371:3: warning: call to undeclared function 'externalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 371 | externalerror(ErrorMessage); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:398:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 398 | X11_Close() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:403:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 403 | X11_DrawLine(x1, y1, x2, y2) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:425:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (!cp_getvar("x11lineararcs", VT_BOOL, (char *) &t1)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:426:12: warning: passing arguments to 'linear_arc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | linear_arc(x0, y0, radius, theta1, theta2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | X11_Arc(x0, y0, radius, theta1, theta2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:453:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 453 | X11_Text(text, x, y) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:473:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 473 | X11_DefineColor(colorid, red, green, blue) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:477:2: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | internalerror("X11_DefineColor not implemented."); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | X11_DefineColor(colorid, red, green, blue) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:483:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 483 | X11_DefineLinestyle(linestyleid, mask) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:487:2: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | internalerror("X11_DefineLinestyle not implemented."); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | X11_DefineLinestyle(linestyleid, mask) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:490:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 490 | X11_SetLinestyle(linestyleid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:525:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 525 | X11_SetColor(colorid) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:535:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 535 | X11_Update() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:543:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 543 | X11_Clear() | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:565:2: warning: call to undeclared function 'PushGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | PushGraphContext(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:567:2: warning: call to undeclared function 'SetColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | SetColor(1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:568:2: warning: call to undeclared function 'Text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 568 | Text(text, keyev->x, graph->absolute.height - keyev->y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:570:2: warning: call to undeclared function 'SaveText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 570 | SaveText(graph, text, keyev->x, graph->absolute.height - keyev->y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:575:2: warning: call to undeclared function 'PopGraphContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | PopGraphContext(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | handlekeypressed(w, clientdata, calldata) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:44:31: 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] 44 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:607:6: warning: call to undeclared function 'zoomin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 607 | zoomin((GRAPH *) clientdata); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | handlebuttonev(w, clientdata, calldata) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:44: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] 44 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | slopelocation(graph, x0, y0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:662:2: warning: call to undeclared function 'X_ScreentoData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 662 | X_ScreentoData(graph, x0, y0, &fx0, &fy0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:698:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 698 | zoomin(graph) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:760:2: warning: call to undeclared function 'X_ScreentoData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 760 | X_ScreentoData(graph, x0, y0, &fx0, &fy0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:775:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 775 | if (t = index(buf2, ':')) | ~~^~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:775:8: note: place parentheses around the assignment to silence this warning 775 | if (t = index(buf2, ':')) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:775:8: note: use '==' to turn this assignment into an equality comparison 775 | if (t = index(buf2, ':')) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:780:26: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 780 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:780:33: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 780 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:780:47: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 780 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:780:54: warning: invalid conversion specifier '.' [-Wformat-invalid-specifier] 780 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:781:31: warning: data argument not used by format string [-Wformat-extra-args] 780 | "setplot %s; %s xlimit %l.20e %l.20e ylimit %l.20e %l.20e; setplot $curplot\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 781 | buf2, graph->commandline, fx0, fx1, fy0, fy1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:789:15: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:790:17: warning: passing arguments to 'cp_parse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | wl = cp_parse(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:791:24: warning: passing arguments to 'cp_addhistent' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | (void) cp_addhistent(cp_event++, wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:794:18: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | (void) cp_evloop(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | zoomin(graph) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:805:14: warning: passing arguments to 'com_hardcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | com_hardcopy(NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | hardcopy(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:44:62: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:820:2: warning: call to undeclared function 'DestroyGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | DestroyGraph(graph->graphid); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | killwin(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:44: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] 44 | extern void handlebuttonev(), handlekeypressed(), killwin(), hardcopy(), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:868:2: warning: call to undeclared function 'gr_redraw'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 868 | gr_redraw(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | redraw(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | redraw(), resize(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:894:2: warning: call to undeclared function 'gr_resize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 894 | gr_resize(graph); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | resize(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:45:16: 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] 45 | redraw(), resize(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:971:34: warning: passing arguments to 'inchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | response->reply.ch = inchar(request->fp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:985:6: warning: call to undeclared function 'internalerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 985 | internalerror("button_option not implemented"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | X11_Input(request, response) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:1013:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1013 | X_ScreentoData(graph, x, y, fx, fy) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | linear_arc(x0,y0,radius,theta1,theta2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//x11.c: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 | static void linear_arc( ); | ^ 80 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:3: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:3: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:15:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 15 | wl_forall(wl, fn, data) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:21:8: 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] 21 | (*fn)(wl, data); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | wl_forall(wl, fn, data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:37:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | dg = NEW(dgen); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:59:29: note: expanded from macro 'NEW' 59 | #define NEW(TYPE) ((TYPE *) MALLOC(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:78:11: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | dgen_next(&dg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | dgen_init(ckt, wl, nomix, flag, model) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/dgen.h:26: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] 26 | extern dgen *dgen_init( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:102:12: 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] 102 | j = (*fn)(dgxp, data, subindex); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:105:12: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | dgen_next(&dgxp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | dgen_for_n(dg, n, fn, data, subindex) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:111:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 111 | dgen_nth_next(dg, n) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:120:12: warning: passing arguments to 'dgen_next' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | dgen_next(dg); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | dgen_nth_next(dg, n) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:317:17: warning: passing arguments to 'ciprefix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | || !ciprefix(subckt, dev_name + 1))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | dgen_next(dgx) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//gens.c:13: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] 13 | static void dgen_next( ); | ^ 19 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:49:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | if (p = index(w->wl_word, '[')) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:49:12: note: place parentheses around the assignment to silence this warning 49 | if (p = index(w->wl_word, '[')) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:49:12: note: use '==' to turn this assignment into an equality comparison 49 | if (p = index(w->wl_word, '[')) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:152:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | vname = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:153:18: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | dv = vec_get(vname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:166:24: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | vname = cp_unquote(w2->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:168:18: warning: passing arguments to 'vec_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | dv = vec_get(vname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:208:10: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | tfree(vname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:210:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 210 | } while (wl = wlast); | ~~~^~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:210:17: note: place parentheses around the assignment to silence this warning 210 | } while (wl = wlast); | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:210:17: note: use '==' to turn this assignment into an equality comparison 210 | } while (wl = wlast); | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | com_reshape(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//newcoms.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:521: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] 521 | extern void com_reshape(); | ^ 12 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | dimstring( data, length ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | indexstring( data, length ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | incindex(counts, numcounts, dims, numdims) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | emptydims( data, length ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | atodims( p, data, outlength ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//dimens.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | skipdims( p ) | ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:46:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!cp_getvar("xbrushwidth", VT_NUM, &linewidth)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:50:19: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!cp_getvar("pointstyle", VT_STRING, pointstyle)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:53:10: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (cieq(pointstyle,"markers")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:95:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | text = cp_unquote(title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:97:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | tfree(text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:100:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | text = cp_unquote(xlabel); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:102:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | tfree(text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:105:19: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | text = cp_unquote(ylabel); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:107:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | tfree(text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//xgraph.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | ft_xgraph(xlims, ylims, filename, title, xlabel, ylabel, | ^ 13 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:43:16: warning: passing arguments to 'com_run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | com_run((wordlist *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:49:5: warning: call to undeclared function 'reset_trace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | reset_trace( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:54:17: warning: passing arguments to 'if_run' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | err = if_run(ft_curckt->ci_ckt, "resume", (wordlist *) NULL, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:60:3: warning: call to undeclared function 'MFBHalt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | MFBHalt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:66:3: warning: call to undeclared function 'MFBHalt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | MFBHalt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | com_resume(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:396: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] 396 | extern void com_resume(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:91:15: warning: passing arguments to 'if_cktfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if_cktfree(ft_curckt->ci_ckt, ft_curckt->ci_symtab); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:94:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | tfree(v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:98:15: warning: passing arguments to 'inp_dodeck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | inp_dodeck(ft_curckt->ci_deck, ft_curckt->ci_name, (wordlist *) NULL, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | com_rset(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//runcoms2.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:395: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] 395 | extern void com_rset(); | ^ 15 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:34:13: warning: passing arguments to 'settrace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | settrace(wl, VF_ACCUM, NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | com_save(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:51: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] 51 | extern void com_save(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:43:13: warning: passing arguments to 'settrace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | settrace(wl, VF_ACCUM, name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | com_save2(wl, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:57:23: warning: passing arguments to 'cp_unquote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | s = cp_unquote(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:58:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | d = alloc(struct dbcomm); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:71:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | d->db_nodename1 = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:88:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | d->db_nodename1 = copy(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | settrace(wl, what, name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:19:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | void settrace( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:118:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | tmalloc(sizeof (struct save_info) * count); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:124:37: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | array[i].analysis = (IFuid *) copy(d->db_analysis); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:127:35: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | array[i++].name = copy(d->db_nodename1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//breakp2.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ft_getSaves(savesp) | ^ 18 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:41:29: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!(freq = ft_numparse(&s, false)) || (*freq < 0.0)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:48:29: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!(freq = ft_numparse(&s, false)) || (*freq <= startf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:55:29: warning: passing arguments to 'ft_numparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | if (!(freq = ft_numparse(&s, false)) || !(*freq <= (stopf-startf))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:79:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | win = (double *) tmalloc(tlen * sizeof (double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:83:22: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (!cp_getvar("specwindow", VT_STRING, window)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:123:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (!cp_getvar("specwindoworder", VT_NUM, &order)) order = 2; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:137: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 previous declaration [-Wdeprecated-non-prototype] 137 | extern double erfc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:138:25: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (!cp_getvar("specwindoworder", VT_NUM, &order)) order = 2; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:151:11: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | tfree(win); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:156:25: warning: passing arguments to 'ft_getpnames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | names = ft_getpnames(wl, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:161:26: warning: passing arguments to 'ft_evaluate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | vec = ft_evaluate(names); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:189:15: warning: passing arguments to 'free_pnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | free_pnode(first_name); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:191:8: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | tfree(win); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:195:26: warning: passing arguments to 'plot_alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | plot_cur = plot_alloc("spectrum"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:198:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | plot_cur->pl_title = copy((plot_cur->pl_next)->pl_title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:199:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | plot_cur->pl_name = copy("Spectrum"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:200:29: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | plot_cur->pl_date = copy(datestring( )); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:202:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | freq = (double *) tmalloc(fpts * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:203:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | f = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:205:21: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | f->v_name = copy("frequency"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:210:12: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | vec_new(f); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:212:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | tdvec = (double **) tmalloc(ngood * sizeof(double *)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:213:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | fdvec = (complex **) tmalloc(ngood * sizeof(complex *)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:216:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | fdvec[i] = (complex *) tmalloc(fpts * sizeof(complex)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:217:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | f = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:219:32: warning: passing arguments to 'vec_basename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | f->v_name = vec_basename(vec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:224:15: warning: passing arguments to 'vec_new' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | vec_new(f); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:228:29: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | dc = (double *) tmalloc(ngood * sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:238:14: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | cp_getvar("spectrace", VT_BOOL, &trace); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:267:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | tfree(dc); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:268:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | tfree(tdvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:269:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | tfree(fdvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:281:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | tfree(win); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | com_spec(wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/fte//spec.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:213: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] 213 | extern void com_spec(); | ^ 38 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte Making "all" in hlp cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:31:44: warning: passing arguments to 'findglobalsubject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (!(place = findglobalsubject(wl->wl_word))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:37:33: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | if (!(top = hlp_read(place))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:42:24: warning: passing arguments to 'hlp_provide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | hlp_provide(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:46:40: warning: passing arguments to 'findglobalsubject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!(place = findglobalsubject("main"))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:50:29: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (!(top = hlp_read(place))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:54:20: warning: passing arguments to 'hlp_provide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | hlp_provide(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | hlp_main(path, wl) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:122: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] 122 | extern void hlp_main(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:75:20: warning: passing arguments to 'findsubject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | fpos = findsubject(*dict, subject); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:77:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | place = (fplace *) tmalloc(sizeof(fplace)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:79:28: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | place->filename = copy(*dict); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:80:27: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | place->fp = hlp_fopen(*dict); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | findglobalsubject(subject) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | extern fplace *findglobalsubject(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:95:15: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | if (cieq(*s, filename)) return(true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | hlp_approvedfile(filename) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:133: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] 133 | extern bool hlp_approvedfile(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:113:15: warning: passing arguments to 'cieq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if (cieq(filename, hlp_ftable[i].filename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:123:16: warning: passing arguments to 'hlp_pathfix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | hlp_pathfix(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:102:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | FILE *hlp_fopen(filename) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:124: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] 124 | extern FILE *hlp_fopen(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:150:22: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | s = cp_tildexpand(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:173:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | tfree(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | hlp_pathfix(buf) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//help.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:131: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] 131 | extern void hlp_pathfix(); | ^ 28 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:38:26: warning: passing arguments to 'hlp_xdisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | if (!hlp_xdisplay(top)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:43:26: warning: passing arguments to 'hlp_tdisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (!hlp_tdisplay(top)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:55:30: warning: passing arguments to 'hlp_xhandle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | res = hlp_xhandle(&parent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:57:30: warning: passing arguments to 'hlp_thandle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | res = hlp_thandle(&parent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:60:27: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | hlp_killfamily(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:68:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | hlp_xwait(parent, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:69:36: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!(newtop = hlp_read(res->place))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:71:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | hlp_xwait(parent, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:75:26: warning: passing arguments to 'hlp_xwait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | hlp_xwait(parent, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:82:34: warning: passing arguments to 'hlp_xdisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (!hlp_xdisplay(newtop)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:87:34: warning: passing arguments to 'hlp_tdisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (!hlp_tdisplay(newtop)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:94:27: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | hlp_killfamily(parent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:95:24: warning: passing arguments to 'hlp_fixchildren' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | hlp_fixchildren(parent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | hlp_provide(top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:137: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] 137 | extern void hlp_provide(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | hlp_fixchildren(parent) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:146: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] 146 | extern void hlp_fixchildren(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:140:21: warning: passing arguments to 'hlp_xkillwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | hlp_xkillwin(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:142:21: warning: passing arguments to 'hlp_tkillwin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | hlp_tkillwin(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | hlp_killfamily(top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//provide.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:145: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] 145 | extern void hlp_killfamily(); | ^ 24 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:56:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | topic *top = alloc(topic); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:67:29: warning: passing arguments to 'copy_fplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | top->place = copy_fplace(place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:70:42: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (!place->fp) place->fp = hlp_fopen(place->filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:78:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | top->title = copy(&buf[7]); /* don't copy "TITLE: " */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:84:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 84 | if (*buf = '\0' || | ~~~~~^~~~~~~~~ 85 | !strncmp("SEEALSO: ", buf, 9) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 86 | !strncmp("SUBTOPIC: ", buf, 10)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:84:16: note: place parentheses around the assignment to silence this warning 84 | if (*buf = '\0' || | ^ | ( 85 | !strncmp("SEEALSO: ", buf, 9) || 86 | !strncmp("SUBTOPIC: ", buf, 10)) { | | ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:84:16: note: use '==' to turn this assignment into an equality comparison 84 | if (*buf = '\0' || | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:99:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | wl = alloc(wordlist); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:100:27: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | wl->wl_word = copy(&buf[6]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:119:40: warning: passing arguments to 'getsubtoplink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (topiclink = getsubtoplink(&s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:119:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 119 | if (topiclink = getsubtoplink(&s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:119:25: note: place parentheses around the assignment to silence this warning 119 | if (topiclink = getsubtoplink(&s)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:119:25: note: use '==' to turn this assignment into an equality comparison 119 | if (topiclink = getsubtoplink(&s)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:136:40: warning: passing arguments to 'getsubtoplink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if (topiclink = getsubtoplink(&s)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:136:25: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 136 | if (topiclink = getsubtoplink(&s)) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:136:25: note: place parentheses around the assignment to silence this warning 136 | if (topiclink = getsubtoplink(&s)) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:136:25: note: use '==' to turn this assignment into an equality comparison 136 | if (topiclink = getsubtoplink(&s)) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:150:37: warning: passing arguments to 'getsubject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | tl->description = getsubject(tl->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:152:37: warning: passing arguments to 'getsubject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | tl->description = getsubject(tl->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:154:13: warning: passing arguments to 'sortlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | sortlist(&top->seealso); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | hlp_read(place) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:129: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] 129 | extern topic *hlp_read(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:176:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | tl = alloc(toplink); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:177:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 177 | if (tmp = index(s, ':')) { | ~~~~^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:177:13: note: place parentheses around the assignment to silence this warning 177 | if (tmp = index(s, ':')) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:177:13: note: use '==' to turn this assignment into an equality comparison 177 | if (tmp = index(s, ':')) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:178:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | tl->place = alloc(fplace); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:183:17: warning: passing arguments to 'strtolower' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | strtolower(tl->place->filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:186:28: warning: passing arguments to 'hlp_approvedfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | if (!hlp_approvedfile(tl->place->filename)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:187:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | tfree(tl->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:188:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | tfree(tl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:196:32: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | tl->place->fp = hlp_fopen(tl->place->filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:201:36: warning: passing arguments to 'findsubject' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | tl->place->fpos = findsubject(tl->place->filename, subject); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:203:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | tfree(tl->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:204:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | tfree(tl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:215:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | tfree(tl->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:216:7: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | tfree(tl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:165:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | static toplink *getsubtoplink(ss) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:43:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static toplink *getsubtoplink(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:240:16: warning: passing arguments to 'hlp_pathfix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | hlp_pathfix(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | findsubject(filename, subject) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:15: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:132: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] 132 | extern long findsubject(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:264:42: warning: passing arguments to 'hlp_fopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (!place->fp) place->fp = hlp_fopen(place->filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:272:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | return (copy(&buf[9])); /* don't copy "SUBJECT: " */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | getsubject(place) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:42: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] 42 | static char *getsubject(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:286:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | vec = (toplink **) tmalloc(sizeof (toplink *) * num); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:294:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | tfree(vec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | sortlist(tlp) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:44: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] 44 | static void sortlist(), tlfree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | sortcmp(tlp1, tlp2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:45: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] 45 | static int sortcmp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:312:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | tfree(top->title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:313:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | tfree(top->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:314:16: warning: passing arguments to 'wl_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | wl_free(top->text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:315:15: warning: passing arguments to 'tlfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | tlfree(top->subtopics); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:316:15: warning: passing arguments to 'tlfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | tlfree(top->seealso); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:317:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | tfree(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:330:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | tfree(tl->description); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:331:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | tfree(tl->place->filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:332:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | tfree(tl->place); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:335:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | tfree(tl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | tlfree(tl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:44: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] 44 | static void sortlist(), tlfree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:348:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | newplace->filename = copy(place->filename); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | copy_fplace(place) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//readhelp.c:49:16: 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] 49 | static fplace *copy_fplace(); | ^ 62 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:37:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | out_printf("\n\t%s\n", top->title); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:39:16: warning: passing arguments to 'putline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | putline(wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:41:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | out_printf("\tSub-Topics:\n\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:42:21: warning: passing arguments to 'putstuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | i = putstuff(top->subtopics, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:45:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | out_printf("\n\tSee Also:\n\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:46:24: warning: passing arguments to 'putstuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | (void) putstuff(top->seealso, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:48:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | out_printf("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | hlp_tdisplay(top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:164: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] 164 | extern bool hlp_tdisplay(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | hlp_thandle(parent) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:165:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 165 | extern toplink *hlp_thandle(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | hlp_tkillwin(top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:166: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] 166 | extern void hlp_tkillwin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:158:15: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | out_printf("%s\n", buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | putline(s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:22: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] 22 | static void putline(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:196:27: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | out_printf("%2d) %-*s ", base + j * nrows + i + | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:203:19: warning: passing arguments to 'out_printf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | out_printf("\n"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | putstuff(tl, base) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//textdisp.c:23: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] 23 | static int putstuff(); | ^ 23 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:8: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:117:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | buf = tmalloc(80 * top->numlines + 100); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:120:15: warning: passing arguments to 'sputline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | sputline(buf, wl->wl_word); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | hlp_xdisplay(top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:142: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] 142 | extern bool hlp_xdisplay(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:216:28: warning: passing arguments to 'hlp_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if (!(newtop = hlp_read(result->place))) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | newtopic(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void newtopic(), delete(), quit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:239:19: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | hlp_killfamily(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:240:20: warning: passing arguments to 'hlp_fixchildren' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | hlp_fixchildren(top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | delete(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:22: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] 22 | void newtopic(), delete(), quit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:252:19: warning: passing arguments to 'hlp_killfamily' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | hlp_killfamily(parent ? parent : top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | quit(w, client_data, call_data) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:22: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] 22 | void newtopic(), delete(), quit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | hlp_xkillwin(top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:147: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] 147 | extern void hlp_xkillwin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | sputline(buf, s) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//x11disp.c:23: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] 23 | static void sputline(); | ^ 21 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c:7: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c:587:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | /* ARGSUSED */ void hlp_xwait(top, on) topic *top; bool on; { } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:148: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] 148 | extern void hlp_xwait(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c:589:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | toplink * hlp_xhandle(pp) topic **pp; { *pp = NULL; return (NULL); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/hlp//xdisplay.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/hlpdefs.h:144:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | extern toplink *hlp_xhandle(); | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/hlp Making "all" in inp cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifeval.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifeval.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | IFeval(tree, gmin, result, vals, derivs) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifeval.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | PTeval(tree, gmin, res, vals) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifeval.c:80: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] 80 | *res = (*tree->function)(r1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifeval.c:99: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] 99 | *res = (*tree->function)(r1, r2); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | IFnewUid(ckt,newuid,olduid,suffix,type,nodedata) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:30:17: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | MALLOC(sizeof(char)*(strlen(suffix)+strlen((char*)olduid)+2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:34:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | newname=(char *)MALLOC(sizeof(char)* | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | IFdelUid(ckt,uid,type) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ifnewuid.c:83:21: warning: call to undeclared function 'INPremTerm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | error = INPremTerm(uid, (INPtables *)ft_curckt->ci_symtab); | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2b.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2b.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2b.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2b.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2b.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2B(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2c.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2c.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2c.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2c.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2c.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2C(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2d.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2d.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2d.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2d.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2d.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2D(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INP2dot(ckt,tab,current,task,gnode) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:99:26: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 99 | if( *name == (char)NULL) break; /* end of line */ | ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:384:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:390:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:504:25: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | MALLOC(sizeof(char)*(5+strlen(nname1)+strlen(nname2))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2dot.c:510:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | ptemp.sValue = (char *)MALLOC(sizeof(char)*(4+strlen(nname1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2e.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2e.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2e.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2e.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2e.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2E(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2f.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2f.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2f.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2f.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2f.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2F(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2g.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2g.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2g.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2g.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2g.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2G(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2h.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2h.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2h.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2h.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2h.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2H(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2i.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2i.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2i.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2i.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2i.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2I(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2j.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2j.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2j.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2j.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2j.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2J(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2k.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2k.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2k.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2k.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2k.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2K(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2l.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2l.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2l.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2l.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2l.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2L(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2m.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2m.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2m.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2m.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2m.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2M(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2o.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2o.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2o.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2o.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2o.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INP2O(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2q.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2q.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2q.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2q.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2q.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2Q(ckt,tab,current,gnode) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2r.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2r.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2r.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2r.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2r.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2R(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2s.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2s.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2s.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2s.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2s.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2S(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2t.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2t.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2t.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2t.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2t.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2T(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2u.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2u.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2u.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2u.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2u.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2U(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2v.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2v.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2v.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2v.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2v.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2V(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2w.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2w.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2w.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2w.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2w.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2W(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2z.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2z.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2z.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2z.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteparse.h:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedata.h:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inp2z.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INP2Z(ckt,tab,current) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpaname.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpaname.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpaname.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpaname.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpaname.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | INPaName(parm,val,ckt,dev,devnam,fast,sim,dataType,selector) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpapnam.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpapnam.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpapnam.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpapnam.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpapnam.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INPapName(ckt,type,analPtr,parmname,value) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpcfix.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpcfix.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INPcaseFix(string) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdomod.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdomod.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | INPdomodel(ckt,image,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdomod.c:178:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | err = (char *)MALLOC(35 + strlen(typename)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:17: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | INPdoOpts(ckt,anal,optCard,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:59:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | errmsg = (char *)MALLOC((45+strlen(token)) * sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:73:41: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | errmsg =(char *)MALLOC((35+strlen(token))*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdoopt.c:83:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | errmsg = (char *)MALLOC(100 * sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdpar.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdpar.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdpar.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdpar.c:20: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdpar.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | INPdevParse(line,ckt,dev,fast,leading,waslead,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpdpar.c:68:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | errbuf = MALLOC(strlen(parm)+25); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperrc.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperrc.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INPerrCat(a,b) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperrc.c:27:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | errtmp = (char *)MALLOC( (strlen(a) + strlen(b)+2)*sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperror.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperror.c:26:18: warning: passing arguments to 'SPerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | val = SPerror(type); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperror.c:37:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | val = MALLOC(strlen(ebuf) + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inperror.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INPerror(type) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpeval.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpeval.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | INPevaluate(line,error,gobble) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpeval.c:31:18: warning: call to undeclared function 'INPgetUTok'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | *error = INPgetUTok(line,&token,1); | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpfindl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpfindl.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpfindl.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpfindl.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | INPfindLev(line,level) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:11: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | INPgetMod(ckt,name,model,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:41:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | err = (char *)MALLOC((35+strlen(name)) * sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:82:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | temp = (char *)MALLOC((40+strlen(parm)) * sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgmod.c:98:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | err = (char *)MALLOC((60+strlen(name)) * sizeof(char)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtitl.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtitl.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtitl.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtitl.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtitl.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | INPgetTitle(ckt,data) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | INPgetTok(line,token,gobble) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c:72:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | *token=(char *)MALLOC(1+point-*line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c:166:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | *token=(char *)MALLOC(1+point-*line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgtok.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | INPgetUTok(line,token,gobble) | ^ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | INPgetValue(ckt,line,type,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c:39:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | list = (double *)MALLOC(sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c:44:28: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | list=(double *)REALLOC((char *)list,temp.v.numValue*sizeof(double)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c:51:24: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | ilist = (int *)MALLOC(sizeof(int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c:56:26: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | ilist=(int *)REALLOC((char *)ilist,temp.v.numValue*sizeof(int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgval.c:71:9: warning: call to undeclared function 'INPgetStr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | INPgetStr(line,&word,1); | ^ 6 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpkmods.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inplist.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inplist.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | INPlist(file,deck,type) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inplkmod.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inplkmod.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | INPlookMod(name) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpmkmod.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpmkmod.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INPmakeMod(token,type,line) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpmkmod.c:31:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | *i = (INPmodel *)MALLOC(sizeof(INPmodel)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpmktmp.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpmktmp.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | INPmkTemp(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpmktmp.c:24:12: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | temp = MALLOC(len+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas1.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas1.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INPpas1(ckt,deck,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas1.c:26:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 26 | char *INPdomodel(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpdefs.h:88:7: note: conflicting prototype is here 88 | char *INPdomodel(GENERIC *,card*, INPtables*); | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas2.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas2.c:10: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas2.c:10: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppas2.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | INPpas2(ckt,data,tab,task) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppname.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppname.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppname.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppname.c:15: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inppname.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | INPpName(parm,val,ckt,dev,fast) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | INPgetTree(line, pt, ckt, tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:117:16: warning: passing arguments to 'PTparse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | p = PTparse(line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:119:23: warning: passing arguments to 'PTcheck' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | if (!p || !PTcheck(p)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:124:30: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | (*pt) = (INPparseTree *) MALLOC(sizeof (INPparseTree)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:133:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | MALLOC(numvalues * sizeof (INPparseNode *)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:136:43: warning: passing arguments to 'PTdifferentiate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | (*pt)->derivs[i] = PTdifferentiate(p, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:161:21: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | newp = mkcon((double) 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:167:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | newp = mkcon((double) 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:169:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | newp = mkcon((double) 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:176:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | newp = mkb(p->type, arg1, arg2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:184:32: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:185:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | mkb(PT_TIMES, p->left, arg2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:184:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | newp = mkb(PT_PLUS, mkb(PT_TIMES, arg1, p->right), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:193:48: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:194:31: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | p->right), mkb(PT_TIMES, p->left, arg2)), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:193:34: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:195:46: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | mkb(PT_POWER, p->right, mkcon((double) 2))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:195:20: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | mkb(PT_POWER, p->right, mkcon((double) 2))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:193:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | newp = mkb(PT_DIVIDE, mkb(PT_MINUS, mkb(PT_TIMES, arg1, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:206:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | mkcon(p->right->constant), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:208:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | mkcon(p->right->constant - 1))), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:207:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | mkb(PT_POWER, p->left, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:205:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | newp = mkb(PT_TIMES, mkb(PT_TIMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:205:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | newp = mkb(PT_TIMES, mkb(PT_TIMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:212:50: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | newp = mkf(PTF_EXP, mkb(PT_TIMES, mkf(PTF_LN, p->left), p->right)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:212:36: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | newp = mkf(PTF_EXP, mkb(PT_TIMES, mkf(PTF_LN, p->left), p->right)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:212:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | newp = mkf(PTF_EXP, mkb(PT_TIMES, mkf(PTF_LN, p->left), p->right)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:224:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | arg1 = mkf(PTF_SGN, p->left, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:228:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | arg1 = mkcon((double) 0.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:232:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:233:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | mkb(PT_MINUS, mkcon((double) 1), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:234:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | mkb(PT_POWER, p->left, mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:234:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | mkb(PT_POWER, p->left, mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:233:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | mkb(PT_MINUS, mkcon((double) 1), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:232:58: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:232:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | arg1 = mkb(PT_DIVIDE, mkcon((double) -1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:239:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:241:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | mkcon((double) 2)), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:240:38: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | mkb(PT_MINUS, mkb(PT_POWER, p->left, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:242:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | mkcon((double) 1)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:240:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | mkb(PT_MINUS, mkb(PT_POWER, p->left, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:239:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:239:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:247:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:248:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | mkb(PT_MINUS, mkcon((double) 1), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:249:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | mkb(PT_POWER, p->left, mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:249:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | mkb(PT_POWER, p->left, mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:248:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | mkb(PT_MINUS, mkcon((double) 1), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:247:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:247:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:254:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:256:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | mkcon((double) 2)), | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:255:37: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | mkb(PT_PLUS, mkb(PT_POWER, p->left, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:257:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | mkcon((double) 1)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:255:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | mkb(PT_PLUS, mkb(PT_POWER, p->left, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:254:57: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:254:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:261:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:262:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | mkb(PT_POWER, p->left, mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:262:24: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | mkb(PT_POWER, p->left, mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:263:31: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | 2)), mkcon((double) 1))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:261:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:261:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_PLUS, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:267:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:268:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:269:35: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | p->left, mkcon((double) 2)))); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:268:43: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:267:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:267:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_MINUS, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:273:39: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:273:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | arg1 = mkf(PTF_UMINUS, mkf(PTF_SIN, p->left)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:277:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | arg1 = mkf(PTF_SINH, p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:281:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | arg1 = mkf(PTF_EXP, p->left, 0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:285:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:285:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:289:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:289:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | arg1 = mkb(PT_DIVIDE, mkcon((double) M_LOG10E), p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:293:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | arg1 = mkf(PTF_COS, p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:297:23: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | arg1 = mkf(PTF_COSH, p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:301:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:302:26: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | mkcon((double) 2), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:302:43: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | mkcon((double) 2), mkf(PTF_SQRT, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:301:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:301:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_TIMES, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:307:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:308:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | mkf(PTF_COS, p->left), mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:308:49: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | mkf(PTF_COS, p->left), mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:307:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:307:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:313:40: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:314:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | mkf(PTF_COSH, p->left), mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:314:50: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | mkf(PTF_COSH, p->left), mkcon((double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:313:57: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:313:23: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | arg1 = mkb(PT_DIVIDE, mkcon((double) 1), mkb(PT_POWER, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:319:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | arg1 = mkcon((double) 0.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:323:16: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | arg1 = mkf(PTF_USTEP, p->left); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:327:25: warning: passing arguments to 'mkcon' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | arg1 = mkcon((double) - 1.0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:339:19: warning: passing arguments to 'mkb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | newp = mkb(PT_TIMES, arg1, arg2); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | PTdifferentiate(p, varnum) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:26: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] 26 | static INPparseNode *PTdifferentiate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:357:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | mkcon(value) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:27: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] 27 | static INPparseNode *mkcon(), *mkb(), *mkf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:370:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:421:24: warning: passing arguments to 'mkf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | return (mkf(PTF_UMINUS, right)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | mkb(type, left, right) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:27:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static INPparseNode *mkcon(), *mkb(), *mkf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:456:40: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | INPparseNode *p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:469:41: 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] 469 | constval = ((*funcs[i].funcptr) (arg->constant)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | mkf(type, arg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:27: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] 27 | static INPparseNode *mkcon(), *mkb(), *mkf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | PTcheck(p) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:32: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] 32 | static int PTcheck(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:548:19: warning: passing arguments to 'PTlexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | next = PTlexer(line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:568:27: warning: passing arguments to 'PTlexer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | next = PTlexer(line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:606:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | pn = makepnode(&stack[st]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:611:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | lpn = makepnode(&stack[st]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:614:29: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | pn = mkfnode("-", lpn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:617:31: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | pn = makepnode(&stack[sp + 1]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:622:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | lpn = makepnode(&stack[sp + 2]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:625:35: warning: passing arguments to 'mkfnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | if (!(pn = mkfnode(stack[sp].value.string, lpn))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:628:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | lpn = makepnode(&stack[sp]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:629:32: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | rpn = makepnode(&stack[st]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:632:29: warning: passing arguments to 'mkbnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | pn = mkbnode(stack[sp + 1].token, lpn, rpn); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:640:19: warning: passing arguments to 'makepnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | pn = makepnode(&stack[1]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | PTparse(line) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:28: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] 28 | static INPparseNode *PTparse(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:662:24: warning: passing arguments to 'mksnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | return (mksnode(elem->value.string)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:665:24: warning: passing arguments to 'mknnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | return (mknnode(elem->value.real)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | makepnode(elem) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:29: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] 29 | static INPparseNode *makepnode(), *mkbnode(), *mkfnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:695:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | mkbnode(opnum, arg1, arg2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:29: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] 29 | static INPparseNode *makepnode(), *mkbnode(), *mkfnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:722:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:725:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | name = MALLOC(128); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:749:6: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:751:6: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | REALLOC((char *) types, (numvalues + 1) * sizeof (int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:753:28: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | values = (IFvalue *) MALLOC(sizeof (IFvalue)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:754:23: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | types = (int *) MALLOC(sizeof (int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:764:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | name = MALLOC(128); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:782:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:784:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | REALLOC((char *) types, (numvalues + 1) * sizeof (int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:786:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | values = (IFvalue *) MALLOC(sizeof (IFvalue)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:787:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | types = (int *) MALLOC(sizeof (int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | mkfnode(fname, arg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:29:48: 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] 29 | static INPparseNode *makepnode(), *mkbnode(), *mkfnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:823:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | mknnode(number) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:30: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] 30 | static INPparseNode *mknnode(), *mksnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:847:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | p = (INPparseNode *) MALLOC(sizeof (INPparseNode)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:861:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | REALLOC((char *) values, (numvalues + 1) * sizeof (IFvalue)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:863:9: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | REALLOC((char *) types, (numvalues + 1) * sizeof (int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:12:30: note: expanded from macro 'REALLOC' 12 | #define REALLOC(x,y) trealloc((char *)(x),(unsigned)(y)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:865:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | values = (IFvalue *) MALLOC(sizeof (IFvalue)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:866:33: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | types = (int *) MALLOC(sizeof (int)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:868:32: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | values[i].sValue = MALLOC(strlen(buf) + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | mksnode(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:30:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | static INPparseNode *mknnode(), *mksnode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:985:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | el.value.string = MALLOC(s - sbuf + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | PTlexer(line) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpptree.c:31:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static PTelement *PTlexer(); | ^ 164 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | INPtabInit(numlines) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:36:31: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | tab = (INPtables *)tmalloc(sizeof(INPtables)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:37:48: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | tab->INPsymtab = (struct INPtab **) tmalloc((numlines / 4 + 1) * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:40:53: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | tab->INPtermsymtab = (struct INPnTab **) tmalloc(numlines * | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | INPtermInsert(ckt,token,tab,node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:71:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | INPmkTerm(ckt,token,tab,node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:107:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | INPgndInsert(ckt,token,tab,node) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:139:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | t = (struct INPnTab *) tmalloc(sizeof (struct INPnTab)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | INPinsert(token,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:169:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | t = (struct INPtab *) tmalloc(sizeof (struct INPtab)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | INPremove(token,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:195:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | tfree(t->t_ent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:196:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | tfree(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:218:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | tfree(t->t_ent); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:219:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | tfree(t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:37:25: note: expanded from macro 'tfree' 37 | #define tfree(x) (txfree(x), x = 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | INPremTerm(token,tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | INPtabEnd(tab) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpsymt.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | hash(name, tsize) | ^ 23 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inptyplk.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inptyplk.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inptyplk.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inptyplk.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INPtypelook(type) | ^ 4 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | PTabs(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:140: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] 140 | extern double PTabs(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | PTsgn(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:151: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] 151 | extern double PTsgn(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | PTplus(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:134: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] 134 | extern double PTplus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | PTminus(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:135: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] 135 | extern double PTminus(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | PTtimes(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:136: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] 136 | extern double PTtimes(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | PTdivide(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:137: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] 137 | extern double PTdivide(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | PTpower(arg1, arg2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:138: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] 138 | extern double PTpower(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | PTacos(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:139: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] 139 | extern double PTacos(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | PTacosh(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:141: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] 141 | extern double PTacosh(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | PTasin(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:142: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] 142 | extern double PTasin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | PTasinh(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:143: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] 143 | extern double PTasinh(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | PTatan(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:144: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] 144 | extern double PTatan(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | PTatanh(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:145: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] 145 | extern double PTatanh(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | PTustep(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:157: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] 157 | extern double PTustep(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | PTuramp(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:158: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] 158 | extern double PTuramp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | PTcos(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:146: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] 146 | extern double PTcos(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | PTcosh(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:147: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] 147 | extern double PTcosh(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | PTexp(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:148: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] 148 | extern double PTexp(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | PTln(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:149: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] 149 | extern double PTln(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | PTlog(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:150: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] 150 | extern double PTlog(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | PTsin(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:152: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] 152 | extern double PTsin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | PTsinh(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:153: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] 153 | extern double PTsinh(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | PTsqrt(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:154: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] 154 | extern double PTsqrt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | PTtan(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:155: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] 155 | extern double PTtan(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | PTtanh(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:156: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] 156 | extern double PTtanh(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | PTuminus(arg) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//ptfuncs.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/inpptree.h:159: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] 159 | extern double PTuminus(); | ^ 52 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//sperror.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//sperror.c:13: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//sperror.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | SPerror(type) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//sperror.c:124:11: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | val = MALLOC(strlen(msg) + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 3 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgstr.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgstr.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgstr.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgstr.c:58:21: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | *token = (char *) MALLOC(1 + point - *line); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/inp//inpgstr.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | INPgetStr(line, token, gobble) | ^ 5 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/inp Making "all" in mfb cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfb3d.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfb3d.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | MFBInfo(Info) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:490: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] 490 | extern int MFBInfo(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | MFBConvertToHLS(r,g,b) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | SetCurrentMFB(mfb) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:482: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] 482 | extern void SetCurrentMFB(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | MFBCounters(nChars,nBoxes,meanBoxArea,nLines,meanLineLength,nPixels) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:486: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] 486 | extern void MFBCounters(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:256:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 256 | MFBSetLineStyle(styleId) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:277:9: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | MFBGenCode(MFBFORMAT.setSolidLineStyle); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | MFBSetLineStyle(styleId) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:495: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] 495 | extern int MFBSetLineStyle(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:285:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 285 | MFBSetFillPattern(styleId) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:310:9: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | MFBGenCode(MFBFORMAT.setSolidFillPattern); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | MFBSetFillPattern(styleId) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:496: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] 496 | extern int MFBSetFillPattern(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:336:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | MFBGenCode(MFBFORMAT.channelMaskSet); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | MFBSetChannelMask(channelMask) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:497: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] 497 | extern int MFBSetChannelMask(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:360:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | MFBGenCode(MFBFORMAT.readMaskSet); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | MFBSetReadMask(readMask) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:498: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] 498 | extern int MFBSetReadMask(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:386:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | MFBGenCode(MFBFORMAT.setForegroundColor); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | MFBSetColor(colorId) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:499: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] 499 | extern int MFBSetColor(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:407:9: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 407 | MFBGenCode(MFBFORMAT.replaceON); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:412:9: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | MFBGenCode(MFBFORMAT.overstrikeON); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | MFBSetTextMode(destructiveBool) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:500: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] 500 | extern int MFBSetTextMode(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:455:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | MFBGenCode(cp); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | MFBSetALUMode(mode) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | MFBSetCursorColor(colorId1,colorId2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:501: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] 501 | extern int MFBSetCursorColor(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:497:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 497 | MFBGenCode(MFBFORMAT.blinkerON); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:501:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 501 | MFBGenCode(MFBFORMAT.blinkerOFF); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | MFBSetBlinker(colorId,r,g,b,onFlag) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:502: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] 502 | extern int MFBSetBlinker(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:527:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 527 | MFBGenCode(MFBFORMAT.movePenSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:531:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | MFBGenCode(MFBFORMAT.disableRubberBanding); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | MFBSetRubberBanding(RubberBandingBool,X,Y) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:503: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] 503 | extern int MFBSetRubberBanding(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:571:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | MFBGenCode(MFBFORMAT.vltEntry); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | MFBDefineColor(colorId,r,g,b) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:504: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] 504 | extern int MFBDefineColor(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:604:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 604 | MFBGenCode(MFBFORMAT.fillDefineStart); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | MFBDefineFillPattern(styleId,BitArray) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:505: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] 505 | extern int MFBDefineFillPattern(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:630:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | MFBGenCode(MFBFORMAT.lineDefineStart); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | MFBDefineLineStyle(styleId,BitArray) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:506: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] 506 | extern int MFBDefineLineStyle(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:662:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 662 | MFBGenCode(MFBFORMAT.movePenSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | MFBMoveTo(X1,Y1) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:507: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] 507 | extern void MFBMoveTo(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:683:12: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | MFBLine(path->xy[0],path->xy[1],path->xy[2],path->xy[3]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:687:18: warning: passing arguments to 'MFBDrawLineTo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | MFBDrawLineTo(x,y); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | MFBDrawPath(path) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:509: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] 509 | extern void MFBDrawPath(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:706:12: warning: passing arguments to 'MFBLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | MFBLine(LastX,LastY,X1,Y1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:715:9: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 715 | MFBGenCode(MFBFORMAT.drawSolidLineToSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | MFBDrawLineTo(X1,Y1) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:508: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] 508 | extern void MFBDrawLineTo(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:733:41: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 733 | MFBCurrent->sumLineLength += MFBmax(abs(X1-X2),abs(Y1-Y2)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:733:41: note: include the header or explicitly provide a declaration for 'abs' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:741:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 741 | MFBGenCode(MFBFORMAT.drawSolidLineSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | MFBLine(X1,Y1,X2,Y2) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:510: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] 510 | extern void MFBLine(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:766:2: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 766 | MFBGenCode(MFBFORMAT.drawSolidBoxSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:770:2: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 770 | MFBGenCode(MFBFORMAT.drawBoxSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:773:20: warning: passing arguments to 'MFBNaiveBoxFill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | MFBNaiveBoxFill(l,b,r,t); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | MFBBox(l,b,r,t) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:511: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] 511 | extern void MFBBox(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:808:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | MFBGenCode(MFBFORMAT.drawLineToSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:813:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 813 | MFBGenCode(MFBFORMAT.drawLineToSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | MFBArc(x,y,r,astart,astop,s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:512: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] 512 | extern void MFBArc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:841:6: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | MFBGenCode(MFBFORMAT.drawLineSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:849:2: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 849 | MFBGenCode(MFBFORMAT.drawCircleSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | MFBCircle(x,y,r,s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:513: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] 513 | extern void MFBCircle(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:874:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 874 | MFBGenCode(MFBFORMAT.beginPlygnSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | MFBFlash(x,y,r,s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:514: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] 514 | extern void MFBFlash(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:904:2: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 904 | MFBGenCode(MFBFORMAT.beginSolidPlygnSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | MFBPolygon(p) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:515: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] 515 | extern void MFBPolygon(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:933:27: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 933 | MFBCurrent->nChars += strlen(text); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:933:27: note: include the header or explicitly provide a declaration for 'strlen' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:937:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 937 | MFBGenCode(MFBFORMAT.rotateTextSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:949:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 949 | MFBGenCode(MFBFORMAT.graphicsTextStart); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:952:28: warning: passing arguments to 'MFBPutchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | while(*text) MFBPutchar(*text++); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | MFBText(text,x,y,phi) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:516: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] 516 | extern void MFBText(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:974:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 974 | MFBGenCode(MFBFORMAT.writePixel); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | MFBPixel(x,y) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:518: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] 518 | extern void MFBPixel(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:986:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 986 | MFBGenCode(MFBFORMAT.screenFlood); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:996:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | *MFBArcPath(x,y,r,astart,astop,s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:520:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 520 | extern MFBPATH *MFBArcPath(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1081:1: warning: '/*' within block comment [-Wcomment] 1081 | /* WINDOW CONTROL | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1082:1: warning: '/*' within block comment [-Wcomment] 1082 | /* | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1083:1: warning: '/*' within block comment [-Wcomment] 1083 | /***********************************************************************/ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1036:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | *MFBEllipse(x,y,rx,ry,s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:521:20: 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] 521 | extern MFBPOLYGON *MFBEllipse(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | MFBScaleX(X) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:534: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] 534 | extern int MFBScaleX(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | MFBScaleY(Y) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:535: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] 535 | extern int MFBScaleY(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | MFBDescaleX(X) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:536: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] 536 | extern int MFBDescaleX(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | MFBDescaleY(Y) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:537: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] 537 | extern int MFBDescaleY(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | MFBSetViewport(left,bottom,right,top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:527: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] 527 | extern void MFBSetViewport(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | MFBSetWindow(left,bottom,right,top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:528: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] 528 | extern void MFBSetWindow(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1158:38: warning: parameter 'top' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1158 | MFBNaiveBoxFill(left, bottom, right, top) | ^ 1159 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1158:31: warning: parameter 'right' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1158 | MFBNaiveBoxFill(left, bottom, right, top) | ^ 1159 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1158:23: warning: parameter 'bottom' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1158 | MFBNaiveBoxFill(left, bottom, right, top) | ^ 1159 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1158:17: warning: parameter 'left' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1158 | MFBNaiveBoxFill(left, bottom, right, top) | ^ 1159 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1221:37: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | MFB_Y_Intercept (left, bb, ll, bottom, right, &tt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1229:37: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | MFB_X_Intercept (left, bb, ll, bottom, top, &rr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1236:33: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | MFB_X_Intercept (left, bb, ll, bottom, top, &rr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1237:33: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | MFB_Y_Intercept (left, bb, ll, bottom, right, &tt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1259:37: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | MFB_Y_Intercept (rr, bottom, right, bb, left, &tt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1267:37: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | MFB_X_Intercept (rr, bottom, right, bb, top, &ll); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1274:33: warning: passing arguments to 'MFB_X_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | MFB_X_Intercept (rr, bottom, right, bb, top, &ll); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1275:33: warning: passing arguments to 'MFB_Y_Intercept' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | MFB_Y_Intercept (rr, bottom, right, bb, left, &tt); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:1158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | MFBNaiveBoxFill(left, bottom, right, top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbbasic.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:532: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] 532 | extern void MFBNaiveBoxFill(); | ^ 127 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:27: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:46:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 46 | char *strcpy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:77:24: warning: passing arguments to 'POpen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | if((CapFile = POpen(mfbcapFile, "r", (char *)NULL, (char **)NULL)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:89:23: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | cnt = read(mfbcapDesc, inputBuffer, BUFSIZE); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:91:24: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if(close(mfbcapDesc) < 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:128:12: warning: call to undeclared function 'mfbnamatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | if(mfbnamatch(name)){ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:129:16: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | if(close(mfbcapDesc) < 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:131:35: warning: passing arguments to 'MFBCheckForMCE' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | return( MFBCheckForMCE(mfbcapFile) ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | MFBGetEnt(bp, name, mfbcapFile) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:52:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | int MFBGetEnt(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | MFBCheckForMCE(mfbcapFile) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:53:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | int MFBCheckForMCE(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:196:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 196 | mfbnamatch(np) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | MFBSkip(bp) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:47:16: 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] 47 | static char *MFBSkip(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:239:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 239 | MFBGetFlag(id) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:51:8: 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] 51 | int MFBGetFlag(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:297:27: warning: passing arguments to 'MFBCapDecod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | return(MFBCapDecod(bp, area)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | MFBGetStr(id, area) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:48:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | char *MFBGetStr(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | MFBCapDecod(str, area) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:49:16: 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] 49 | static char *MFBCapDecod(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | MFBGetNum(id) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbcaps.c:50:8: 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] 50 | int MFBGetNum(); | ^ 27 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | MFB_Y_Intercept(x1,y1,x2,y2,e,yi) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:529: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] 529 | extern void MFB_Y_Intercept(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | MFB_X_Intercept(x1,y1,x2,y2,e,xi) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:530: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] 530 | extern void MFB_X_Intercept(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | MFBLineClip(pX1,pY1,pX2,pY2,l,b,r,t) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:522: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] 522 | extern Bool MFBLineClip(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | MFBPolygonClip(poly,left,bottom,right,top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:531: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] 531 | extern void MFBPolygonClip(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:379:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | *MFBClipArc(path,left,bottom,right,top) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbclip.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:523:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 523 | extern MFBPATH *MFBClipArc(); | ^ 11 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:24: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | MFBDecode(PM) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:142:30: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | which = mfbdecnum( 10, 100 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:146:30: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | which = mfbdecnum( 10, 3 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:150:30: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | which = mfbdecnum( 10, 2 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:155:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | which = mfbdecnum( 16, *cp++ - '0' ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:157:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | which = mfbdecnum( 16, 100 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:162:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | which = mfbdecnum( 8, *cp++ - '0' ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:164:34: warning: passing arguments to 'mfbdecnum' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | which = mfbdecnum( 8, 100 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:278:23: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | which = abs(c); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:278:23: note: include the header or explicitly provide a declaration for 'abs' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | MFBDecode(PM) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:298:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 298 | mfbdecnum( base, maxdigits ) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbdec.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:131:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 131 | while (c = *cp++) { | ~~^~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:131:14: note: place parentheses around the assignment to silence this warning 131 | while (c = *cp++) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:131:14: note: use '==' to turn this assignment into an equality comparison 131 | while (c = *cp++) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:142:34: 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] 142 | (*MFBCurrent->outstr)(result,i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:160:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | sleep((tmp + 999) / 1000); /* Yuk; have to round up to seconds */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:228:31: warning: passing arguments to 'hexadec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | *dp++ = hexadec(which>>(i*4)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:237:26: warning: passing arguments to 'octal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | *dp++ = octal(which>>(i*3)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:413:17: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 413 | which = abs(which); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:413:17: note: include the header or explicitly provide a declaration for 'abs' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:444:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | (*MFBCurrent->outstr)(result,i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | MFBGenCode(PM) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:450:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | char hexadec(num) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbgnc.c:465:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | char octal(num) | ^ 11 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | MFBPutchar(c) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:473: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] 473 | extern int MFBPutchar(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | MFBPutstr(c,n) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:474: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] 474 | extern int MFBPutstr(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:163:23: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | if((c = (char)read(MFBCurrent->fileDesc,ibuffer,1)) > 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:175:5: warning: non-void function does not return a value [-Wreturn-type] 175 | } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:203:5: warning: non-void function does not return a value [-Wreturn-type] 203 | } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:219:5: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | write(MFBCurrent->fileDesc,MFBCurrent->ttyBuffer,MFBCurrent->numTtyBuffer); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:264:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | MFBGenCode(MFBFORMAT.audio); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:315:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | if((mfbcapFile = getenv("MFBCAP")) == NULL) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:319:26: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | for (s = tilde_expand(Lib_Path); s && *s; ) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:329:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 329 | if (fp = fopen(buf, "r")) { | ~~~^~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:329:16: note: place parentheses around the assignment to silence this warning 329 | if (fp = fopen(buf, "r")) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:329:16: note: use '==' to turn this assignment into an equality comparison 329 | if (fp = fopen(buf, "r")) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:331:30: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | mfbcapFile = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:339:24: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | if (!(mfb = (MFB *)malloc(sizeof(MFB)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:339:24: note: include the header or explicitly provide a declaration for 'malloc' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:342:18: warning: passing arguments to 'SetCurrentMFB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | SetCurrentMFB(mfb); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:344:22: warning: call to undeclared function 'MFBGetEnt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | if((*errorcode = MFBGetEnt(gEntBuf,TerminalName,mfbcapFile)) <= 0) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:351:8: warning: call to undeclared function 'MFBGetFlag'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | if(MFBGetFlag("TTY")) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:359:28: warning: passing arguments to 'ttyname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | mfb->name = ttyname(2); /* stdout */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:367:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | if(close(creat(DeviceName,0644)) < 0){ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:367:18: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | if(close(creat(DeviceName,0644)) < 0){ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:372:29: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | if((mfb->fileDesc = open(DeviceName,2)) < 0){ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:389:43: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | mfb->strings.startSequence = MFBGetStr("GIS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:390:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | mfb->strings.endSequence = MFBGetStr("GFS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:392:17: warning: call to undeclared function 'MFBGetNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | mfb->maxX = MFBGetNum("MXC"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:394:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | mfb->strings.initLineStyles = MFBGetStr("ILS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:395:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | mfb->strings.initColorStyles = MFBGetStr("ICS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:396:46: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | mfb->strings.initFillPatterns = MFBGetStr("IFP",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:403:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | mfb->strings.rotateTextSequence = MFBGetStr("RTS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:408:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | mfb->strings.graphicsTextStart = MFBGetStr("GTS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:409:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | mfb->strings.graphicsTextEnd = MFBGetStr("GTE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:411:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | mfb->strings.replaceON = MFBGetStr("RMO",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:413:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | mfb->strings.overstrikeON = MFBGetStr("OMO",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:414:40: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | mfb->strings.writePixel = MFBGetStr("WPX",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:424:43: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | mfb->strings.rastCopyStart = MFBGetStr("RSCPS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:425:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | mfb->strings.rastCopyEnd = MFBGetStr("RSCPE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:426:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | mfb->strings.rastCopySource = MFBGetStr("RSSRC",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:427:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | mfb->strings.rastCopyDest = MFBGetStr("RSDST",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:438:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | mfb->strings.screenFlood = MFBGetStr("GCS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:444:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | mfb->strings.vltEntry = MFBGetStr("VTE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:446:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | mfb->strings.setForegroundColor = MFBGetStr("SCS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:447:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | mfb->strings.channelMaskSet = MFBGetStr("VWM",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:453:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | mfb->strings.readMaskSet = MFBGetStr("SRM",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:485:54: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | mfb->strings.enablePointingDevice = MFBGetStr("PDS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:486:55: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | mfb->strings.disablePointingDevice = MFBGetStr("PDE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:487:53: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | mfb->strings.enableRubberBanding = MFBGetStr("PRBON",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:488:54: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | mfb->strings.disableRubberBanding = MFBGetStr("PRBOFF",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:489:52: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | mfb->strings.readPointingDevice = MFBGetStr("PDR",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:490:54: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | mfb->strings.formatPointingDevice = MFBGetStr("PDF",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:497:43: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | mfb->strings.keyboardStart = MFBGetStr("KYS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:498:41: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | mfb->strings.keyboardEnd = MFBGetStr("KYE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:499:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | mfb->strings.keyboardBackspace = MFBGetStr("KYB",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:502:35: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | mfb->strings.audio = MFBGetStr("BELL",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:510:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | mfb->strings.blinkerON = MFBGetStr("BLS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:511:40: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | mfb->strings.blinkerOFF = MFBGetStr("BLE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:519:42: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | mfb->strings.setLineStyle = MFBGetStr("SLS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:520:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | mfb->strings.setSolidLineStyle = MFBGetStr("SSLS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:521:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | mfb->strings.movePenSequence = MFBGetStr("MPS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:522:46: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | mfb->strings.drawLineSequence = MFBGetStr("DLS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:523:51: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | mfb->strings.drawSolidLineSequence = MFBGetStr("DSL",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:524:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | mfb->strings.drawLineToSequence = MFBGetStr("DLT",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:525:53: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | mfb->strings.drawSolidLineToSequence = MFBGetStr("DSLT",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:527:49: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | mfb->strings.lineDefineStart = MFBGetStr("LDS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:528:50: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | mfb->strings.lineDefineFormat = MFBGetStr("LDF",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:529:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | mfb->strings.lineDefineEnd = MFBGetStr("LDE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:536:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | mfb->strings.drawBoxSequence = MFBGetStr("DBS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:537:50: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | mfb->strings.drawSolidBoxSequence = MFBGetStr("DSB",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:543:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | mfb->strings.beginPlygnSequence = MFBGetStr("PLS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:544:53: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | mfb->strings.beginSolidPlygnSequence = MFBGetStr("PLSOL",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:545:45: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | mfb->strings.sendPlygnVertex = MFBGetStr("PLV",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:546:46: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | mfb->strings.endPlygnSequence = MFBGetStr("PLE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:553:44: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | mfb->strings.setFillPattern = MFBGetStr("SFP",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:554:49: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | mfb->strings.setSolidFillPattern = MFBGetStr("SSFP",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:559:49: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | mfb->strings.fillDefineStart = MFBGetStr("FDS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:560:50: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | mfb->strings.fillDefineFormat = MFBGetStr("FDF",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:561:47: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | mfb->strings.fillDefineEnd = MFBGetStr("FDE",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:567:48: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | mfb->strings.drawCircleSequence = MFBGetStr("DCS",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:572:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | mfb->strings.setALUJAM = MFBGetStr("ALUJAM",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:573:38: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | mfb->strings.setALUOR = MFBGetStr("ALUOR",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:574:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | mfb->strings.setALUNOR = MFBGetStr("ALUNOR",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:575:39: warning: passing arguments to 'MFBGetStr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | mfb->strings.setALUEOR = MFBGetStr("ALUEOR",&bufPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:279:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | *MFBOpen(TerminalName,DeviceName,errorcode) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:489: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] 489 | extern MFB *MFBOpen(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:630:2: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 630 | MFBGenCode(MFBFORMAT.startSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:808:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | MFBGenCode(MFBFORMAT.endSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:855:12: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | if(close(MFBCurrent->fileDesc) < 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:891:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 891 | MFBGenCode(MFBFORMAT.endSequence); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:969:5: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | MFBGenCode(MFBFORMAT.enablePointingDevice); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:995:15: warning: call to undeclared function 'MFBDecode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 995 | status = MFBDecode(MFBFORMAT.formatPointingDevice); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | MFBPoint(x,y,key,button) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:524: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] 524 | extern int MFBPoint(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1050:10: warning: incompatible pointer to integer conversion assigning to 'char' from 'void *' [-Wint-conversion] 1050 | c[1] = NULL; | ^ ~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1054:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | MFBSetFillPattern(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1055:19: warning: passing arguments to 'MFBSetTextMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | MFBSetTextMode(true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1056:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | MFBSetColor(foreground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1079:14: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | MFBSetColor(background); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1080:9: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | MFBBox(X+MFBCurrent->keyboardXOffset, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1085:14: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | MFBSetColor(foreground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1091:17: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | MFBSetColor(background); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1092:12: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | MFBBox(x+MFBCurrent->keyboardXOffset, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1096:17: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | MFBSetColor(foreground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1101:10: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | MFBText(" ESCAPE",X,Y,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1110:14: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | MFBText(c,X,Y,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1112:14: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | MFBText("^",X,Y,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1119:2: warning: call to undeclared function 'MFBGenCode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1119 | MFBGenCode(MFBFORMAT.keyboardStart); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1162:19: warning: passing arguments to 'MFBSetTextMode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | MFBSetTextMode(OldTextMode); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1163:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | MFBSetColor(OldForeground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1164:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | MFBSetFillPattern(OldFillPattern); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1028:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | *MFBKeyboard(x,y,background,foreground) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:525: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] 525 | extern char *MFBKeyboard(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | MFBError(errnum) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbio.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:526: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] 526 | extern char *MFBError(); | ^ 114 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:372:1: warning: 'extern' ignored on this declaration [-Wmissing-declarations] 372 | extern struct err { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:72:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | MFBSetFillPattern(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:73:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | MFBSetColor(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:74:11: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | MFBBox(Left,Bottom,Right,Top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:75:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | MFBSetColor(oldforeground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:100:12: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | MFBText(cbuf,Left,Top - (linecount) * MFBCurrent->fontHeight,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:105:20: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | MFBText("-DONE-",Left,Bottom,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:107:20: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | MFBText("-MORE- (^D to exit)",Left,Bottom,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:112:24: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | MFBSetColor(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:113:15: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | MFBBox(Left,Bottom,Right,Top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:114:24: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | MFBSetColor(oldforeground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:117:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | MFBSetFillPattern(oldfillpattern); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | MFBMore(Left,Bottom,Right,Top,Textfile) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:23: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/mfb.h:533: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] 533 | extern void MFBMore(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:157:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | MFBSetFillPattern(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:158:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | MFBSetColor(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:159:11: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | MFBBox(Left,Bottom,Right,Top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:160:16: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | MFBSetColor(oldforeground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:193:16: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | MFBText(cbuf,Left,Top - (j) * MFBCurrent->fontHeight,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:201:16: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | MFBText("-DONE-",Left,Bottom,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:203:16: warning: passing arguments to 'MFBText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | MFBText("-MORE- (^D to exit, ^U to scroll up)",Left,Bottom,0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:216:20: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | MFBSetColor(0); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:217:11: warning: passing arguments to 'MFBBox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | MFBBox(Left,Bottom,Right,Top); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:218:20: warning: passing arguments to 'MFBSetColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | MFBSetColor(oldforeground); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:220:22: warning: passing arguments to 'MFBSetFillPattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | MFBSetFillPattern(oldfillpattern); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//mfbtext.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | MFBScroll(Left,Bottom,Right,Top,Textfile) | ^ 26 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c:103:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 103 | struct passwd *passwd, *getpwnam(); | ^ /usr/include/pwd.h:147:16: note: conflicting prototype is here 147 | struct passwd *getpwnam(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c:149:14: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | length = strlen(passwd->pw_dir); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c:149:14: note: include the header or explicitly provide a declaration for 'strlen' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | PConvertTilde(psource, pdest, size) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | PSetPath(string) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//paths.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | POpen(file, mode, ext, prealname) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/mfb//vmsio.c ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/mfb.a mfb3d.o mfbbasic.o mfbcaps.o mfbclip.o mfbdec.o mfbgnc.o mfbio.o mfbtext.o paths.o vmsio.o ranlib /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/mfb.a > /dev/null Done with spice3f5/src/lib/mfb Making "all" in misc cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | tmalloc(num) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:33: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] 33 | extern char *tmalloc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | trealloc(str, num) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:34: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] 34 | extern char *trealloc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | txfree(ptr) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//alloc.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:35: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] 35 | extern void txfree(); | ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//dos_dirs.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//dos_dirs.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//dos_dirs.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//dos_dirs.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//dup2.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:6: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:6: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | env_overr(v, e) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:38:2: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | sprintf(buffer, "%s%s%s", b, DIR_PATHSEP, v); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:38:2: note: include the header or explicitly provide a declaration for 'sprintf' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:39:14: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | *p = tmalloc(strlen(buffer) + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | mkvar(p, b, v, e) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//ivars.c:60:15: warning: incompatible pointer types passing 'int *' to parameter of type 'char **' [-Wincompatible-pointer-types] 60 | env_overr(&AsciiRawFile, "SPICE_ASCIIRAWFILE"); | ^~~~~~~~~~~~~ 7 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//math.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//math.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//math.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//math.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c:26:11: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | num = getpid( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | smktemp(id) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//mktemp.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:56: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] 56 | extern char *smktemp(); | ^ 6 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//printnum.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//printnum.c:29:12: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | (void) sprintf(buf, "%.*le", n, num); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//printnum.c:29:12: note: include the header or explicitly provide a declaration for 'sprintf' /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//printnum.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | printnum(num) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | prefix(p, s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:45: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] 45 | extern int prefix(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:34:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | if (p = tmalloc(strlen(str) + 1)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:34:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 34 | if (p = tmalloc(strlen(str) + 1)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:34:11: note: place parentheses around the assignment to silence this warning 34 | if (p = tmalloc(strlen(str) + 1)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:34:11: note: use '==' to turn this assignment into an equality comparison 34 | if (p = tmalloc(strlen(str) + 1)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | copy(str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:41: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] 41 | extern char *copy(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | substring(sub, str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:49: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] 49 | extern int substring(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | appendc(s, c) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:43: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] 43 | extern void appendc(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | scannum(str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:44: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] 44 | extern int scannum(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | cieq(p, s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:47: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] 47 | extern int cieq(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | ciprefix(p, s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:46: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] 46 | extern int ciprefix(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | strtolower(str) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:48: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] 48 | extern void strtolower(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | gettok(s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//string.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:42: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] 42 | extern char *gettok(); | ^ 23 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:34:20: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | return copy(string); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:39:23: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | pw = getpwuid(getuid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:56:16: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | return copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | tilde_expand(string) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//tilde.c:7: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:50: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] 50 | extern char *tilde_expand( ); | ^ 8 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//time.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//time.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//time.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/misc//time.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ 3 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/misc Making "all" in ni cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niaciter.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niaciter.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niaciter.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niaciter.c:21: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niaciter.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | NIacIter(ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nicomcof.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nicomcof.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nicomcof.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | NIcomCof(ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niconv.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niconv.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | NIconvTest(ckt) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nidest.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nidest.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | NIdestroy(ckt) | ^ 1 warning generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niditer.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niditer.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niditer.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niditer.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niditer.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | NIdIter(ckt) | ^ 5 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinit.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinit.c:18: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinit.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | NIinit(ckt) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinteg.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinteg.c:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinteg.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | NIintegrate(ckt,geq,ceq,cap,qcap) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinteg.c:45:22: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | errMsg = MALLOC(strlen(ordmsg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niinteg.c:81:18: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | errMsg = MALLOC(strlen(methodmsg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:20: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | NIiter(ckt,maxIter) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:118:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | message = (char *)MALLOC(1000); /* should be enough */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:121:29: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 120 | "singular matrix: check nodes %s and %s\n", | ~~ 121 | NODENAME(ckt,i),NODENAME(ckt,j)); | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:117:31: note: expanded from macro 'NODENAME' 117 | #define NODENAME(ckt,nodenum) CKTnodName(ckt,nodenum) | ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:121:45: warning: format specifies type 'char *' but the argument has type 'IFuid' (aka 'void *') [-Wformat] 120 | "singular matrix: check nodes %s and %s\n", | ~~ 121 | NODENAME(ckt,i),NODENAME(ckt,j)); | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:117:31: note: expanded from macro 'NODENAME' 117 | #define NODENAME(ckt,nodenum) CKTnodName(ckt,nodenum) | ^~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niiter.c:176:26: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | errMsg = MALLOC(strlen(msg)+1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 9 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niniter.c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niniter.c:39:15: warning: passing arguments to 'SMPcaSolve' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | SMPcaSolve(ckt->CKTmatrix, ckt->CKTrhs, ckt->CKTirhs, ckt->CKTrhsSpare, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//niniter.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | NInzIter(ckt, posDrive, negDrive) | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipred.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipred.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:14:5: warning: '/*' within block comment [-Wcomment] 14 | /* TRANdefs.h - defs for transient analyses */ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:34: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 declaration [-Wdeprecated-non-prototype] 34 | extern int TRANaskQuest(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:308:5: note: conflicting prototype is here 308 | int TRANaskQuest( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipred.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/trandefs.h:33: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 declaration [-Wdeprecated-non-prototype] 33 | extern int TRANsetParm(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:309:5: note: conflicting prototype is here 309 | int TRANsetParm( CKTcircuit *, GENERIC *, int , IFvalue *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipred.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ 4 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:12: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:22:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | extern CKTpzTrapped; | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:26:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | NIpzSym(set, new) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:71:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 71 | NIpzComplex(set, new) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | NIpzMuller(set, newtry) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:252:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 252 | NIpzSym2(set, new) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:280:5: warning: call to undeclared function 'zaddeq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | zaddeq(&a, &a_mag, set[1]->f_def.real, set[1]->mag_def, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nipzmeth.c:454:7: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ERROR(E_PANIC,"Lost numerical stability"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:54:11: note: expanded from macro 'ERROR' 54 | errMsg = MALLOC(strlen(MESSAGE) + 1); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 12 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:17: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | NIreinit(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:33:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | CKALLOC(CKTrhs,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' 22 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:34:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | CKALLOC(CKTrhsOld,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' 22 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:35:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | CKALLOC(CKTrhsSpare,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' 22 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:36:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | CKALLOC(CKTirhs,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' 22 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:37:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | CKALLOC(CKTirhsOld,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' 22 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:38:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | CKALLOC(CKTirhsSpare,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nireinit.c:22:14: note: expanded from macro 'CKALLOC' 22 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 8 warnings generated. cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:19: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/sperror.h:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 35 | char *SPerror(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cktdefs.h:304:8: note: conflicting prototype is here 304 | char * SPerror( int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | NIsenReinit(ckt) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:63:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | CKALLOC(CKTrhsOp,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:64:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | CKALLOC(CKTsenRhs,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:65:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | CKALLOC(CKTseniRhs,size+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:66:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | CKALLOC(CKTsenInfo->SEN_Sap,size+1,double*); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:67:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | CKALLOC(CKTsenInfo->SEN_RHS,size+1,double*); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:68:9: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | CKALLOC(CKTsenInfo->SEN_iRHS,size+1,double*); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:70:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | CKALLOC(CKTsenInfo->SEN_Sap[i],senparms+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:71:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | CKALLOC(CKTsenInfo->SEN_RHS[i],senparms+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:72:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | CKALLOC(CKTsenInfo->SEN_iRHS[i],senparms+1,double); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/ni//nisenre.c:24:10: note: expanded from macro 'CKALLOC' 24 | (type *) MALLOC((size)*sizeof(type))) == NULL) return(E_NOMEM); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/util.h:10:26: note: expanded from macro 'MALLOC' 10 | #define MALLOC(x) tmalloc((unsigned)(x)) | ^ 11 warnings generated. ar cql /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/ni.a niaciter.o nicomcof.o niconv.o nidest.o niditer.o niinit.o niinteg.o niiter.o niniter.o nipred.o nipzmeth.o nireinit.o nisenre.o ranlib /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/ni.a > /dev/null Done with spice3f5/src/lib/ni Making "all" in sparse cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:73: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:73: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:73: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | spCreate( Size, Complex, pError ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:171:19: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if ((Matrix = ALLOC(struct MatrixFrame, 1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:232:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | CALLOC( Matrix->Diag, ElementPtr, SizePlusOne); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:237:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | CALLOC( Matrix->FirstInCol, ElementPtr, SizePlusOne); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:242:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | CALLOC( Matrix->FirstInRow, ElementPtr, SizePlusOne); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:247:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | if (( Matrix->IntToExtColMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:251:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | if (( Matrix->IntToExtRowMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:262:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (( Matrix->ExtToIntColMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:266:36: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | if (( Matrix->ExtToIntRowMap = ALLOC(int, SizePlusOne)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | spcGetElement( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:337:20: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | { pElement = ALLOC(struct MatrixElement, ELEMENTS_PER_ALLOCATION); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | InitializeElementBlocks( Matrix, InitialNumberOfElements, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:399:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | pElement = ALLOC(struct MatrixElement, InitialNumberOfElements); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:406:16: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | pElement = ALLOC(struct MatrixElement, NumberOfFillinsExpected); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:413:35: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | Matrix->FirstFillinListNode = ALLOC(struct FillinListNodeStruct,1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | spcGetFillin( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | RecordAllocation( Matrix, AllocatedPtr ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:550:13: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | { FREE(AllocatedPtr); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | AllocateBlockOfAllocationList( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:597:15: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | ListPtr = ALLOC(struct AllocationRecord, (ELEMENTS_PER_ALLOCATION+1)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | spDestroy( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:661:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | FREE( Matrix->IntToExtColMap ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:662:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | FREE( Matrix->IntToExtRowMap ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:663:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | FREE( Matrix->ExtToIntColMap ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:664:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | FREE( Matrix->ExtToIntRowMap ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:665:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | FREE( Matrix->Diag ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:666:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | FREE( Matrix->FirstInRow ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:667:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | FREE( Matrix->FirstInCol ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:668:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | FREE( Matrix->MarkowitzRow ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:669:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | FREE( Matrix->MarkowitzCol ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:670:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | FREE( Matrix->MarkowitzProd ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:671:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | FREE( Matrix->DoCmplxDirect ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:672:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | FREE( Matrix->DoRealDirect ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:673:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | FREE( Matrix->Intermediate ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:682:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | FREE( ListPtr ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:686:6: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | FREE( ListPtr->AllocatedPtr ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | spError( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | spWhereSingular( eMatrix, pRow, pCol ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | spGetSize( eMatrix, External ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | spSetReal( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | spSetComplex( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | spFillinCount( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spalloc.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | spElementCount( eMatrix ) | ^ 46 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:72: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:72: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:72: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | spClear( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | spGetElement( eMatrix, Row, Col ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:213: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 previous declaration [-Wdeprecated-non-prototype] 213 | ElementPtr spcFindElementInCol(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:872:19: note: conflicting prototype is here 872 | extern ElementPtr spcFindElementInCol( MatrixPtr, ElementPtr*, int, int, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:214:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 214 | void Translate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:83:13: note: conflicting prototype is here 83 | static void Translate( MatrixPtr, int*, int* ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | spcFindElementInCol( Matrix, LastAddr, Row, Col, CreateIfMissing ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:321: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 previous declaration [-Wdeprecated-non-prototype] 321 | ElementPtr spcCreateElement(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:873:19: note: conflicting prototype is here 873 | extern ElementPtr spcCreateElement( MatrixPtr, int, int, ElementPtr*, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | Translate( Matrix, Row, Col ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | spcCreateElement( Matrix, Row, Col, LastAddr, Fillin ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:744:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 744 | ElementPtr pCreatedElement, spcGetElement(), spcGetFillin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:870:19: note: conflicting prototype is here 870 | extern ElementPtr spcGetElement( MatrixPtr ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:744:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 744 | ElementPtr pCreatedElement, spcGetElement(), spcGetFillin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:871:19: note: conflicting prototype is here 871 | extern ElementPtr spcGetFillin( MatrixPtr ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | spcLinkRows( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | EnlargeMatrix( Matrix, NewSize ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:950:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | if (( REALLOC(Matrix->IntToExtColMap, int, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:954:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | if (( REALLOC(Matrix->IntToExtRowMap, int, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:958:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | if (( REALLOC(Matrix->Diag, ElementPtr, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:962:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | if (( REALLOC(Matrix->FirstInCol, ElementPtr, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:966:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | if (( REALLOC(Matrix->FirstInRow, ElementPtr, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:975:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | FREE( Matrix->MarkowitzRow ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:976:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | FREE( Matrix->MarkowitzCol ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:977:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | FREE( Matrix->MarkowitzProd ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:978:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | FREE( Matrix->DoRealDirect ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:979:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | FREE( Matrix->DoCmplxDirect ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:980:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | FREE( Matrix->Intermediate ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | ExpandTranslationArrays( Matrix, NewSize ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:1039:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | if (( REALLOC(Matrix->ExtToIntRowMap, int, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spbuild.c:1043:11: warning: passing arguments to 'trealloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | if (( REALLOC(Matrix->ExtToIntColMap, int, NewSize+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:425:34: note: expanded from macro 'REALLOC' 425 | ptr = (type *)trealloc((char *)ptr,(unsigned)(sizeof(type)*(number))) | ^ 29 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:71: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:71: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:71: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | spOrderAndFactor( eMatrix, RHS, RelThreshold, AbsThreshold, DiagPivoting ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:235: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 previous declaration [-Wdeprecated-non-prototype] 235 | ElementPtr SearchForPivot(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:85:19: note: conflicting prototype is here 85 | static ElementPtr SearchForPivot( MatrixPtr, int, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:236: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 previous declaration [-Wdeprecated-non-prototype] 236 | RealNumber LargestInCol, FindLargestInCol(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:90:19: note: conflicting prototype is here 90 | static RealNumber FindLargestInCol( ElementPtr ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | spFactor( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | FactorComplexMatrix( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | spPartition( eMatrix, Mode ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | spcCreateInternalVectors( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:787:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | { if (( Matrix->MarkowitzRow = ALLOC(int, Size+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:791:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | { if (( Matrix->MarkowitzCol = ALLOC(int, Size+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:795:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | { if (( Matrix->MarkowitzProd = ALLOC(long, Size+2)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:802:38: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | { if (( Matrix->DoRealDirect = ALLOC(BOOLEAN, Size+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:808:39: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | { if (( Matrix->DoCmplxDirect = ALLOC(BOOLEAN, Size+1)) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:816:37: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | { if ((Matrix->Intermediate = ALLOC(RealNumber,2*(Size+1))) == NULL) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | CountMarkowitz( Matrix, RHS, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | MarkowitzProducts( Matrix, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | SearchForPivot( Matrix, Step, DiagPivoting ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1068: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 previous declaration [-Wdeprecated-non-prototype] 1068 | ElementPtr SearchForSingleton(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:86:19: note: conflicting prototype is here 86 | static ElementPtr SearchForSingleton( MatrixPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1069: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 previous declaration [-Wdeprecated-non-prototype] 1069 | ElementPtr QuicklySearchDiagonal(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:87:19: note: conflicting prototype is here 87 | static ElementPtr QuicklySearchDiagonal( MatrixPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1070: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 previous declaration [-Wdeprecated-non-prototype] 1070 | ElementPtr SearchDiagonal(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:88:19: note: conflicting prototype is here 88 | static ElementPtr SearchDiagonal( MatrixPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1071: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 previous declaration [-Wdeprecated-non-prototype] 1071 | ElementPtr SearchEntireMatrix(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:89:19: note: conflicting prototype is here 89 | static ElementPtr SearchEntireMatrix( MatrixPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | SearchForSingleton( Matrix, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1172:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 1172 | RealNumber PivotMag, FindBiggestInColExclude(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here 91 | static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | QuicklySearchDiagonal( Matrix, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1594: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 previous declaration [-Wdeprecated-non-prototype] 1594 | RealNumber FindBiggestInColExclude(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here 91 | static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | SearchDiagonal( Matrix, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1761: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 previous declaration [-Wdeprecated-non-prototype] 1761 | RealNumber FindBiggestInColExclude(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:91:19: note: conflicting prototype is here 91 | static RealNumber FindBiggestInColExclude( MatrixPtr, ElementPtr, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | SearchEntireMatrix( Matrix, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:1889: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 previous declaration [-Wdeprecated-non-prototype] 1889 | RealNumber FindLargestInCol(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:90:19: note: conflicting prototype is here 90 | static RealNumber FindLargestInCol( ElementPtr ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | FindLargestInCol( pElement ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | FindBiggestInColExclude( Matrix, pElement, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2144 | ExchangeRowsAndCols( Matrix, pPivot, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2152: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 previous declaration [-Wdeprecated-non-prototype] 2152 | ElementPtr spcFindElementInCol(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:872:19: note: conflicting prototype is here 872 | extern ElementPtr spcFindElementInCol( MatrixPtr, ElementPtr*, int, int, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2274 | spcRowExchange( Matrix, Row1, Row2 ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2376 | spcColExchange( Matrix, Col1, Col2 ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | ExchangeColElements( Matrix, Row1, Element1, Row2, Element2, Column ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | ExchangeRowElements( Matrix, Col1, Element1, Col2, Element2, Row ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | RealRowColElimination( Matrix, pPivot ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2769:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 2769 | extern ElementPtr CreateFillin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:100:19: note: conflicting prototype is here 100 | static ElementPtr CreateFillin( MatrixPtr, int, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2849 | ComplexRowColElimination( Matrix, pPivot ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2858: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 previous declaration [-Wdeprecated-non-prototype] 2858 | ElementPtr CreateFillin(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:100:19: note: conflicting prototype is here 100 | static ElementPtr CreateFillin( MatrixPtr, int, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:2933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2933 | UpdateMarkowitzNumbers( Matrix, pPivot ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:3021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | CreateFillin( Matrix, Row, Col ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:3028: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 previous declaration [-Wdeprecated-non-prototype] 3028 | ElementPtr spcCreateElement(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:873:19: note: conflicting prototype is here 873 | extern ElementPtr spcCreateElement( MatrixPtr, int, int, ElementPtr*, int ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:3083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3083 | MatrixIsSingular( Matrix, Step ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spfactor.c:3097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3097 | ZeroPivot( Matrix, Step ) | ^ 48 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:60: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:60: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:60: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | spPrint( eMatrix, PrintReordered, Data, Header ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:157:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | CALLOC(pImagElements, ElementPtr, Printer_Width / 10 + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:160:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | FREE(pImagElements); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:170:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | CALLOC( PrintOrdToIntRowMap, int, Top + 1 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:173:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | FREE(pImagElements); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:176:5: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | CALLOC( PrintOrdToIntColMap, int, Top + 1 ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:431:18: note: expanded from macro 'CALLOC' 431 | { int i; ptr = ALLOC(type, number); \ | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:423:45: note: expanded from macro 'ALLOC' 423 | #define ALLOC(type,number) ((type *)tmalloc((unsigned)(sizeof(type)*(number)))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:179:2: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | FREE(pImagElements); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:180:9: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | FREE(PrintOrdToIntRowMap); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:363:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | FREE(PrintOrdToIntColMap); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:364:5: warning: passing arguments to 'txfree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | FREE(PrintOrdToIntRowMap); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:426:46: note: expanded from macro 'FREE' 426 | #define FREE(ptr) { if ((ptr) != NULL) txfree((char *)(ptr)); (ptr) = NULL; } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | spFileMatrix( eMatrix, File, Label, Reordered, Data, Header ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:430: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 previous declaration [-Wdeprecated-non-prototype] 430 | FILE *pMatrixFile, *fopen(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | spFileVector( eMatrix, File, RHS IMAG_RHS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:584:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 584 | FILE *fopen(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | spFileStats( eMatrix, File, Label ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spoutput.c:706:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 706 | FILE *pStatsFile, *fopen(); | ^ 19 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:115: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:115: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:115: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | SMPaddElt( Matrix, Row, Col, Value ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | SMPmakeElt( Matrix, Row, Col ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | SMPcClear( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | SMPclear( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | SMPcLUfac( Matrix, PivTol ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | SMPluFac( Matrix, PivTol, Gmin ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | SMPcReorder( Matrix, PivTol, PivRel, NumSwaps ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | SMPreorder( Matrix, PivTol, PivRel, Gmin ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | SMPcaSolve( Matrix, RHS, iRHS, Spare, iSpare) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | SMPcSolve( Matrix, RHS, iRHS, Spare, iSpare) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | SMPsolve( Matrix, RHS, Spare ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | SMPmatSize( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | SMPnewMatrix( pMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | SMPdestroy( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | SMPpreOrder( Matrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | SMPprint( Matrix, File ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | SMPgetError( Matrix, Col, Row) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | SMPcProdDiag( Matrix, pMantissa, pExponent) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | SMPcDProd( Matrix, pMantissa, pExponent) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | LoadGmin( eMatrix, Gmin ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:459:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 459 | if (diag = Diag[I]) | ~~~~~^~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:459:15: note: place parentheses around the assignment to silence this warning 459 | if (diag = Diag[I]) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:459:15: note: use '==' to turn this assignment into an equality comparison 459 | if (diag = Diag[I]) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | SMPfindElt( eMatrix, Row, Col, CreateIfMissing ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | SMPcZeroCol( Matrix, Col ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | SMPcAddCol( Matrix, Accum_Col, Addend_Col ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsmp.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | SMPzeroRow( Matrix, Row ) | ^ 28 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:61: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:61: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:61: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | spSolve( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:165:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 165 | void SolveComplexMatrix(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:72:13: note: conflicting prototype is here 72 | static void SolveComplexMatrix( MatrixPtr, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | SolveComplexMatrix( Matrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | spSolveTransposed( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:483:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 483 | void SolveComplexTransposedMatrix(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:74:13: note: conflicting prototype is here 74 | static void SolveComplexTransposedMatrix( MatrixPtr, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spsolve.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | SolveComplexTransposedMatrix(Matrix, RHS, Solution IMAG_VECTORS ) | ^ 9 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:74: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:74: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:74: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | spMNA_Preorder( eMatrix ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | CountTwins( Matrix, Col, ppTwin1, ppTwin2 ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | SwapCols( Matrix, pTwin1, pTwin2 ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | spMultiply( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:636: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 previous declaration [-Wdeprecated-non-prototype] 636 | extern void ComplexMatrixMultiply(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:89:13: note: conflicting prototype is here 89 | static void ComplexMatrixMultiply( MatrixPtr, RealVector, RealVector, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | ComplexMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | spMultTransposed( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:831: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 previous declaration [-Wdeprecated-non-prototype] 831 | extern void ComplexTransposedMatrixMultiply(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:91:13: note: conflicting prototype is here 91 | static void ComplexTransposedMatrixMultiply( MatrixPtr, RealVector, RealVector, | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | ComplexTransposedMatrixMultiply( Matrix, RHS, Solution IMAG_VECTORS ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:1024:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | spDeterminant( eMatrix, pExponent, pDeterminant, piDeterminant ) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//sputils.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | spErrorMessage( eMatrix, Stream, Originator ) | ^ 14 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spextra.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spextra.c:28: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spextra.c:28: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spextra.c:28: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse/spdefs.h:40: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spextra.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | spConstMult(matrix, constant) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/lib/sparse//spextra.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[5]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/sparse Done with spice3f5/src/lib Making "all" in bin cc -c -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -DSIMULATOR /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:109:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | static started = false; | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:187:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | main(ac, av) | ^ 188 | char **av; 189 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:223:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | ivars( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:241:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | istty = (bool) isatty(fileno(stdin)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:246:5: warning: call to undeclared function 'init_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | init_time( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:248:11: warning: call to undeclared function 'SIMinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | err = SIMinit(&nutmeginfo,&ft_sim); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:250:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | ft_sperror(err,"SIMinit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:256:13: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | srandom(getpid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:319:28: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | cp_vset("rawfile", VT_STRING, *tv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:420:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | if (access(".spiceinit", 0) == 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:421:23: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | inp_source(".spiceinit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:423:27: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | pw = getpwuid(getuid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:427:27: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | inp_source(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:445:9: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | cp_vset("term", VT_STRING, cmd_line_term); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:449:9: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | DevInit( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:450:13: warning: passing arguments to 'com_version' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | com_version(NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:452:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | fp = fopen(cp_tildexpand(News_File), "r"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:497:31: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | tempfile = smktemp("sp"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:516:25: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | inp_spsource(file, false, tempfile ? (char *) NULL : *tv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:521:13: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | (void) unlink(tempfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:533:28: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | ft_loadfile(*av); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:537:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | ft_loadfile(ft_rawfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:543:21: warning: passing arguments to 'inp_spsource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | inp_spsource(stdin, false, (char *) NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:563:25: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | if (ft_dorun("")) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:574:30: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | error2 = ft_dorun(ft_rawfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:575:27: warning: passing arguments to 'ft_cktcoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | if (ft_cktcoms(true) || error2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:579:20: warning: passing arguments to 'ft_dorun' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | error2 = ft_dorun(NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:580:17: warning: passing arguments to 'ft_cktcoms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | if (ft_cktcoms(false) || error2) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:591:18: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | while (cp_evloop((char *) NULL) == 1) ; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | main(ac, av) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:422: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] 422 | extern int main(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | SPIinit(frtEnd,description) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | int SIMinit(frontEnd,simulator) | ^ 36 warnings and 1 error generated. *** Error code 1 (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte.a (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/ckt.a (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp.a (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/hlp.a (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/inp.a (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/sparse.a (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/misc.a (continuing) Creating conf.c: /wrkdirs/usr/ports/cad/spice/work/spice3f5/util/mkvers.sh "asrc bjt bsim1 bsim2 cap cccs ccvs csw dio ind isrc jfet jfet2 ltra mes mos1 mos2 mos3 mos6 res sw tra urc vccs vcvs vsrc " "op dc tf ac tran pz disto noise sense" "3f5" "" > conf.c cat /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//config.c >> conf.c chmod -w "conf.c" cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c conf.c Creating tune.c chmod -w "tune.c" cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c tune.c cc -c -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:11: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:109:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | static started = false; | ~~~~~~ ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:161:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | /* ARGSUSED */ int if_run(t, w, s, b) char *t, *w, *b; wordlist *s; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:429: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] 429 | extern int if_run(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:163:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | /* ARGSUSED */ int if_sens_run(t, w, s, b) char *t, *w, *b; wordlist *s; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:430: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] 430 | extern int if_sens_run(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:165:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | /* ARGSUSED */ void if_dump(ckt, fp) char *ckt; FILE *fp; { } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:435: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] 435 | extern void if_dump(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:166:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | /* ARGSUSED */ char * if_inpdeck(deck, tab) struct line *deck; char **tab; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:428: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] 428 | extern char *if_inpdeck(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:168:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | /* ARGSUSED */ int if_option(ckt, name, type, value) char *name, *ckt, *value; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:436: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] 436 | extern int if_option(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:170:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | /* ARGSUSED */ void if_cktfree(ckt, tab) char *ckt, *tab; { } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:434: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] 434 | extern void if_cktfree(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:171:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | /* ARGSUSED */ void if_setndnames(line) char *line; { } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:437: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] 437 | extern void if_setndnames(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:172:36: warning: parameter 'code' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | /* ARGSUSED */ char * if_errstring(code) { return ("spice error"); } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:172:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | /* ARGSUSED */ char * if_errstring(code) { return ("spice error"); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:427: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] 427 | extern char *if_errstring(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:173:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | /* ARGSUSED */ void if_setparam(ckt, name, param, val) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:438: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] 438 | extern void if_setparam(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | if_tranparams(ckt, start, stop, step) struct circ *ckt; | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:426: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] 426 | extern bool if_tranparams(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:180:33: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | /* ARGSUSED */ struct variable *if_getstat(n, c) char *n, *c; { return (NULL);} | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:439: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] 439 | extern struct variable *if_getstat(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:187:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 187 | main(ac, av) | ^ 188 | char **av; 189 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:223:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | ivars( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:241:20: warning: call to undeclared function 'isatty'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | istty = (bool) isatty(fileno(stdin)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:246:5: warning: call to undeclared function 'init_time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | init_time( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:248:11: warning: call to undeclared function 'SIMinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 248 | err = SIMinit(&nutmeginfo,&ft_sim); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:250:19: warning: passing arguments to 'ft_sperror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | ft_sperror(err,"SIMinit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:256:13: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | srandom(getpid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:319:28: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | cp_vset("rawfile", VT_STRING, *tv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:420:13: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | if (access(".spiceinit", 0) == 0) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:421:23: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | inp_source(".spiceinit"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:423:27: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | pw = getpwuid(getuid()); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:427:27: warning: passing arguments to 'inp_source' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | inp_source(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:445:9: warning: passing arguments to 'cp_vset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | cp_vset("term", VT_STRING, cmd_line_term); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:449:9: warning: call to undeclared function 'DevInit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | DevInit( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:450:13: warning: passing arguments to 'com_version' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | com_version(NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:452:30: warning: passing arguments to 'cp_tildexpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | fp = fopen(cp_tildexpand(News_File), "r"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:533:28: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | ft_loadfile(*av); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:537:24: warning: passing arguments to 'ft_loadfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | ft_loadfile(ft_rawfile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:630:21: warning: passing arguments to 'cp_evloop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | while (cp_evloop((char *) NULL) == 1) ; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | main(ac, av) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:16: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:422: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] 422 | extern int main(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | SPIinit(frtEnd,description) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//main.c:662:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | int SIMinit(frontEnd,simulator) | ^ 50 warnings and 1 error generated. *** Error code 1 (continuing) Creating nconf.c: /wrkdirs/usr/ports/cad/spice/work/spice3f5/util/mkvers.sh "" "" "3f5" "" > nconf.c cat /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//nconfig.c >> nconf.c chmod -w "nconf.c" cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c nconf.c cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:40:6: warning: parameter 'ac' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 40 | main(ac, av) | ^ 41 | char **av; 42 | { /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:70:34: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | sf = infile = smktemp("scin"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:71:35: warning: passing arguments to 'smktemp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | af = outfile = smktemp("scout"); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:76:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 76 | while (i = fread(buf, 1, sizeof(buf), stdin)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:76:22: note: place parentheses around the assignment to silence this warning 76 | while (i = fread(buf, 1, sizeof(buf), stdin)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:76:22: note: use '==' to turn this assignment into an equality comparison 76 | while (i = fread(buf, 1, sizeof(buf), stdin)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:84:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | sf = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:92:22: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | af = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:110:21: warning: passing arguments to 'oldread' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | pl = oldread(sf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:115:22: warning: passing arguments to 'raw_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | pl = raw_read(sf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:127:17: warning: passing arguments to 'oldwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | oldwrite(af, false, pl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:131:18: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | raw_write(af, pl, false, true); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:135:18: warning: passing arguments to 'raw_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | raw_write(af, pl, false, false); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:148:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 148 | while (i = fread(buf, 1, sizeof(buf), fp)) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:148:18: note: place parentheses around the assignment to silence this warning 148 | while (i = fread(buf, 1, sizeof(buf), fp)) | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:148:18: note: use '==' to turn this assignment into an equality comparison 148 | while (i = fread(buf, 1, sizeof(buf), fp)) | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:151:16: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | (void) unlink(infile); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | main(ac, av) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:422: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] 422 | extern int main(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:185:10: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | pl = alloc(struct plot); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:191:24: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | pl->pl_title = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:195:31: warning: passing arguments to 'fixdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | pl->pl_date = copy(fixdate(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:195:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | pl->pl_date = copy(fixdate(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:204:13: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | v = alloc(struct dvec); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:39:38: note: expanded from macro 'alloc' 39 | #define alloc(TYPE) ((TYPE *) tmalloc(sizeof(TYPE))) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:212:25: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | v->v_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:235:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 234 | fprintf(cp_err, "Warning: output %d should be %d\n", | ~~ | %ld 235 | a, i); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:239:23: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | pl->pl_name = copy(buf); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:264:47: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | v->v_realdata = (double *) tmalloc(sizeof (double) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:267:48: warning: passing arguments to 'tmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | v->v_compdata = (complex *) tmalloc(sizeof (complex) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | oldread(name) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:36:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static struct plot *oldread(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | oldwrite(name, app, pl) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:35: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] 35 | static void oldwrite(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:419:17: warning: passing arguments to 'copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | return (copy(buf)); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | fixdate(date) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:37: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] 37 | static char *fixdate(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:426:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | /* ARGSUSED */ void cp_usrvars(v1, v2) struct variable **v1, **v2; { return; } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:182: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] 182 | extern void cp_usrvars(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:427:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | /* ARGSUSED */ int cp_evloop(s) char *s; { return (0); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:68: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] 68 | extern int cp_evloop(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:428:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | /* ARGSUSED */ void cp_ccon(o) bool o; { } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:36: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] 36 | extern void cp_ccon(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:429:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | /* ARGSUSED */ char *if_errstring(c) int c; { return ("error"); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:427: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] 427 | extern char *if_errstring(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:431:46: warning: parameter 'args' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 431 | /* VARARGS1 ARGSUSED */ void out_printf(fmt, args) char *fmt; { } | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:431:30: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | /* VARARGS1 ARGSUSED */ void out_printf(fmt, args) char *fmt; { } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:126: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] 126 | extern void out_printf(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:433:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | /* ARGSUSED */ void out_send(string) char *string; {} | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:128: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] 128 | extern void out_send(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:434:34: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | /* ARGSUSED */ struct variable * cp_enqvar(word) char *word; { return (NULL); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:331: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] 331 | extern struct variable *cp_enqvar(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:435:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | /* ARGSUSED */ struct dvec *vec_get(word) char *word; { return (NULL); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:13: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/ftedefs.h:56: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/fteext.h:462:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 462 | extern struct dvec *vec_get(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:436:21: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | /* ARGSUSED */ void cp_ccom(w, b, e) wordlist *w; char *b; bool e; { return; } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:35: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] 35 | extern void cp_ccom(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:437:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | /* ARGSUSED */ int cp_usrset(v, i) struct variable *v; bool i;{return(US_OK); } | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:12: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:183: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] 183 | extern int cp_usrset(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//sconvert.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | void XtDispatchEvent(pev) char *pev; {} | ^ 57 warnings and 1 error generated. *** Error code 1 (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte/rawfile.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte/types.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte/error.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/numparse.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/quote.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/std.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/wlist.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/input.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/lexical.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/variable.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/cp/var2.o (continuing) make[4]: don't know how to make /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/lib/fte/dimens.o (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:9: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:15:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 15 | void exit(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:115:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 115 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:124:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 124 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:133:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 133 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:142:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 142 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:151:29: warning: cast to smaller integer type 'char' from 'void *' [-Wvoid-pointer-to-int-cast] 151 | *(typeline+3) = (char)NULL; | ^~~~~~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//proc2mod.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | getdata(vals,count,width) | ^ 10 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -DWANT_MFB -DWANT_X11 -I/usr/local/include -I/usr/local/include/X11 -I/usr/local/include/X11/Xmu -I/usr/local/include/X11/Xaw -c -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:29: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:29: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:16: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:64:5: warning: call to undeclared function 'ivars'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | ivars( ); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:72:18: warning: passing arguments to 'cp_getvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (cp_getvar("display", VT_STRING, buf)) { | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:88:22: warning: passing arguments to 'wl_build' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | wl = wl_build(av + 1); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:89:13: warning: passing arguments to 'hlp_main' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | hlp_main(Help_Path, wl); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | main(ac, av) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | fatal(s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:29: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:184: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] 184 | extern void fatal(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | cp_printword(s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:29: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:14: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpstd.h:56: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] 56 | extern void cp_printword(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | cp_getvar(n, t, r) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:29: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:151: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] 151 | extern bool cp_getvar(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:130:21: warning: passing arguments to 'tilde_expand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | return tilde_expand(s); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | cp_tildexpand(s) | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//help.c:29: In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpdefs.h:118: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/cpextern.h:78: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] 78 | extern char *cp_tildexpand(); | ^ 17 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ -c /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//makeidx.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//makeidx.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//makeidx.c:8: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//makeidx.c:18:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 18 | main(argc, argv) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//makeidx.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 warnings and 1 error generated. *** Error code 1 (continuing) cc -O2 -pipe -fcommon -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -Dbsd -c -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include -I/wrkdirs/usr/ports/cad/spice/work/spice3f5/src//lib/dev/ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:146: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 previous declaration [-Wdeprecated-non-prototype] 146 | extern void perror(); | ^ /usr/include/stdio.h:290:7: note: conflicting prototype is here 290 | void perror(const char *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:153: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 declaration [-Wdeprecated-non-prototype] 153 | extern char *asctime(); | ^ /usr/include/time.h:117:7: note: conflicting prototype is here 117 | char *asctime(const struct tm *); | ^ In file included from /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:10: /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:154:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 154 | extern struct tm *localtime(); | ^ /usr/include/time.h:125:12: note: conflicting prototype is here 125 | struct tm *localtime(const time_t *); | ^ /usr/include/time.h:167:13: error: redefinition of 'timezone' as different kind of symbol 167 | extern long timezone; | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/include/misc.h:151:14: note: previous definition is here 151 | extern char *timezone(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:24:2: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 24 | main (argc, argv) | ^ | int /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:50:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 50 | while (ch = *s++) { | ~~~^~~~~~ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:50:13: note: place parentheses around the assignment to silence this warning 50 | while (ch = *s++) { | ^ | ( ) /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:50:13: note: use '==' to turn this assignment into an equality comparison 50 | while (ch = *s++) { | ^ | == /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:107:8: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | usage(pname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:111:8: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | usage(pname); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:127:6: warning: passing arguments to 'usage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | usage(argv); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:158:9: warning: passing arguments to 'comments' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | comments(r,l,g,c,ctot,cm,lm,k,name,num,len); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:175:21: warning: passing arguments to 'phi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | matrix[i][j] = phi(i-1,tpeigenvalues[j]); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:229:1: warning: call to undeclared function 'spErrorMessage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 229 | spErrorMessage(othermatrix,stderr,NULL); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:24:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | main (argc, argv) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | usage(argv) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:20: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] 20 | extern void usage(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | comments(r,l,g,c,ctot,cm,lm,k,name,num,len) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:21: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] 21 | extern void comments(); | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | phi(i,arg) | ^ /wrkdirs/usr/ports/cad/spice/work/spice3f5/src/bin//multidec.c:22: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] 22 | extern double phi(); | ^ 18 warnings and 1 error generated. *** Error code 1 (continuing) `recursive' not remade because of errors. Stop. make[4]: stopped making "recursive" in /wrkdirs/usr/ports/cad/spice/work/spice3f5/FreeBSD/obj/bin Done with spice3f5/src Done with spice3f5 Done with build at Tue Oct 7 22:50:16 -00 2025 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> spice-3f5.2_15 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for spice-3f5.2_15 ===> Generating temporary packing list make: don't know how to make spice3. Stop make: stopped making "install" in /wrkdirs/usr/ports/cad/spice/work/spice3f5 *** Error code 2 Stop. make: stopped making "stage" in /usr/ports/cad/spice =>> Cleaning up wrkdir ===> Cleaning for spice-3f5.2_15 build of cad/spice | spice-3f5.2_15 ended at Tue Oct 7 18:50:24 EDT 2025 build time: 00:04:42 !!! build failure encountered !!!