=>> Building science/fastcap build started at Fri Dec 12 02:15:32 EST 2025 port directory: /usr/ports/science/fastcap package name: fastcap-2.0.w.011109_1 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2088 Aug 27 2024 /usr/ports/science/fastcap/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: edcb34baffbd Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for fastcap-2.0.w.011109_1: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/fastcap/work/.cache HOME=/wrkdirs/usr/ports/science/fastcap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/fastcap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/fastcap/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/science/fastcap/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/fastcap/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/fastcap/work/.cache HOME=/wrkdirs/usr/ports/science/fastcap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/fastcap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/fastcap/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 -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fastcap" EXAMPLESDIR="share/examples/fastcap" DATADIR="share/fastcap" WWWDIR="www/fastcap" ETCDIR="etc/fastcap" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fastcap DOCSDIR=/usr/local/share/doc/fastcap EXAMPLESDIR=/usr/local/share/examples/fastcap WWWDIR=/usr/local/www/fastcap ETCDIR=/usr/local/etc/fastcap --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fastcap-2.0.w.011109_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> fastcap-2.0.w.011109_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fastcap-2.0.w.011109_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastcap-2.0.w.011109_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastcap-2.0.w.011109_1 for building => SHA256 Checksum OK for fastcap-2.0wr-011109.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fastcap port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by fastcap-2.0.w.011109_1 for building ===> Extracting for fastcap-2.0.w.011109_1 => SHA256 Checksum OK for fastcap-2.0wr-011109.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for fastcap-2.0.w.011109_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fastcap-2.0.w.011109_1 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> fastcap-2.0.w.011109_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of fastcap-2.0.w.011109_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for fastcap-2.0.w.011109_1 Type 4 makefile set up =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for fastcap-2.0.w.011109_1 --- setmake --- --- setmake --- --- fastcap --- --- cubegen --- --- capgen --- --- busgen --- --- pipedgen --- --- pyragen --- --- fastcap --- /usr/bin/make -C src fastcap --- cubegen --- /usr/bin/make -C src cubegen --- busgen --- /usr/bin/make -C src busgen --- capgen --- /usr/bin/make -C src capgen --- pyragen --- /usr/bin/make -C src pyragen --- pipedgen --- /usr/bin/make -C src pipedgen --- cubegen --- --- ./cubegen.o --- --- ./disrect.o --- --- ./epsilon.o --- --- busgen --- --- ./busgen.o --- --- ./disrect.o --- --- ./epsilon.o --- --- capgen --- --- ./pltcapgen.o --- --- ./disrect.o --- --- ./epsilon.o --- --- pipedgen --- --- ./pipedgen.o --- --- ./disrect.o --- --- ./epsilon.o --- --- pyragen --- --- ./teragen.o --- --- ./disrect.o --- --- ./distri.o --- --- ./epsilon.o --- --- busgen --- --- ./busgen.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./busgen.c -o ./busgen.o --- pyragen --- --- ./teragen.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./teragen.c -o ./teragen.o --- cubegen --- --- ./cubegen.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./cubegen.c -o ./cubegen.o --- busgen --- --- ./disrect.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./disrect.c -o ./disrect.o --- capgen --- --- ./disrect.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./disrect.c -o ./disrect.o --- pipedgen --- --- ./pipedgen.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./pipedgen.c -o ./pipedgen.o --- capgen --- --- ./pltcapgen.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./pltcapgen.c -o ./pltcapgen.o --- pyragen --- --- ./disrect.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./disrect.c -o ./disrect.o --- ./distri.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./distri.c -o ./distri.o --- busgen --- --- ./epsilon.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./epsilon.c -o ./epsilon.o --- pipedgen --- --- ./epsilon.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./epsilon.c -o ./epsilon.o --- cubegen --- --- ./disrect.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./disrect.c -o ./disrect.o --- pyragen --- --- ./epsilon.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./epsilon.c -o ./epsilon.o --- capgen --- --- ./epsilon.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./epsilon.c -o ./epsilon.o --- cubegen --- --- ./epsilon.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./epsilon.c -o ./epsilon.o --- pipedgen --- --- ./disrect.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./disrect.c -o ./disrect.o --- fastcap --- --- ./mulGlobal.o --- --- ./mulSetup.o --- --- ./mulMats.o --- --- ./mulDo.o --- --- ./mulDisplay.o --- --- ./mulMulti.o --- --- ./mulLocal.o --- --- ./direct.o --- --- ./calcp.o --- --- ./fastcap.o --- --- ./blkDirect.o --- --- ./uglyalloc.o --- --- ./patran.o --- --- ./quickif.o --- --- ./electric.o --- --- ./input.o --- --- ./psMatDisplay.o --- --- ./capsolve.o --- --- ./savemat_mod.o --- --- ./zbufInOut.o --- --- ./zbuf2fastcap.o --- --- ./zbufProj.o --- --- ./zbufSort.o --- --- ./mulGlobal.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulGlobal.c -o ./mulGlobal.o --- ./mulSetup.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulSetup.c -o ./mulSetup.o --- ./mulMats.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulMats.c -o ./mulMats.o --- ./mulDo.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulDo.c -o ./mulDo.o --- ./mulDisplay.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulDisplay.c -o ./mulDisplay.o --- ./mulMulti.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulMulti.c -o ./mulMulti.o --- ./mulLocal.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./mulLocal.c -o ./mulLocal.o --- ./direct.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./direct.c -o ./direct.o --- ./calcp.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./calcp.c -o ./calcp.o --- ./fastcap.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./fastcap.c -o ./fastcap.o --- ./blkDirect.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./blkDirect.c -o ./blkDirect.o --- ./uglyalloc.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./uglyalloc.c -o ./uglyalloc.o --- ./patran.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./patran.c -o ./patran.o --- ./quickif.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./quickif.c -o ./quickif.o --- ./electric.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./electric.c -o ./electric.o --- ./input.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./input.c -o ./input.o --- ./capsolve.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./capsolve.c -o ./capsolve.o --- ./zbufInOut.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbufInOut.c -o ./zbufInOut.o --- ./savemat_mod.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./savemat_mod.c -o ./savemat_mod.o --- ./zbuf2fastcap.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbuf2fastcap.c -o ./zbuf2fastcap.o --- ./zbufProj.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbufProj.c -o ./zbufProj.o --- ./zbufSort.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./zbufSort.c -o ./zbufSort.o --- ./psMatDisplay.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c ./psMatDisplay.c -o ./psMatDisplay.o --- cubegen --- ./epsilon.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void getEpsBnds(upper, lower) | ^ 1 warning generated. --- pipedgen --- --- ./epsilon.o --- ./epsilon.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void getEpsBnds(upper, lower) | ^ 1 warning generated. --- capgen --- ./epsilon.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void getEpsBnds(upper, lower) | ^ 1 warning generated. --- pyragen --- ./epsilon.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void getEpsBnds(upper, lower) | ^ 1 warning generated. --- busgen --- ./epsilon.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void getEpsBnds(upper, lower) | ^ 1 warning generated. --- pyragen --- --- ./disrect.o --- ./disrect.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int wrQuadCells(fp, cond, sinernum, linernum, sinerwid, linerwid, sedgewid, | ^ ./disrect.c:196:5: warning: call to undeclared function 'getEpsBnds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | getEpsBnds(&uepsilon, &lepsilon); | ^ ./disrect.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int disRect(fp, cond, edgefrac, ncells, no_discr, | ^ 3 warnings generated. --- fastcap --- --- ./uglyalloc.o --- ./uglyalloc.c:105:16: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | cp = (char *)calloc(nu,sizeofHDR); | ^ ./uglyalloc.c:105:16: note: include the header or explicitly provide a declaration for 'calloc' ./uglyalloc.c:100:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static HEADER *mocore(nu) | ^ ./uglyalloc.c:124:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | char *ualloc(nbytes) | ^ ./uglyalloc.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | void uallocEfcy(memcount) | ^ 4 warnings generated. --- pipedgen --- --- ./disrect.o --- ./disrect.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int wrQuadCells(fp, cond, sinernum, linernum, sinerwid, linerwid, sedgewid, | ^ ./disrect.c:196:5: warning: call to undeclared function 'getEpsBnds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | getEpsBnds(&uepsilon, &lepsilon); | ^ ./disrect.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int disRect(fp, cond, edgefrac, ncells, no_discr, | ^ 3 warnings generated. --- fastcap --- --- ./electric.o --- ./electric.c:46:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | void compute_electric_fields(sys, chglist) | ^ 1 warning generated. --- busgen --- --- ./disrect.o --- ./disrect.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int wrQuadCells(fp, cond, sinernum, linernum, sinerwid, linerwid, sedgewid, | ^ ./disrect.c:196:5: warning: call to undeclared function 'getEpsBnds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | getEpsBnds(&uepsilon, &lepsilon); | ^ ./disrect.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int disRect(fp, cond, edgefrac, ncells, no_discr, | ^ 3 warnings generated. --- pyragen --- --- ./distri.o --- ./distri.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | void wrQuad(fp, cond, p1, p2, p3, p4) | ^ ./distri.c:110:63: warning: data argument not used by format string [-Wformat-extra-args] 110 | fprintf(stderr, "\ndisTri: ncells = 2 not implemented\n", ncells); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./distri.c:117:5: warning: call to undeclared function 'getEpsBnds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | getEpsBnds(&uepsilon, &lepsilon); | ^ ./distri.c:77:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | int disTri(fp, cond, edgefrac, ncells, no_discr, | ^ 4 warnings generated. --- ./teragen.o --- ./teragen.c:75: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] 75 | FILE *fp, *fopen(); | ^ ./teragen.c:178:14: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | else if(!strcmp(&(argv[i][1]), "pfl")) { | ^ ./teragen.c:178:14: note: include the header or explicitly provide a declaration for 'strcmp' ./teragen.c:272:18: warning: call to undeclared function 'disTri'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 272 | npanels += disTri(fp, 1, edgefrac, right_cells, no_discr, | ^ ./teragen.c:280:18: warning: call to undeclared function 'disTri'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 280 | npanels += disTri(fp, 1, edgefrac, left_cells, no_discr, | ^ ./teragen.c:294:18: warning: call to undeclared function 'disTri'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | npanels += disTri(fp, 1, edgefrac, right_cells, no_discr, | ^ ./teragen.c:303:18: warning: call to undeclared function 'disTri'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | npanels += disTri(fp, 1, edgefrac, left_cells, no_discr, | ^ ./teragen.c:313:16: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 313 | npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, | ^ ./teragen.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | main(argc, argv) | ^ 8 warnings generated. --- pyragen --- cc -o pyragen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./teragen.o ./disrect.o ./distri.o ./epsilon.o -lm --- pipedgen --- --- ./pipedgen.o --- ./pipedgen.c:73: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] 73 | FILE *fp, *fopen(); | ^ ./pipedgen.c:96:14: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | else if(!strcmp(argv[i], "-cr")) { | ^ ./pipedgen.c:96:14: note: include the header or explicitly provide a declaration for 'strcmp' ./pipedgen.c:301:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, | ^ ./pipedgen.c:310:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, | ^ ./pipedgen.c:319:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, | ^ ./pipedgen.c:329:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, | ^ ./pipedgen.c:340:16: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, | ^ ./pipedgen.c:350:16: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, | ^ ./pipedgen.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 | main(argc, argv) | ^ 9 warnings generated. --- cubegen --- --- ./disrect.o --- ./disrect.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int wrQuadCells(fp, cond, sinernum, linernum, sinerwid, linerwid, sedgewid, | ^ ./disrect.c:196:5: warning: call to undeclared function 'getEpsBnds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | getEpsBnds(&uepsilon, &lepsilon); | ^ ./disrect.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int disRect(fp, cond, edgefrac, ncells, no_discr, | ^ 3 warnings generated. --- pipedgen --- --- pipedgen --- cc -o pipedgen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./pipedgen.o ./disrect.o ./epsilon.o -lm --- fastcap --- --- ./zbuf2fastcap.o --- ./zbuf2fastcap.c:48:41: warning: parameter 'use_ttl_chg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 48 | void dump_ps_geometry(chglist, q, cond, use_ttl_chg) | ^ 49 | charge *chglist; 50 | double *q; 51 | int cond; 52 | { ./zbuf2fastcap.c:74:24: warning: passing arguments to 'fastcap2faces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | faces = fastcap2faces(&numfaces, chglist, q, use_density); | ^ ./zbuf2fastcap.c:77:19: warning: passing arguments to 'getLines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | lines = getLines(line_file, &numlines); | ^ ./zbuf2fastcap.c:80:15: warning: passing arguments to 'getAvg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | avg = getAvg(faces, numfaces, lines, numlines, OFF); | ^ ./zbuf2fastcap.c:83:21: warning: passing arguments to 'getSphere' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | radius = getSphere(avg, faces, numfaces, lines, numlines); | ^ ./zbuf2fastcap.c:89:18: warning: passing arguments to 'getNormal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | rhs = getNormal(normal, radius, avg, view, distance); | ^ ./zbuf2fastcap.c:101:3: warning: call to undeclared function 'initFaces'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | initFaces(faces, numfaces, view); | ^ ./zbuf2fastcap.c:110:3: warning: call to undeclared function 'getAdjGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | getAdjGraph(faces, numfaces, view, rhs, normal); | ^ ./zbuf2fastcap.c:115:26: warning: passing arguments to 'depthSortFaces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | sfaces = depthSortFaces(faces, numfaces); | ^ ./zbuf2fastcap.c:119:3: warning: call to undeclared function 'image'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | image(sfaces, numfaces, lines, numlines, normal, rhs, view); | ^ ./zbuf2fastcap.c:120:3: warning: call to undeclared function 'flatten'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | flatten(sfaces, numfaces, lines, numlines, rhs, rotation, normal, view); | ^ ./zbuf2fastcap.c:121:3: warning: call to undeclared function 'makePos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | makePos(sfaces, numfaces, lines, numlines); | ^ ./zbuf2fastcap.c:122:3: warning: call to undeclared function 'scale2d'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | scale2d(sfaces, numfaces, lines, numlines, scale, moffset); | ^ ./zbuf2fastcap.c:124:5: warning: call to undeclared function 'dumpCycles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | dumpCycles(sfaces, numfaces, stdout); /* DANGER - doesnt work (?) */ | ^ ./zbuf2fastcap.c:125:5: warning: call to undeclared function 'dumpFaceText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | dumpFaceText(sfaces, numfaces, stdout); | ^ ./zbuf2fastcap.c:133:5: warning: call to undeclared function 'dumpPs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | dumpPs(sfaces, numfaces, lines, numlines, fp, argvals, argcnt,use_density); | ^ ./zbuf2fastcap.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | void dump_ps_geometry(chglist, q, cond, use_ttl_chg) | ^ 17 warnings generated. --- busgen --- --- ./busgen.o --- ./busgen.c:119:13: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | npanels += disRect(fp, cond, edgefrac, ncells, no_disc, | ^ ./busgen.c:127:13: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | npanels += disRect(fp, cond, edgefrac, ncells, no_disc, | ^ ./busgen.c:152:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | npanels += disRect(fp, cond, edgefrac, ncells, no_disc, | ^ ./busgen.c:162:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | npanels += disRect(fp, cond, edgefrac, ncells, no_disc, | ^ ./busgen.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int disBar(fp, cond, edgefrac, ncells, wires, do_cond, do_dielec, no_disc, | ^ ./busgen.c:191: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] 191 | FILE *fp, *fopen(); | ^ ./busgen.c:295:15: warning: data argument not used by format string [-Wformat-extra-args] 294 | "Usage: %s [-xo] [-yo] [-zo]\n [-c] [-w]\n [-n] [-e]\n [-na] [-d]\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | argv[0], DEFNWI, DEFWID, DEFNCL, DEFEFR); | ^ ./busgen.c:41:16: note: expanded from macro 'DEFNWI' 41 | #define DEFNWI 2 /* default problem is DEFNWI X DEFNWI bus xg */ | ^ ./busgen.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 | main(argc, argv) | ^ 8 warnings generated. --- busgen --- --- capgen --- --- ./disrect.o --- ./disrect.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int wrQuadCells(fp, cond, sinernum, linernum, sinerwid, linerwid, sedgewid, | ^ ./disrect.c:196:5: warning: call to undeclared function 'getEpsBnds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | getEpsBnds(&uepsilon, &lepsilon); | ^ ./disrect.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | int disRect(fp, cond, edgefrac, ncells, no_discr, | ^ 3 warnings generated. --- ./pltcapgen.o --- ./pltcapgen.c:62:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 62 | FILE *fp, *fopen(); | ^ ./pltcapgen.c:180:13: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | npanels += disRect(fp, i+numplt, edgefrac, ncells, no_disc, | ^ ./pltcapgen.c:189:13: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | npanels += disRect(fp, cond++, edgefrac, ncells, no_disc, | ^ ./pltcapgen.c:204:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | npanels += disRect(fp, i+1, edgefrac, ncells, no_disc, | ^ ./pltcapgen.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 | main(argc, argv) | ^ 5 warnings generated. --- busgen --- cc -o busgen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./busgen.o ./disrect.o ./epsilon.o -lm --- capgen --- --- capgen --- cc -o capgen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./pltcapgen.o ./disrect.o ./epsilon.o -lm --- cubegen --- --- ./cubegen.o --- ./cubegen.c:75: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] 75 | FILE *fp, *fopen(); | ^ ./cubegen.c:192:14: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | else if(!strcmp(&(argv[i][1]),"pfl")) { | ^ ./cubegen.c:192:14: note: include the header or explicitly provide a declaration for 'strcmp' ./cubegen.c:223:15: warning: data argument not used by format string [-Wformat-extra-args] 222 | "Usage: %s [-xo] [-yo] [-zo] \n [-xh] [-yh] [-zh] \n [-n] [-e] [-na]\n [-o] [-t] [-b] [-p] [-pfl] [-pfr] [-pbl] [-pbr] [-d]\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 223 | argv[0], DEFNCL, DEFEFR); | ^ ./cubegen.c:40:16: note: expanded from macro 'DEFNCL' 40 | #define DEFNCL 3 /* default #cells on short side of faces */ | ^ ./cubegen.c:292:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 292 | npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, | ^ ./cubegen.c:301:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, | ^ ./cubegen.c:310:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | npanels += disRect(fp, 1, edgefrac, right_cells, no_discr, | ^ ./cubegen.c:319:18: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | npanels += disRect(fp, 1, edgefrac, left_cells, no_discr, | ^ ./cubegen.c:329:16: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, | ^ ./cubegen.c:338:16: warning: call to undeclared function 'disRect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 338 | npanels += disRect(fp, 1, edgefrac, top_cells, no_discr, | ^ ./cubegen.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | main(argc, argv) | ^ 10 warnings generated. --- cubegen --- cc -o cubegen.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./cubegen.o ./disrect.o ./epsilon.o -lm --- fastcap --- --- ./psMatDisplay.o --- ./psMatDisplay.c:100:3: warning: call to undeclared function 'copyBody'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | copyBody(fp); /* copys the body of the header from | ^ ./psMatDisplay.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void dump_aldus_hdr(fp, lowx, lowy, upx, upy, dump_text_hdr) | ^ ./psMatDisplay.c:150:5: warning: call to undeclared function 'dump_line_as_ps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | dump_line_as_ps(fp, line, OFFSETX+2*CMDFONT, OFFSETY+IMAGEY+CMDFONT/2, | ^ ./psMatDisplay.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void dump_aldus_foot(fp, insert_showpage, argv, argc, print_cmd_line, aux_str) | ^ ./psMatDisplay.c:168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | void dump_block(fp, xstart, ystart, xwid, ywid) | ^ ./psMatDisplay.c:185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | void dump_line(fp, xstart, ystart, len) | ^ ./psMatDisplay.c:209: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] 209 | FILE *fopen(); | ^ ./psMatDisplay.c:272:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 272 | CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:272:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 272 | CALLOC(aliased_matrix, num_alias_r, char*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./psMatDisplay.c:274:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 274 | CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./psMatDisplay.c:274:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 274 | CALLOC(aliased_matrix[i], num_alias_c, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./psMatDisplay.c:201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | void dump_ps_mat(filename, row, col, num_row, num_col, argv, argc, type) | ^ 12 warnings generated. --- pyragen --- mv pyragen.temp.out ../bin/pyragen --- pipedgen --- mv pipedgen.temp.out ../bin/pipedgen --- fastcap --- --- ./fastcap.o --- ./fastcap.c:75:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 75 | CALLOC(title, BUFSIZ, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./fastcap.c:75:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 75 | CALLOC(title, BUFSIZ, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./fastcap.c:82:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 82 | CALLOC(axes, 10, double **, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./fastcap.c:82:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 82 | CALLOC(axes, 10, double **, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./fastcap.c:84:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 84 | CALLOC(axes[i], 2, double *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./fastcap.c:84:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 84 | CALLOC(axes[i], 2, double *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./fastcap.c:86:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 86 | CALLOC(axes[i][j], 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./fastcap.c:86:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 86 | CALLOC(axes[i][j], 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./fastcap.c:93:26: warning: passing arguments to 'input_problem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | chglist = input_problem(argv, argc, &autmom, &autlev, &relperm, | ^ ./fastcap.c:99:13: warning: call to undeclared function 'get_ps_file_base'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if(!q_) get_ps_file_base(argv, argc); | ^ ./fastcap.c:100:5: warning: call to undeclared function 'dump_ps_geometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | dump_ps_geometry(chglist, NULL, 0, dd_); | ^ ./fastcap.c:106:16: warning: passing arguments to 'mulInit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | sys = mulInit(autlev, numLev, numMom, chglist); /* Set up cubes, charges. */ | ^ ./fastcap.c:176:3: warning: call to undeclared function 'mulMultiAlloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 176 | mulMultiAlloc(MAX(sys->max_eval_pnt, sys->max_panel), numMom, sys->depth); | ^ ./fastcap.c:185:3: warning: call to undeclared function 'mulMatDirect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | mulMatDirect(sys); /* Compute the direct part matrices. */ | ^ ./fastcap.c:198:3: warning: call to undeclared function 'olmulMatPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | olmulMatPrecond(sys); | ^ ./fastcap.c:216:3: warning: call to undeclared function 'dumpnums'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 216 | dumpnums(ON, eval_size, up_size); /* save num/type of pot. coeff calcs */ | ^ ./fastcap.c:228:3: warning: call to undeclared function 'mulMatUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | mulMatUp(sys); /* Compute the upward pass matrices. */ | ^ ./fastcap.c:235:3: warning: call to undeclared function 'mulMatDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | mulMatDown(sys); /* find matrices for full Greengard dnwd pass*/ | ^ ./fastcap.c:244:3: warning: call to undeclared function 'mulMatEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 244 | mulMatEval(sys); /* set up matrices for evaluation pass */ | ^ ./fastcap.c:266:13: warning: call to undeclared function 'capsolve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 266 | ttliter = capsolve(&capmat, sys, chglist, eval_size, up_size, num_cond, | ^ ./fastcap.c:270:3: warning: call to undeclared function 'mksCapDump'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | mksCapDump(capmat, num_cond, relperm, &name_list); | ^ ./fastcap.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 | main(argc, argv) | ^ 22 warnings generated. --- busgen --- mv busgen.temp.out ../bin/busgen --- cubegen --- mv cubegen.temp.out ../bin/cubegen --- capgen --- mv capgen.temp.out ../bin/capgen --- fastcap --- --- ./mulDo.o --- ./mulDo.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | mulDirect(sys) | ^ | int ./mulDo.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] ./mulDo.c:89:1: warning: non-void function does not return a value [-Wreturn-type] 89 | } | ^ ./mulDo.c:94:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 94 | mulPrecond(sys, type) | ^ | int ./mulDo.c:104:7: warning: call to undeclared function 'solve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | solve(nc->precond, nc->prevectq, nc->prevectq, nc->presize); | ^ ./mulDo.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 | mulPrecond(sys, type) | ^ ./mulDo.c:146:1: warning: non-void function does not return a value [-Wreturn-type] 146 | } | ^ ./mulDo.c:152:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | void mulUp(sys) | ^ ./mulDo.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void mulEval(sys) | ^ ./mulDo.c:226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | void mulDown(sys) | ^ 10 warnings generated. --- ./quickif.o --- In file included from ./quickif.c:36: ./quickif.h:68:26: warning: '/*' within block comment [-Wcomment] 68 | /* #define MAXCON 10000 /* assumes never more conductors than this */ | ^ ./quickif.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | int alias_match(cur_name, name) | ^ ./quickif.c:57:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | int alias_match_name(cur_name, name) | ^ ./quickif.c:91:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 91 | CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:91:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 91 | CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:92:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 92 | CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:92:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 92 | CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:96:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 96 | CALLOC(last_alias, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:96:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 96 | CALLOC(last_alias, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:97:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 97 | CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:97:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 97 | CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void add_to_alias(cur_name, new_name) | ^ ./quickif.c:105:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | char *last_alias(cur_name) | ^ ./quickif.c:133:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 133 | CALLOC(*name_list, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:133:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 133 | CALLOC(*name_list, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:134:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 134 | CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:134:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 134 | CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:150:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 150 | CALLOC(prev_name->next, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:150:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 150 | CALLOC(prev_name->next, 1, Name, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:151:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 151 | CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:151:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 151 | CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:123:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | int getConductorNum(name, name_list, num_cond) | ^ ./quickif.c:165:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | int getConductorNumNoAdd(name, name_list) | ^ ./quickif.c:186:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | char *getConductorName(cond_num, name_list) | ^ ./quickif.c:235:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 235 | CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:235:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 235 | CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:209:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | int oldrenameConductor(old_name, new_name, name_list, num_cond) | ^ ./quickif.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | int renameConductor(old_name, new_name, name_list, num_cond) | ^ ./quickif.c:295:68: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 295 | char *delcr(), temp[BUFSIZ], temp2[BUFSIZ], line1[BUFSIZ], *cp, *strtok(); | ^ ./quickif.c:306:43: warning: passing arguments to 'delcr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | if(title[0] == '\0') strcpy(title, delcr(&line[1])); | ^ ./quickif.c:326:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 326 | CALLOC(fstquad, 1, quadl, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:326:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 326 | CALLOC(fstquad, 1, quadl, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:330:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 330 | CALLOC(curquad->next, 1, quadl, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:330:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 330 | CALLOC(curquad->next, 1, quadl, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:336:45: warning: incompatible pointer types passing 'Name *' (aka 'struct Name *') to parameter of type 'Name **' (aka 'struct Name **'); take the address with & [-Wincompatible-pointer-types] 336 | curquad->cond = getConductorNum(condstr, name_list, num_cond); | ^~~~~~~~~ | & ./quickif.c:364:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 364 | CALLOC(fsttri, 1, tri, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:364:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 364 | CALLOC(fsttri, 1, tri, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:368:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 368 | CALLOC(curtri->next, 1, tri, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:368:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 368 | CALLOC(curtri->next, 1, tri, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:377:44: warning: incompatible pointer types passing 'Name *' (aka 'struct Name *') to parameter of type 'Name **' (aka 'struct Name **'); take the address with & [-Wincompatible-pointer-types] 377 | curtri->cond = getConductorNum(condstr, name_list, num_cond); | ^~~~~~~~~ | & ./quickif.c:406:37: warning: incompatible pointer types passing 'Name *' (aka 'struct Name *') to parameter of type 'Name **' (aka 'struct Name **'); take the address with & [-Wincompatible-pointer-types] 406 | if(renameConductor(condstr, temp2, name_list, num_cond) == FALSE) | ^~~~~~~~~ | & ./quickif.c:430:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 430 | CALLOC(chglst, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:430:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 430 | CALLOC(chglst, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:434:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 434 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:434:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 434 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:459:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 459 | CALLOC(chglst, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:459:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 459 | CALLOC(chglst, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:463:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 463 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./quickif.c:463:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 463 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./quickif.c:286:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | charge *quickif(fp, line, title, surf_type, trans, num_cond, name_list, | ^ 50 warnings generated. --- ./direct.o --- ./direct.c:47:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 47 | CALLOC(mat, numchgs, double*, ON, AQ2PD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:47:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 47 | CALLOC(mat, numchgs, double*, ON, AQ2PD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:48:30: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 48 | for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:48:30: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 48 | for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:66:36: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | if(!is_dummy[j]) mat[i][j] = calcp(chgs[j], chgs[i]->x, chgs[i]->y, | ^ ./direct.c:37:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | double **Q2PDiag(chgs, numchgs, is_dummy, calc) | ^ ./direct.c:90:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 90 | CALLOC(mat, numpchgs, double*, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:90:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 90 | CALLOC(mat, numpchgs, double*, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:92:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 92 | CALLOC(mat[i], numqchgs, double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:92:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 92 | CALLOC(mat[i], numqchgs, double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:104:23: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | mat[i][j] = calcp(qchgs[j], pchgs[i]->x, pchgs[i]->y, | ^ ./direct.c:79:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | double **Q2P(qchgs, numqchgs, is_dummy, pchgs, numpchgs, calc) | ^ ./direct.c:131:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 131 | MALLOC(mat, numchgs, double*, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:131:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 131 | MALLOC(mat, numchgs, double*, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:132:32: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 132 | for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:132:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 132 | for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:148:21: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | mat[i][j] = calcp(pchgs[i-fromp],eval->x, eval->y, eval->z, NULL); | ^ ./direct.c:121:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | double **Q2Pfull(directlist, numchgs) | ^ ./direct.c:172:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 172 | MALLOC(mat, size, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:172:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 172 | MALLOC(mat, size, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:174:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 174 | MALLOC(mat[i], size, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:174:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 174 | MALLOC(mat[i], size, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:161:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | double **ludecomp(matin, size, allocate) | ^ ./direct.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void solve(mat, x, b, size) | ^ ./direct.c:233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | void invert(mat, size, reorder) | ^ ./direct.c:318:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 318 | CALLOC(cur_order, size, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./direct.c:318:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 318 | CALLOC(cur_order, size, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./direct.c:309:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | int compressMat(mat, size, is_dummy, comp_rows) | ^ ./direct.c:353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | void expandMat(mat, size, comp_size, is_dummy, exp_rows) | ^ ./direct.c:391:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 391 | matcheck(mat, rows, size) | ^ | int ./direct.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./direct.c:413:1: warning: non-void function does not return a value [-Wreturn-type] 413 | } | ^ ./direct.c:416:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 416 | matlabDump(mat, size, name) | ^ | int ./direct.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./direct.c:435:1: warning: non-void function does not return a value [-Wreturn-type] 435 | } | ^ 35 warnings generated. --- ./calcp.o --- ./calcp.c:82:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | initcalcp(panel_list) | ^ | int ./calcp.c:144:5: warning: call to undeclared function 'Cross_Product'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | Cross_Product(pq->X, pq->Y, pq->Z); | ^ ./calcp.c:146:8: warning: call to undeclared function 'flip_normal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | if(flip_normal(pq)) { | ^ ./calcp.c:167:31: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | pq->area = 0.5 * normalize(pq->Z); | ^ ./calcp.c:168:14: warning: passing arguments to 'normalize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | normalize(pq->X); | ^ ./calcp.c:174:8: warning: call to undeclared function 'planarize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | if(planarize(pq) == FALSE) { | ^ ./calcp.c:176:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 176 | CALLOC(npq, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./calcp.c:176:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 176 | CALLOC(npq, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./calcp.c:190:5: warning: call to undeclared function 'centroid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | centroid(pq, length20); | ^ ./calcp.c:222:5: warning: call to undeclared function 'ComputeMoments'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | ComputeMoments(pq); | ^ ./calcp.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 | initcalcp(panel_list) | ^ ./calcp.c:229:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 229 | } | ^ ./calcp.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | oldflip_normal(panel) | ^ | int ./calcp.c:277:42: warning: call to undeclared function 'hack_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ^ ./calcp.c:277:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 277 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ~~ ^~~~~~~~~~~~~~~~~~~~ | %d ./calcp.c:294:42: warning: call to undeclared function 'hack_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ^ ./calcp.c:294:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 294 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ~~ ^~~~~~~~~~~~~~~~~~~~ | %d ./calcp.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 | oldflip_normal(panel) | ^ ./calcp.c:316:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 316 | flip_normal(panel) | ^ | int ./calcp.c:353:40: warning: call to undeclared function 'hack_path'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ^ ./calcp.c:353:40: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 353 | fprintf(stderr, " Surface: %s\n", hack_path(surf_name)); | ~~ ^~~~~~~~~~~~~~~~~~~~ | %d ./calcp.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 | flip_normal(panel) | ^ ./calcp.c:373:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 373 | planarize(pq) | ^ | int ./calcp.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] ./calcp.c:421:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 421 | centroid(pp, x2) | ^ | int ./calcp.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] ./calcp.c:449:1: warning: non-void function does not return a value [-Wreturn-type] 449 | } | ^ ./calcp.c:451:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | double normalize(vector) | ^ ./calcp.c:467:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | int If_Equal(vector1, vector2) | ^ ./calcp.c:478:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 478 | Cross_Product(vector1, vector2, result_vector) | ^ | int ./calcp.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./calcp.c:484:1: warning: non-void function does not return a value [-Wreturn-type] 484 | } | ^ ./calcp.c:659:5: warning: call to undeclared function 'dp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 659 | dp(panel); | ^ ./calcp.c:503:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | double calcp(panel, x, y, z, pfd) | ^ ./calcp.c:668:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 668 | dumpnums(flag, size) | ^ | int ./calcp.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] ./calcp.c:700:1: warning: non-void function does not return a value [-Wreturn-type] 700 | } | ^ ./calcp.c:702:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | double tilelength(nq) | ^ ./calcp.c:716:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 716 | ComputeMoments(pp) | ^ | int ./calcp.c:733:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 733 | CALLOC(XP[i], (order+3), double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./calcp.c:733:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 733 | CALLOC(XP[i], (order+3), double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./calcp.c:734:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 734 | CALLOC(YP[i], (order+3), double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./calcp.c:734:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 734 | CALLOC(YP[i], (order+3), double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./calcp.c:737:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 737 | CALLOC(I, (order+1), double*, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./calcp.c:737:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 737 | CALLOC(I, (order+1), double*, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./calcp.c:738:33: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 738 | for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./calcp.c:738:33: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 738 | for(i = 0; i <= order; i++) CALLOC(I[i], (order+1), double, ON, AQ2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./calcp.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 | ComputeMoments(pp) | ^ ./calcp.c:826:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 826 | } | ^ ./calcp.c:830:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 830 | dp(panel) | ^ | int ./calcp.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./calcp.c:870:1: warning: non-void function does not return a value [-Wreturn-type] 870 | } | ^ ./calcp.c:877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 877 | testCalcp(pp) | ^ | int ./calcp.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./calcp.c:902:1: warning: non-void function does not return a value [-Wreturn-type] 902 | } | ^ ./calcp.c:905:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 905 | fileCorners(pp, f) | ^ | int ./calcp.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] ./calcp.c:914:1: warning: non-void function does not return a value [-Wreturn-type] 914 | } | ^ ./calcp.c:918:24: warning: parameter 'origorder' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 918 | calcpm(multi, x, y, z, origorder, order) | ^ 919 | double *multi, x, y, z; 920 | int order; 921 | { ./calcp.c:918:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 918 | calcpm(multi, x, y, z, origorder, order) | ^ | int ./calcp.c:932:19: warning: passing arguments to 'mulMulti2P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | mat = mulMulti2P(0.0, 0.0, 0.0, &ppanel, 1, origorder); | ^ ./calcp.c:933:14: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 933 | numterms = multerms(origorder); | ^ ./calcp.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 | calcpm(multi, x, y, z, origorder, order) | ^ ./calcp.c:939:1: warning: non-void function does not return a value [-Wreturn-type] 939 | } | ^ 64 warnings generated. --- ./zbufProj.o --- ./zbufProj.c:59:23: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:59:42: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:79:23: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:79:42: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:98:21: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:98:40: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:112:21: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:112:40: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | alpha = (rhs-dot(view, normal))/dot(temp, normal); | ^ ./zbufProj.c:42:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | void image(faces, numfaces, lines, numlines, normal, rhs, view) | ^ ./zbufProj.c:143:11: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if(dot(faces[f]->normal, view) - faces[f]->rhs < 0.0) { | ^ ./zbufProj.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void initFaces(faces, numfaces, view) | ^ ./zbufProj.c:177:17: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | if((temp = dot(normal, tvec)) < 0.0) { | ^ ./zbufProj.c:185:13: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | temp = dot(y, z); | ^ ./zbufProj.c:187:18: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | temp = sqrt(dot(y, y)); | ^ ./zbufProj.c:201:17: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | temp = dot(tvec, x); /* x coordinate */ | ^ ./zbufProj.c:202:32: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | (faces[i]->c)[j][1] = dot(tvec, y); /* y coordinate */ | ^ ./zbufProj.c:211:15: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | temp = dot(tvec, x); /* x coordinate */ | ^ ./zbufProj.c:212:30: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | (lines[i]->from)[1] = dot(tvec, y); /* y coordinate */ | ^ ./zbufProj.c:217:15: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | temp = dot(tvec, x); /* x coordinate */ | ^ ./zbufProj.c:218:28: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | (lines[i]->to)[1] = dot(tvec, y); /* y coordinate */ | ^ ./zbufProj.c:226:17: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | temp = dot(tvec, x); | ^ ./zbufProj.c:227:26: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | axes[i][j][1] = dot(tvec, y); | ^ ./zbufProj.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void flatten(faces, numfaces, lines, numlines, rhs, rotation, normal, view) | ^ ./zbufProj.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void makePos(faces, numfaces, lines, numlines) | ^ ./zbufProj.c:344:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | void scale2d(faces, numfaces, lines, numlines, scale, offset) | ^ ./zbufProj.c:430:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 430 | CALLOC(avg, 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufProj.c:430:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 430 | CALLOC(avg, 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufProj.c:419:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | double *getAvg(faces, numfaces, lines, numlines, flag) | ^ ./zbufProj.c:500:31: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | radius = MAX(radius, dot(temp, temp)); | ^ ./zbufProj.c:500:31: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./zbufProj.c:507:29: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | radius = MAX(radius, dot(temp, temp)); | ^ ./zbufProj.c:507:29: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./zbufProj.c:509:29: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | radius = MAX(radius, dot(temp, temp)); | ^ ./zbufProj.c:509:29: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./zbufProj.c:516:31: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | radius = MAX(radius, dot(temp, temp)); | ^ ./zbufProj.c:516:31: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./zbufProj.c:485:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | double getSphere(avg, faces, numfaces, lines, numlines) | ^ ./zbufProj.c:549:12: warning: passing arguments to 'dot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | rhs = dot(normal, view); | ^ ./zbufProj.c:530:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | double getNormal(normal, radius, avg, view, distance) | ^ 39 warnings generated. --- ./zbufSort.o --- ./zbufSort.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | int diff_is_zero(num1, num2, bias) | ^ ./zbufSort.c:59:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | int diff_is_negative(num1, num2, bias) | ^ ./zbufSort.c:73:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | double dot(vec1, vec2) | ^ ./zbufSort.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | void crossProd(out, in1, in2) | ^ ./zbufSort.c:97:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | double getPlane(normal, p1, p2, p3) | ^ ./zbufSort.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | int whichSide(fac, facplane) | ^ ./zbufSort.c:175:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | int doLinesIntersect(isect, from1, to1, from2, to2) | ^ ./zbufSort.c:235:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | int face_is_inside(corners1, ccnt1, corners2, ccnt2, com_pnt) | ^ ./zbufSort.c:530:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 530 | CALLOC(cproj, 2, double **, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:530:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 530 | CALLOC(cproj, 2, double **, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:532:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 532 | CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:532:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 532 | CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:534:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 534 | CALLOC(cproj[k][i], 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:534:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 534 | CALLOC(cproj[k][i], 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:752:5: warning: call to undeclared function 'dump_face'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 752 | dump_face(stderr, fac); | ^ ./zbufSort.c:754:5: warning: call to undeclared function 'dumpCorners'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | dumpCorners(stderr, cproj[0], fac->numsides, 3); | ^ ./zbufSort.c:505:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | int is1stFaceDeeper(fac, facref, view, rhs, normal) | ^ ./zbufSort.c:768:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | int isThereBoxOverlap(fac, facref, view) | ^ ./zbufSort.c:926:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | int chkCycle(fac, ref, fp) | ^ ./zbufSort.c:953:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | void dumpCycles(faces, numfaces, file) | ^ ./zbufSort.c:983:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | void setDepth(fac) | ^ ./zbufSort.c:1028:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1028 | CALLOC(rfaces, numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1028:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1028 | CALLOC(rfaces, numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:1012:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | face **depthSortFaces(faces, numfaces) | ^ ./zbufSort.c:1060:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1060 | CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1060:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1060 | CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:1082:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1082 | CALLOC(behind, numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1082:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1082 | CALLOC(behind, numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:1089:39: warning: too few arguments in call to 'is1stFaceDeeper' 1089 | if(is1stFaceDeeper(fpcur, fpchk, view) == TRUE) { | ~~~~~~~~~~~~~~~ ^ ./zbufSort.c:1095:25: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1095 | if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufSort.c:1095:25: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1095 | if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufSort.c:1048:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | void getAdjGraph(faces, numfaces, view, rhs, normal) | ^ 32 warnings generated. --- ./capsolve.o --- ./capsolve.c:66:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 66 | CALLOC((*capmat), numconds+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:66:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 66 | CALLOC((*capmat), numconds+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:68:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 68 | CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:68:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 68 | CALLOC((*capmat)[i], numconds+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:72:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 72 | CALLOC(q, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:72:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 72 | CALLOC(q, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:73:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 73 | CALLOC(r, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:73:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 73 | CALLOC(r, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:79:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 79 | CALLOC(bp, maxiter+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:79:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 79 | CALLOC(bp, maxiter+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:80:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 80 | CALLOC(bap, maxiter+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:80:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 80 | CALLOC(bap, maxiter+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:99:8: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if(want_this_iter(kill_num_list, cond) | ^ ./capsolve.c:103:22: warning: passing arguments to 'getConductorName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | getConductorName(cond, &name_list)); | ^ ./capsolve.c:133:16: warning: call to undeclared function 'gmres'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | if((iter = gmres(sys,q,p,r,ap,bp,bap,size,maxiter,iter_tol,chglist)) | ^ ./capsolve.c:158:7: warning: call to undeclared function 'dump_ps_geometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | dump_ps_geometry(chglist, q, cond, dd_); | ^ ./capsolve.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int capsolve(capmat, sys, chglist, size, real_size, numconds, name_list) | ^ ./capsolve.c:225:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 225 | CALLOC(bp[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:225:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 225 | CALLOC(bp[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:226:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 226 | CALLOC(bap[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:226:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 226 | CALLOC(bap[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:238:5: warning: call to undeclared function 'computePsi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | computePsi(sys, chglist); | ^ ./capsolve.c:196:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | int oldgcr(sys, q, p, r, ap, bp, bap, size, real_size, maxiter, tol, chglist) | ^ ./capsolve.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 307 | oldcomputePsi(sys, chglist) | ^ | int ./capsolve.c:314:3: warning: call to undeclared function 'mulDirect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | mulDirect(sys); | ^ ./capsolve.c:319:3: warning: call to undeclared function 'mulUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | mulUp(sys); | ^ ./capsolve.c:333:3: warning: call to undeclared function 'mulDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 333 | mulDown(sys); /* do heirarchical local shift dwnwd pass */ | ^ ./capsolve.c:340:3: warning: call to undeclared function 'mulEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 340 | mulEval(sys); /* evaluate either locals or multis or both */ | ^ ./capsolve.c:350:3: warning: call to undeclared function 'compute_electric_fields'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | compute_electric_fields(sys, chglist); | ^ ./capsolve.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 | oldcomputePsi(sys, chglist) | ^ ./capsolve.c:361:1: warning: non-void function does not return a value [-Wreturn-type] 361 | } | ^ ./capsolve.c:390:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 390 | CALLOC(bp[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:390:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 390 | CALLOC(bp[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:391:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 391 | CALLOC(bap[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:391:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 391 | CALLOC(bap[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:398:5: warning: call to undeclared function 'computePsi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | computePsi(sys, p, ap, size, chglist); | ^ ./capsolve.c:455:3: warning: call to undeclared function 'mulPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | mulPrecond(sys, PRECOND); | ^ ./capsolve.c:368:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | int gcr(sys, q, p, r, ap, bp, bap, size, maxiter, tol, chglist) | ^ ./capsolve.c:492:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 492 | CALLOC(c, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:492:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 492 | CALLOC(c, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:493:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 493 | CALLOC(s, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:493:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 493 | CALLOC(s, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:494:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 494 | CALLOC(g, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:494:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 494 | CALLOC(g, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:495:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 495 | CALLOC(y, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:495:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 495 | CALLOC(y, size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:519:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 519 | CALLOC(bv[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:519:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 519 | CALLOC(bv[iter], size+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:520:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 520 | CALLOC(bh[iter], iter+2, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./capsolve.c:520:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 520 | CALLOC(bh[iter], iter+2, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./capsolve.c:530:5: warning: call to undeclared function 'computePsi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 530 | computePsi(sys, p, ap, size, chglist); | ^ ./capsolve.c:622:3: warning: call to undeclared function 'mulPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | mulPrecond(sys, PRECOND); | ^ ./capsolve.c:471:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | int gmres(sys, q, p, r, ap, bv, bh, size, maxiter, tol, chglist) | ^ ./capsolve.c:643:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 643 | computePsi(sys, q, p, size, chglist) | ^ | int ./capsolve.c:660:3: warning: call to undeclared function 'mulPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 660 | mulPrecond(sys, PRECOND); | ^ ./capsolve.c:672:3: warning: call to undeclared function 'mulDirect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | mulDirect(sys); | ^ ./capsolve.c:677:3: warning: call to undeclared function 'mulUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | mulUp(sys); | ^ ./capsolve.c:690:3: warning: call to undeclared function 'mulDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 690 | mulDown(sys); /* do heirarchical local shift dwnwd pass */ | ^ ./capsolve.c:697:3: warning: call to undeclared function 'mulEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | mulEval(sys); /* evaluate either locals or multis or both */ | ^ ./capsolve.c:709:3: warning: call to undeclared function 'compute_electric_fields'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | compute_electric_fields(sys, chglist); | ^ ./capsolve.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | computePsi(sys, q, p, size, chglist) | ^ ./capsolve.c:716:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 716 | } | ^ 62 warnings generated. --- ./zbufInOut.o --- ./zbufInOut.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void setupLine(axi, index, x1, y1, z1, x2, y2, z2) | ^ ./zbufInOut.c:156:10: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | if(want_this_iter(kq_num_list, panel->cond)) continue; | ^ ./zbufInOut.c:191:10: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | if(want_this_iter(kq_num_list, panel->cond)) continue; | ^ ./zbufInOut.c:136:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | void figure_grey_levels(face_list, chgs, chglist, use_density) | ^ ./zbufInOut.c:227: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] 227 | FILE *fp, *fopen(); | ^ ./zbufInOut.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void get_charge_densities(q, file, iter) | ^ ./zbufInOut.c:285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | void getAbsCoord(vec, panel, num) | ^ ./zbufInOut.c:344:10: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 344 | if(want_this_iter(kq_num_list, chgp->cond)) continue; | ^ ./zbufInOut.c:353:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 353 | CALLOC(head, 1, face, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:353:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 353 | CALLOC(head, 1, face, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:357:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 357 | CALLOC(tail->next, 1, face, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:357:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 357 | CALLOC(tail->next, 1, face, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:362:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 362 | CALLOC(tail->c, tail->numsides, double *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:362:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 362 | CALLOC(tail->c, tail->numsides, double *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:364:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 364 | CALLOC(tail->c[i], 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:364:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 364 | CALLOC(tail->c[i], 3, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:370:25: warning: passing arguments to 'getPlane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | tail->rhs = getPlane(tail->normal, tail->c[0], tail->c[1], tail->c[2]); | ^ ./zbufInOut.c:380:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 380 | CALLOC(faces, *numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:380:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 380 | CALLOC(faces, *numfaces, face *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:303:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | face **fastcap2faces(numfaces, chglist, q, use_density) | ^ ./zbufInOut.c:433:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 433 | char linein[BUFSIZ], **chkp, *chk, *strtok(), *cp; | ^ ./zbufInOut.c:437: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 previous declaration [-Wdeprecated-non-prototype] 437 | FILE *fpin, *fopen(); | ^ ./zbufInOut.c:487:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 487 | CALLOC((*tail), 1, line, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:487:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 487 | CALLOC((*tail), 1, line, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:492:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 492 | CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:492:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 492 | CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | void readLines(fp, head, tail, numlines) | ^ ./zbufInOut.c:566:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 566 | CALLOC(linesout, (*numlines), line *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./zbufInOut.c:566:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 566 | CALLOC(linesout, (*numlines), line *, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./zbufInOut.c:544:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | line **getLines(line_file, numlines) | ^ ./zbufInOut.c:577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | void getBndingBox(faces, numfaces, lines, numlines, lowx, lowy, fp, axes) | ^ ./zbufInOut.c:646:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | void dumpAxes(axi, fp) | ^ ./zbufInOut.c:666:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | void copyBody(fp) | ^ ./zbufInOut.c:910:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | void numberFaces(faces, numfaces, fp) | ^ ./zbufInOut.c:940:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | void numberFace(fac, fp) | ^ ./zbufInOut.c:1014:38: warning: '/*' within block comment [-Wcomment] 1014 | /* y += (numfaces*stepy + 3*FONT); /* offset 2nd array */ | ^ ./zbufInOut.c:967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | void dumpAdjGraph(faces, numfaces, fp) | ^ ./zbufInOut.c:1040:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | void dumpFaceText(faces, numfaces, fp) | ^ ./zbufInOut.c:1083:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | void dump_line_as_ps(fp, psline, x_position, y_position, font_size) | ^ ./zbufInOut.c:1099:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | void dump_shading_key(fp, nblocks, precision, font_size, use_density) | ^ ./zbufInOut.c:1197:53: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] 1197 | fprintf(fp, "f1 [%d 0 0 %d 0 0] makesetfont\n", FONT, FONT); | ~~ ^~~~ | %f ./zbufGlobal.h:65:14: note: expanded from macro 'FONT' 65 | #define FONT 5.0 /* font size used to label lines in ps file */ | ^~~ ./zbufInOut.c:1197:59: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] 1197 | fprintf(fp, "f1 [%d 0 0 %d 0 0] makesetfont\n", FONT, FONT); | ~~ ^~~~ | %f ./zbufGlobal.h:65:14: note: expanded from macro 'FONT' 65 | #define FONT 5.0 /* font size used to label lines in ps file */ | ^~~ ./zbufInOut.c:1182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | void numberLines(lines, numlines, fp) | ^ ./zbufInOut.c:1207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | void dumpLines(fp, lines, numlines) | ^ ./zbufInOut.c:1288:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | void dumpPs(faces, numfaces, lines, numlines, fp, argv, argc, use_density) | ^ 45 warnings generated. --- ./mulMats.o --- ./mulMats.c:50:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 50 | mulMatDirect(sys) | ^ | int ./mulMats.c:75:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 75 | CALLOC(nextc->directq, nummats, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:75:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 75 | CALLOC(nextc->directq, nummats, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:76:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 76 | CALLOC(temp, nummats, int*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:76:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 76 | CALLOC(temp, nummats, int*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:77:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 77 | CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:77:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 77 | CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:78:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 78 | CALLOC(nextc->directmats, nummats, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:78:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 78 | CALLOC(nextc->directmats, nummats, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:79:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 79 | CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:79:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 79 | CALLOC(nextc->precondmats, nummats, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:114:11: warning: passing arguments to 'Q2PDiag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | = Q2PDiag(nextc->chgs, nextc->upnumeles[0], nextc->nbr_is_dummy[0], | ^ ./mulMats.c:117:11: warning: passing arguments to 'Q2PDiag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | = Q2PDiag(nextc->chgs, nextc->upnumeles[0], nextc->nbr_is_dummy[0], | ^ ./mulMats.c:153:39: warning: passing arguments to 'Q2P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | nextc->directmats[nummats] = Q2P(nextnbr->chgs, | ^ ./mulMats.c:158:42: warning: passing arguments to 'Q2P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | nextc->precondmats[nummats++] = Q2P(nextnbr->chgs, | ^ ./mulMats.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 | mulMatDirect(sys) | ^ ./mulMats.c:170:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 170 | } | ^ ./mulMats.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | bdmulMatPrecond(sys) | ^ | int ./mulMats.c:199:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 199 | MALLOC(mat, size, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:199:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 199 | MALLOC(mat, size, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:201:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 201 | MALLOC(mat[i], size, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:201:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 201 | MALLOC(mat[i], size, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:256:27: warning: passing arguments to 'ludecomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | nc->precond = ludecomp(mat, size, FALSE); | ^ ./mulMats.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 | bdmulMatPrecond(sys) | ^ ./mulMats.c:259:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 259 | } | ^ ./mulMats.c:278:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 278 | olmulMatPrecond(sys) | ^ | int ./mulMats.c:310:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 310 | MALLOC(reorder, maxsize,int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:310:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 310 | MALLOC(reorder, maxsize,int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:311:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 311 | MALLOC(mat, maxsize, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:311:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 311 | MALLOC(mat, maxsize, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:313:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 313 | MALLOC(mat[i], maxsize, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:175:8: note: expanded from macro 'MALLOC' 174 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 175 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:313:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 313 | MALLOC(mat[i], maxsize, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:176:8: note: expanded from macro 'MALLOC' 176 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:339:2: warning: call to undeclared function 'find_flux_density_row'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | find_flux_density_row(mat, nc->directmats[0], i, nsize, nsize, 0, 0, | ^ ./mulMats.c:367:6: warning: call to undeclared function 'find_flux_density_row'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 367 | find_flux_density_row(mat, nmat, i, nnsize, nsize, 0, offset, | ^ ./mulMats.c:403:3: warning: call to undeclared function 'find_flux_density_row'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | find_flux_density_row(mat, nmat, i, nnnsize, nnsize, offset, | ^ ./mulMats.c:418:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 418 | CALLOC(is_dummy, offset, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:418:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 418 | CALLOC(is_dummy, offset, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:444:15: warning: call to undeclared function 'compressMat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | nnnsize = compressMat(mat, offset, is_dummy, BOTH); | ^ ./mulMats.c:449:5: warning: call to undeclared function 'invert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | invert(mat, nnnsize, NULL); | ^ ./mulMats.c:450:5: warning: call to undeclared function 'expandMat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | expandMat(mat, offset, nnnsize, is_dummy, BOTH); | ^ ./mulMats.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 | olmulMatPrecond(sys) | ^ ./mulMats.c:478:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 478 | } | ^ ./mulMats.c:498:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 498 | find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, | ^ | int ./mulMats.c:598:14: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | = -calcp(chg_panels[j], dp->x, dp->y, dp->z, NULL)*factor; | ^ ./mulMats.c:654:14: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | += calcp(chg_panels[j], dp->x, dp->y, dp->z, NULL)*factor; | ^ ./mulMats.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, | ^ ./mulMats.c:698:1: warning: non-void function does not return a value [-Wreturn-type] 698 | } | ^ ./mulMats.c:719:14: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 719 | numterms = multerms(order); | ^ ./mulMats.c:729:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 729 | CALLOC(nextc->multi, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:729:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 729 | CALLOC(nextc->multi, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:730:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 730 | CALLOC(nextc->upmats, 1, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:730:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 730 | CALLOC(nextc->upmats, 1, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:731:34: warning: passing arguments to 'mulQ2Multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | nextc->upmats[0] = mulQ2Multi(nextc->chgs, nextc->nbr_is_dummy[0], | ^ ./mulMats.c:795:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 795 | CALLOC(nextc->multi, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:795:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 795 | CALLOC(nextc->multi, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:798:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 798 | CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:798:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 798 | CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:799:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 799 | CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:799:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 799 | CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:800:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 800 | CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:800:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 800 | CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:809:37: warning: passing arguments to 'mulMulti2Multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | multimats[j] = mulMulti2Multi(kid->x, kid->y, kid->z, nextc->x, | ^ ./mulMats.c:822:35: warning: passing arguments to 'mulQ2Multi' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | nextc->upmats[i] = mulQ2Multi(kid->chgs, kid->nbr_is_dummy[0], | ^ ./mulMats.c:708:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | void mulMatUp(sys) | ^ ./mulMats.c:913:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 913 | CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:913:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 913 | CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:914:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 914 | CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:914:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 914 | CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:915:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 915 | CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:915:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 915 | CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:927:30: warning: passing arguments to 'mulLocal2P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | nc->evalmats[j] = mulLocal2P(na->x, na->y, na->z, nc->chgs, | ^ ./mulMats.c:948:27: warning: passing arguments to 'Q2P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | nc->evalmats[j] = Q2P(nexti->chgs, nexti->upnumeles[0], | ^ ./mulMats.c:965:34: warning: passing arguments to 'mulMulti2P' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | nc->evalmats[j] = mulMulti2P(nexti->x, nexti->y, nexti->z, | ^ ./mulMats.c:887:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | void mulMatEval(sys) | ^ ./mulMats.c:998:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 998 | mulMatDown(sys) | ^ | int ./mulMats.c:1015:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1015 | CALLOC(nc->downvects, vects, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1015:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1015 | CALLOC(nc->downvects, vects, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:1016:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1016 | CALLOC(nc->downnumeles, vects, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1016:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1016 | CALLOC(nc->downnumeles, vects, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:1017:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1017 | CALLOC(nc->downmats, vects, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMats.c:1017:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1017 | CALLOC(nc->downmats, vects, double**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMats.c:1031:34: warning: passing arguments to 'mulLocal2Local' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | nc->downmats[0] = mulLocal2Local(parent->x, parent->y, parent->z, | ^ ./mulMats.c:1046:32: warning: passing arguments to 'mulQ2Local' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | nc->downmats[i] = mulQ2Local(ni->chgs, ni->upnumeles[0], | ^ ./mulMats.c:1056:36: warning: passing arguments to 'mulMulti2Local' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | nc->downmats[i] = mulMulti2Local(ni->x, ni->y, ni->z, nc->x, | ^ ./mulMats.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | mulMatDown(sys) | ^ ./mulMats.c:1066:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1066 | } | ^ 86 warnings generated. --- ./mulLocal.o --- ./mulLocal.c:47:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | void evalFacFra(array, order) | ^ ./mulLocal.c:83:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | void evalSqrtFac(arrayout, arrayin, order) | ^ ./mulLocal.c:110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | void evalSinCos(beta, order) | ^ ./mulLocal.c:126:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | double sinB(sum) | ^ ./mulLocal.c:136:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | double cosB(sum) | ^ ./mulLocal.c:150:15: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | int terms = multerms(order); /* the number of non-zero moments */ | ^ ./mulLocal.c:151:12: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | int ct = costerms(order); /* the number of non-zero cos (bar) moments */ | ^ ./mulLocal.c:161:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 161 | CALLOC(mat, terms, double*, ON, AM2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:161:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 161 | CALLOC(mat, terms, double*, ON, AM2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:163:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 163 | CALLOC(mat[i], terms, double, ON, AM2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:163:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 163 | CALLOC(mat[i], terms, double, ON, AM2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:166:3: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 166 | xyz2sphere(x, y, z, xp, yp, zp, &rho, &cosA, &beta); | ^ ./mulLocal.c:169:3: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | evalLegendre(cosA, tleg, 2*order); /* multi->loc needs 2x legendres */ | ^ ./mulLocal.c:197:34: warning: passing arguments to 'iPwr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | *facFrA[j+n-abs(m-k)][n+m]*iPwr(abs(k-m)-k-m); | ^ ./mulLocal.c:145:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | double **mulMulti2Local(x, y, z, xp, yp, zp, order) | ^ ./mulLocal.c:239:15: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | int terms = multerms(order); /* the number of non-zero moments */ | ^ ./mulLocal.c:240:12: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | int ct = costerms(order); /* the number of non-zero cos (bar) moments */ | ^ ./mulLocal.c:250:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 250 | CALLOC(mat, terms, double*, ON, AL2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:250:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 250 | CALLOC(mat, terms, double*, ON, AL2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:252:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 252 | CALLOC(mat[i], terms, double, ON, AL2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:252:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 252 | CALLOC(mat[i], terms, double, ON, AL2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:255:3: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | xyz2sphere(x, y, z, xc, yc, zc, &rho, &cosA, &beta); | ^ ./mulLocal.c:258:3: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | evalLegendre(cosA, tleg, 2*order); /* local->local needs 2x legendres */ | ^ ./mulLocal.c:286:32: warning: passing arguments to 'iPwr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | *facFrA[0][n-j+abs(m-k)]*iPwr(m-k-abs(m-k))*rhoFac; | ^ ./mulLocal.c:288:27: warning: passing arguments to 'iPwr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | *facFrA[0][n-j+m+k]*iPwr(2*k)*rhoFac; | ^ ./mulLocal.c:290:25: warning: passing arguments to 'iPwr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | *facFrA[0][n-j+k]*iPwr(2*k)*rhoFac; | ^ ./mulLocal.c:234:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | double **mulLocal2Local(x, y, z, xc, yc, zc, order) | ^ ./mulLocal.c:342:16: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | int cterms = costerms(order), terms = multerms(order); | ^ ./mulLocal.c:342:41: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 342 | int cterms = costerms(order), terms = multerms(order); | ^ ./mulLocal.c:348:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 348 | CALLOC(mat, terms, double*, ON, AQ2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:348:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 348 | CALLOC(mat, terms, double*, ON, AQ2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:350:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 350 | CALLOC(mat[i], numchgs, double, ON, AQ2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:350:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 350 | CALLOC(mat[i], numchgs, double, ON, AQ2L); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:357:5: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | xyz2sphere(chgs[j]->x, chgs[j]->y, chgs[j]->z, | ^ ./mulLocal.c:361:5: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | evalLegendre(cosA, tleg, order); /* write moments to temporary array */ | ^ ./mulLocal.c:404:42: warning: passing arguments to 'fact' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | if(m == 0) mat[CINDEX(n, m)][j] *= fact(n); /* j! part of bar(N)j^0 */ | ^ ./mulLocal.c:406:19: warning: passing arguments to 'fact' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | temp = 2.0*fact(n-m); /* find the factorial for moment */ | ^ ./mulLocal.c:336:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | double **mulQ2Local(chgs, numchgs, is_dummy, x, y, z, order) | ^ ./mulLocal.c:448:16: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | int cterms = costerms(order), terms = multerms(order); | ^ ./mulLocal.c:448:41: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | int cterms = costerms(order), terms = multerms(order); | ^ ./mulLocal.c:450:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 450 | CALLOC(mat, numchgs, double*, ON, AL2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:450:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 450 | CALLOC(mat, numchgs, double*, ON, AL2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:452:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 452 | CALLOC(mat[i], terms, double, ON, AL2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulLocal.c:452:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 452 | CALLOC(mat[i], terms, double, ON, AL2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulLocal.c:457:5: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, | ^ ./mulLocal.c:461:5: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | evalLegendre(cosTh, mat[i], order); /* wr moms to 1st (cos) half of row */ | ^ ./mulLocal.c:489:64: warning: passing arguments to 'fact' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | for(i = 0; i < numchgs; i++) mat[i][CINDEX(n, m)] /= fact(n+m); | ^ ./mulLocal.c:438:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | double **mulLocal2P(x, y, z, chgs, numchgs, order) | ^ 48 warnings generated. --- ./patran.o --- ./patran.c:82:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 82 | if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:82:20: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 82 | if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:92:21: warning: passing arguments to 'quickif' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | firstq = quickif(stream, line, title, surf_type, trans_vector, | ^ ./patran.c:98:5: warning: call to undeclared function 'input'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | input(stream, line, surf_type, trans_vector); | ^ ./patran.c:100:5: warning: call to undeclared function 'grid_equiv_check'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | grid_equiv_check(); | ^ ./patran.c:108:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 108 | CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:108:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 108 | CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:110:7: warning: call to undeclared function 'fill_patch_patch_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | fill_patch_patch_table(patch_patch_table); | ^ ./patran.c:112:7: warning: call to undeclared function 'assign_conductor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 112 | assign_conductor(patch_patch_table); | ^ ./patran.c:116:7: warning: call to undeclared function 'assign_names'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | assign_names(); | ^ ./patran.c:119:38: warning: passing arguments to 'make_charges_all_patches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | firstq = make_charges_all_patches(name_list, num_cond, surf_type, | ^ ./patran.c:69:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | charge *patfront(stream, file_is_patran_type, surf_type, trans_vector, | ^ ./patran.c:133:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | input(stream, line, surf_type, trans_vector) | ^ | int ./patran.c:156:7: warning: call to undeclared function 'file_title'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | file_title(stream); | ^ ./patran.c:159:7: warning: call to undeclared function 'summary_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | summary_data(stream); | ^ ./patran.c:162:7: warning: call to undeclared function 'node_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | node_data(stream, trans_vector); | ^ ./patran.c:165:7: warning: call to undeclared function 'element_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | element_data(stream); | ^ ./patran.c:168:7: warning: call to undeclared function 'grid_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | grid_data(stream, trans_vector); | ^ ./patran.c:171:7: warning: call to undeclared function 'patch_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | patch_data(stream); | ^ ./patran.c:174:7: warning: call to undeclared function 'CFEG_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | CFEG_table(stream); | ^ ./patran.c:177:52: warning: call to undeclared function 'name_data'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | if(surf_type == CONDTR || surf_type == BOTH) name_data(stream); | ^ ./patran.c:178:12: warning: call to undeclared function 'waste_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | else waste_line(KC, stream); | ^ ./patran.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 | input(stream, line, surf_type, trans_vector) | ^ ./patran.c:188:1: warning: non-void function does not return a value [-Wreturn-type] 188 | } | ^ ./patran.c:192:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 192 | waste_line(num_line,stream) | ^ | int ./patran.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] ./patran.c:206:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 206 | } | ^ ./patran.c:211:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | file_title(stream) | ^ | int ./patran.c:217:43: warning: passing arguments to 'delcr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | if(title[0] == '\0') strcpy(title, delcr(line)); | ^ ./patran.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | file_title(stream) | ^ ./patran.c:218:1: warning: non-void function does not return a value [-Wreturn-type] 218 | } | ^ ./patran.c:225:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 225 | summary_data(stream) | ^ | int ./patran.c:230:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 230 | CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:230:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 230 | CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:231:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 231 | CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:231:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 231 | CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.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 | summary_data(stream) | ^ ./patran.c:237:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 237 | } | ^ ./patran.c:244:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 244 | node_data(stream, trans_vector) | ^ | int ./patran.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] ./patran.c:258:1: warning: non-void function does not return a value [-Wreturn-type] 258 | } | ^ ./patran.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | element_data(stream) | ^ | int ./patran.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./patran.c:290:1: warning: non-void function does not return a value [-Wreturn-type] 290 | } | ^ ./patran.c:296:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 296 | grid_data(stream, trans_vector) | ^ | int ./patran.c:310:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 310 | CALLOC(current_grid, 1, GRID, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:310:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 310 | CALLOC(current_grid, 1, GRID, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | grid_data(stream, trans_vector) | ^ ./patran.c:321:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 321 | } | ^ ./patran.c:328:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 328 | patch_data(stream) | ^ | int ./patran.c:341:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 341 | CALLOC(current_patch, 1, PATCH, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:341:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 341 | CALLOC(current_patch, 1, PATCH, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:349:3: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] 348 | fscanf(stream, "%f %f %f %d %d %d %d", | ~~ | %lf 349 | &tmp, &tmp, &tmp, corner, corner+1, corner+2, corner+3); | ^~~~ ./patran.c:349:9: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] 348 | fscanf(stream, "%f %f %f %d %d %d %d", | ~~ | %lf 349 | &tmp, &tmp, &tmp, corner, corner+1, corner+2, corner+3); | ^~~~ ./patran.c:349:15: warning: format specifies type 'float *' but the argument has type 'double *' [-Wformat] 348 | fscanf(stream, "%f %f %f %d %d %d %d", | ~~ | %lf 349 | &tmp, &tmp, &tmp, corner, corner+1, corner+2, corner+3); | ^~~~ ./patran.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | patch_data(stream) | ^ ./patran.c:354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 354 | } | ^ ./patran.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | CFEG_table(stream) | ^ | int ./patran.c:381:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 381 | CALLOC(current_cfeg, 1, CFEG, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:381:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 381 | CALLOC(current_cfeg, 1, CFEG, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:389:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 389 | CALLOC(element_list, NELS, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:389:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 389 | CALLOC(element_list, NELS, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.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] 362 | CFEG_table(stream) | ^ ./patran.c:425:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 425 | } | ^ ./patran.c:436:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 436 | name_data(stream) | ^ | int ./patran.c:444:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 444 | CALLOC(start_name, 1, NAME, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:444:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 444 | CALLOC(start_name, 1, NAME, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:448:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 448 | CALLOC(current_name->next, 1, NAME, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:448:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 448 | CALLOC(current_name->next, 1, NAME, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:459:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 459 | CALLOC(current_name->name, len+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:459:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 459 | CALLOC(current_name->name, len+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:460:8: warning: passing arguments to 'delcr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | delcr(line); | ^ ./patran.c:469:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 469 | CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:469:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 469 | CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:473:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 473 | CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:473:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 473 | CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.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 | name_data(stream) | ^ ./patran.c:487:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 487 | } | ^ ./patran.c:494:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 494 | grid_equiv_check() | ^ | int ./patran.c:502:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 502 | CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:502:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 502 | CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:513:11: warning: call to undeclared function 'if_same_coord'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 513 | if (if_same_coord(grid_ptr_1->coord,grid_ptr_2->coord)) { | ^ ./patran.c:534:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 534 | } | ^ ./patran.c:537:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | int if_same_coord(coord_1, coord_2) | ^ ./patran.c:550:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | char *delcr(str) | ^ ./patran.c:577:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 577 | fill_patch_patch_table(patch_patch_table) | ^ | int ./patran.c:598:6: warning: call to undeclared function 'if_same_grid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 598 | if (if_same_grid(*corner++,grid_ptr)) { | ^ ./patran.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 | fill_patch_patch_table(patch_patch_table) | ^ ./patran.c:613:1: warning: non-void function does not return a value [-Wreturn-type] 613 | } | ^ ./patran.c:619:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | int if_same_grid(ID,grid_ptr) | ^ ./patran.c:638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 638 | assign_conductor(patch_patch_table) | ^ | int ./patran.c:663:7: warning: call to undeclared function 'depth_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 663 | depth_search(patch_patch_table,current_table_ptr,conductor_count); | ^ ./patran.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | assign_conductor(patch_patch_table) | ^ ./patran.c:678:1: warning: non-void function does not return a value [-Wreturn-type] 678 | } | ^ ./patran.c:684:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | depth_search(patch_patch_table,current_table_ptr,conductor_count) | ^ | int ./patran.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./patran.c:707:1: warning: non-void function does not return a value [-Wreturn-type] 707 | } | ^ ./patran.c:713:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | char *getPatranName(cond_num) | ^ ./patran.c:763:21: warning: call to undeclared function 'getConductorNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 763 | conductor_ID = getConductorNum(cond_name, name_list, num_cond); | ^ ./patran.c:777:31: warning: passing arguments to 'make_charges_patch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | first_pq = make_charges_patch(NELS,element_list,conductor_ID); | ^ ./patran.c:782:22: warning: passing arguments to 'make_charges_patch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | make_charges_patch(NELS,element_list,conductor_ID); | ^ ./patran.c:737:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | charge *make_charges_all_patches(name_list, num_cond, surf_type, name_suffix) | ^ ./patran.c:804:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 804 | CALLOC(pq,NELS,charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./patran.c:804:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 804 | CALLOC(pq,NELS,charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./patran.c:796:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | charge *make_charges_patch(NELS,element_list,conductor_ID) | ^ ./patran.c:858:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 858 | assign_names() | ^ | int ./patran.c:915:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 915 | } | ^ 107 warnings generated. --- ./mulMulti.o --- ./mulMulti.c:54:10: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | return(costerms(order) + sinterms(order)); | ^ ./mulMulti.c:54:28: warning: call to undeclared function 'sinterms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | return(costerms(order) + sinterms(order)); | ^ ./mulMulti.c:51:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | int multerms(order) | ^ ./mulMulti.c:60:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | int costerms(order) | ^ ./mulMulti.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | int sinterms(order) | ^ ./mulMulti.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void xyz2sphere(x, y, z, x0, y0, z0, rho, cosA, beta) | ^ ./mulMulti.c:151:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | double iPwr(e) | ^ ./mulMulti.c:169:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | double fact(x) | ^ ./mulMulti.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void evalFactFac(array, order) | ^ ./mulMulti.c:233:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 233 | CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:233:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 233 | CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:234:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 234 | CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:234:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 234 | CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:235:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 235 | CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:235:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 235 | CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 236 | CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:236:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 236 | CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:237:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 237 | CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:237:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 237 | CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:238:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 238 | CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:238:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 238 | CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:239:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 239 | CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:239:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 239 | CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:240:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 240 | CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:240:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 240 | CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:242:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 242 | CALLOC(tleg, costerms(2*order), double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:242:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 242 | CALLOC(tleg, costerms(2*order), double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:244:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 244 | CALLOC(factFac, order+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:244:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 244 | CALLOC(factFac, order+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:246:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 246 | CALLOC(factFac[x], order+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:246:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 246 | CALLOC(factFac[x], order+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:282:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 282 | CALLOC(facFrA, 2*order+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:282:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 282 | CALLOC(facFrA, 2*order+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:284:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 284 | CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:284:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 284 | CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:287:3: warning: call to undeclared function 'evalFacFra'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | evalFacFra(facFrA, order); | ^ ./mulMulti.c:288:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 288 | CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:288:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 288 | CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:289:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 289 | CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:289:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 289 | CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void mulMultiAlloc(maxchgs, order, depth) | ^ ./mulMulti.c:300:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | void evalLegendre(cosA, vector, order) | ^ ./mulMulti.c:361:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 361 | CALLOC(mat, terms, double*, ON, AQ2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:361:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 361 | CALLOC(mat, terms, double*, ON, AQ2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:363:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 363 | CALLOC(mat[i], numchgs, double, ON, AQ2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:363:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 363 | CALLOC(mat[i], numchgs, double, ON, AQ2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:350:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | double **mulQ2Multi(chgs, is_dummy, numchgs, x, y, z, order) | ^ ./mulMulti.c:454:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 454 | CALLOC(mat, terms, double*, ON, AM2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:454:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 454 | CALLOC(mat, terms, double*, ON, AM2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:455:28: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 455 | for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:455:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 455 | for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:443:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | double **mulMulti2Multi(x, y, z, xp, yp, zp, order) | ^ ./mulMulti.c:559:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 559 | CALLOC(mat, numchgs, double*, ON, AM2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:559:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 559 | CALLOC(mat, numchgs, double*, ON, AM2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:561:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 561 | CALLOC(mat[i], terms, double, ON, AM2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulMulti.c:561:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 561 | CALLOC(mat[i], terms, double, ON, AM2P); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulMulti.c:547:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | double **mulMulti2P(x, y, z, chgs, numchgs, order) | ^ 57 warnings generated. --- ./input.o --- ./input.c:83:27: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | while (*s && !isspace(*s)) | ^ ./input.c:83:27: note: include the header or explicitly provide a declaration for 'isspace' ./input.c:205: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] 205 | FILE *fp, *fopen(); | ^ ./input.c:251:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 251 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:251:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 251 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:255:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 255 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:255:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 255 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:265:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 265 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:265:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 265 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:270:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 270 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:270:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 270 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:307:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 307 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:307:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 307 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:311:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 311 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:311:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 311 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:325:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 325 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:325:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 325 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:331:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 331 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:331:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 331 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:362:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 362 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:362:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 362 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:366:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 366 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:366:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 366 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:380:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 380 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:380:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 380 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:386:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 386 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:386:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 386 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void read_list_file(surf_list, num_surf, list_file, read_from_stdin) | ^ ./input.c:548:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 548 | CALLOC(dummy_list, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:548:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 548 | CALLOC(dummy_list, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:552:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 552 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:552:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 552 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:567:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 567 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:567:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 567 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:535:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | void add_dummy_panels(panel_list) | ^ ./input.c:589:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | char *hack_path(str) | ^ ./input.c:610:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | void reassign_cond_numbers(panel_list, name_list, surf_name) | ^ ./input.c:685:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | void negate_cond_numbers(panel_list, name_list) | ^ ./input.c:756:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | int want_this_iter(iter_list, iter_num) | ^ ./input.c:792:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 792 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:792:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 792 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:801:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 801 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:801:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 801 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:808:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 808 | CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:808:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 808 | CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:773:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | void get_ps_file_base(argv, argc) | ^ ./input.c:830: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] 830 | FILE *fp, *fopen(); | ^ ./input.c:862:14: warning: passing arguments to 'patfront' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | = patfront(fp, &patran_file, cur_surf->type, cur_surf->trans, | ^ ./input.c:874:14: warning: passing arguments to 'patfront' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | = patfront(fp, &patran_file, cur_surf->type, cur_surf->trans, | ^ ./input.c:893:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 893 | CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:893:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 893 | CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:905:5: warning: call to undeclared function 'initcalcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 905 | initcalcp(cur_surf->panels);/* get normals, edges, perpendiculars */ | ^ ./input.c:908:50: warning: '/*' within block comment [-Wcomment] 908 | align_normals(cur_surf->panels, cur_surf); /* now done in calcp */ | ^ ./input.c:819:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | charge *read_panels(surf_list, name_list, num_cond) | ^ ./input.c:977:27: warning: passing arguments to 'last_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | cur_alias = last_alias(cur_name); | ^ ./input.c:962:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | int getUniqueCondNum(name, name_list) | ^ ./input.c:1050:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1050 | CALLOC(kill_num_list, 1, ITER, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1050:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1050 | CALLOC(kill_num_list, 1, ITER, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1054:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1054 | CALLOC(cur_cond->next, 1, ITER, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1054:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1054 | CALLOC(cur_cond->next, 1, ITER, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1006:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | ITER *get_kill_num_list(name_list, kill_name_list) | ^ ./input.c:1076: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] 1076 | long strtol(); | ^ ./input.c:1269:22: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 1269 | fprintf(stderr, "%s: bad up axis type `%s' -- use x, y or z\n"); | ~^ ./input.c:1301:22: warning: data argument not used by format string [-Wformat-extra-args] 1300 | fprintf(stderr, " scale = %g\n linewidth = %g\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1301 | DEFDST, DEFSCL, DEFWID); | ^ ./zbufGlobal.h:134:16: note: expanded from macro 'DEFWID' 134 | #define DEFWID 1.0 /* default line width, points (-w) */ | ^ ./input.c:1342:5: warning: call to undeclared function 'dumpConfig'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1342 | dumpConfig(stderr, argv[0]); | ^ ./input.c:1068:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | void parse_command_line(argv, argc, autmom, autlev, relperm, numMom, numLev, | ^ ./input.c:1368:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1368 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1368:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1368 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1370:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1370 | CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1370:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1370 | CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1376:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1376 | CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1376:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1376 | CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1389:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1389 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1389:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1389 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1393:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1393 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1393:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1393 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1397:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1397 | CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1397:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1397 | CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1403:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1403 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1403:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1403 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1350:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | surface *read_all_surfaces(input_file, surf_list_file, read_from_stdin, infile, | ^ ./input.c:1429:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | surface *input_surfaces(argv, argc, autmom, autlev, relperm, | ^ ./input.c:1453:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | void dumpSurfDat(surf_list) | ^ ./input.c:1520:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1520 | CALLOC(cur_name->name, slen+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1520:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1520 | CALLOC(cur_name->name, slen+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1528:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1528 | CALLOC(cur_alias->name, slen+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./input.c:1528:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1528 | CALLOC(cur_alias->name, slen+1, char, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./input.c:1504:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | void remove_name(name_list, num) | ^ ./input.c:1540:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | void remove_conds(panels, num_list, name_list) | ^ ./input.c:1579:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | void resolve_kill_lists(rs_num_list, q_num_list, ri_num_list, num_cond) | ^ ./input.c:1634: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] 1634 | char infile[BUFSIZ], *ctime(), hostname[BUFSIZ]; | ^ /usr/include/time.h:121:7: note: conflicting prototype is here 121 | char *ctime(const time_t *); | ^ ./input.c:1685:6: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1685 | if(gethostname(hostname, BUFSIZ) != -1) | ^ ./input.c:1626:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | charge *input_problem(argv, argc, autmom, autlev, relperm, | ^ 92 warnings generated. --- ./blkDirect.o --- ./blkDirect.c:64:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | int sqrdex(i, j, siz) | ^ ./blkDirect.c:73:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | int lowdex(i, j, siz) | ^ ./blkDirect.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int uppdex(i, j, siz) | ^ ./blkDirect.c:106:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | void dumpMatCor(mat, vec, fsize) | ^ ./blkDirect.c:136:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | char *getName(file, name) | ^ ./blkDirect.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void transpose(mat, siz) | ^ ./blkDirect.c:195:14: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | if((fdis = creat(getName(file, name), PMODE)) == -1) { | ^ ./blkDirect.c:204:16: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | if((actsiz = write(fdis, (char *)mat, realsiz)) != realsiz) { | ^ ./blkDirect.c:210:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 210 | close(fdis); | ^ ./blkDirect.c:178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | void wrMat(mat, siz, file, type) | ^ ./blkDirect.c:235:14: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | if((fdis = open(getName(file, name), 0)) == -1) { | ^ ./blkDirect.c:243:17: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | if(realsiz != read(fdis, (char *)mat, realsiz)) { | ^ ./blkDirect.c:247:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | close(fdis); | ^ ./blkDirect.c:218:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | void rdMat(mat, siz, file, type) | ^ ./blkDirect.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | void matXfer(matsq, matri, siz, type) | ^ ./blkDirect.c:286:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | void blkMatsolve(matsq, matri, siz, type) | ^ ./blkDirect.c:355:13: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 355 | if((fdl = open(getName(matl, name), 0)) == -1) { | ^ ./blkDirect.c:362:13: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | readl = read(fdl, (char *)matri, rowliml*siz*ds); | ^ ./blkDirect.c:401:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 401 | close(fdu); | ^ ./blkDirect.c:404:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 404 | close(fdl); | ^ ./blkDirect.c:333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | void subInnerProd(matsq, matri, siz, matl, matu) | ^ ./blkDirect.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void blkLudecomp(mat, size) | ^ ./blkDirect.c:442:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | void blkSolve(x, b, siz, matri, matsq) | ^ ./blkDirect.c:556:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 556 | CALLOC(*sqrArray, matsize, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:556:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 556 | CALLOC(*sqrArray, matsize, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./blkDirect.c:558:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 558 | CALLOC(*triArray, matsize, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:558:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 558 | CALLOC(*triArray, matsize, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 559 | CALLOC(*real_index, numchgs, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./blkDirect.c:559:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 559 | CALLOC(*real_index, numchgs, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./blkDirect.c:607:47: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | (*sqrArray)[SQDEX(i, j, numchgs/2)] = calcp(qpan, ppan->x, ppan->y, | ^ ./blkDirect.c:620:20: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | = (pos_fact*calcp(qpan, ppan->pos_dummy->x, ppan->pos_dummy->y, | ^ ./blkDirect.c:623:22: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | + neg_fact*calcp(qpan, ppan->neg_dummy->x, | ^ ./blkDirect.c:633:56: warning: '/*' within block comment [-Wcomment] 633 | /* dumpMatCor((double **)NULL, *sqrArray, numchgs/2); /* for debug */ | ^ ./blkDirect.c:538:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | void blkQ2Pfull(directlist, numchgs, numchgs_wdummy, | ^ ./blkDirect.c:653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | void blkLUdecomp(sqrArray, triArray, numchgs) | ^ ./blkDirect.c:733:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | void blkAqprod(p, q, size, sqmat) | ^ ./blkDirect.c:772:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | void blkCompressVector(vec, num_panels, real_size, is_dummy) | ^ ./blkDirect.c:794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | void blkExpandVector(vec, num_panels, real_size) | ^ 38 warnings generated. --- ./mulDisplay.o --- ./mulDisplay.c:38:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 38 | disExtrasimpcube(pc) | ^ | int ./mulDisplay.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] ./mulDisplay.c:42:1: warning: non-void function does not return a value [-Wreturn-type] 42 | } | ^ ./mulDisplay.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | disExParsimpcube(pc) | ^ | int ./mulDisplay.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] ./mulDisplay.c:50:1: warning: non-void function does not return a value [-Wreturn-type] 50 | } | ^ ./mulDisplay.c:52:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 52 | dissimpcube(pc) | ^ | int ./mulDisplay.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] ./mulDisplay.c:62:1: warning: non-void function does not return a value [-Wreturn-type] 62 | } | ^ ./mulDisplay.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | discube(pc) | ^ | int ./mulDisplay.c:81:7: warning: call to undeclared function 'dischg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | dischg(pc->chgs[i]); | ^ ./mulDisplay.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 | discube(pc) | ^ ./mulDisplay.c:90:1: warning: non-void function does not return a value [-Wreturn-type] 90 | } | ^ ./mulDisplay.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | disupcube(pc) | ^ | int ./mulDisplay.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] ./mulDisplay.c:97:1: warning: non-void function does not return a value [-Wreturn-type] 97 | } | ^ ./mulDisplay.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | disdirectcube(pc) | ^ | int ./mulDisplay.c:105:5: warning: call to undeclared function 'dismat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | dismat(pc->directmats[i], pc->directnumeles[0], pc->directnumeles[i]); | ^ ./mulDisplay.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 | disdirectcube(pc) | ^ ./mulDisplay.c:111:1: warning: non-void function does not return a value [-Wreturn-type] 111 | } | ^ ./mulDisplay.c:114:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 114 | dissys(sys) | ^ | int ./mulDisplay.c:128:16: warning: incompatible pointer types passing 'cube **' (aka 'struct cube **') to parameter of type 'cube *' (aka 'struct cube *'); remove & [-Wincompatible-pointer-types] 128 | dissimpcube(&(sys->cubes[i][j][k][l])); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./mulDisplay.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 | dissys(sys) | ^ ./mulDisplay.c:134:1: warning: non-void function does not return a value [-Wreturn-type] 134 | } | ^ ./mulDisplay.c:138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 138 | dismat(mat, rows, cols) | ^ | int ./mulDisplay.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] ./mulDisplay.c:153:1: warning: non-void function does not return a value [-Wreturn-type] 153 | } | ^ ./mulDisplay.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | disvect(v, size) | ^ | int ./mulDisplay.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] ./mulDisplay.c:166:1: warning: non-void function does not return a value [-Wreturn-type] 166 | } | ^ ./mulDisplay.c:168:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 168 | dischg(pq) | ^ | int ./mulDisplay.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] ./mulDisplay.c:172:1: warning: non-void function does not return a value [-Wreturn-type] 172 | } | ^ ./mulDisplay.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | disallchg(pq) | ^ | int ./mulDisplay.c:178:43: warning: call to undeclared function 'disfchg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 178 | for(nq = pq; nq != NULL; nq = nq->next) disfchg(pq); | ^ ./mulDisplay.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | disallchg(pq) | ^ ./mulDisplay.c:179:1: warning: non-void function does not return a value [-Wreturn-type] 179 | } | ^ ./mulDisplay.c:181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 181 | disfchg(pq) | ^ | int ./mulDisplay.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] ./mulDisplay.c:193:1: warning: non-void function does not return a value [-Wreturn-type] 193 | } | ^ ./mulDisplay.c:198:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | void dumpMat(mat, rows, cols) | ^ ./mulDisplay.c:216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | void dumpCorners(fp, mat, rows, cols) | ^ ./mulDisplay.c:235:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | void dumpVecs(dblvec, intvec, size) | ^ ./mulDisplay.c:257:5: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, | ^ ./mulDisplay.c:249:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | void dumpChgs(chgs, numchgs, x, y, z) | ^ ./mulDisplay.c:287:5: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 287 | xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, | ^ ./mulDisplay.c:279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | void dumpChgsWDummy(chgs, numchgs, is_dummy, x, y, z) | ^ ./mulDisplay.c:315:16: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | dumpMat(mat, multerms(order), numchgs); | ^ ./mulDisplay.c:309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | void dispQ2M(mat, chgs, numchgs, x, y, z, order) | ^ ./mulDisplay.c:331:16: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | dumpMat(mat, multerms(order), multerms(order)); | ^ ./mulDisplay.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | void dispM2L(mat, x, y, z, xp, yp, zp, order) | ^ ./mulDisplay.c:343:16: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | dumpMat(mat, multerms(order), numchgs); | ^ ./mulDisplay.c:337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | void dispQ2L(mat, chgs, numchgs, x, y, z, order) | ^ ./mulDisplay.c:352:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | void dispQ2P(mat, chgs, numchgs, is_dummy, pchgs, numpchgs) | ^ ./mulDisplay.c:370:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | void dispQ2PDiag(mat, chgs, numchgs, is_dummy) | ^ ./mulDisplay.c:392:16: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 392 | dumpMat(mat, multerms(order), multerms(order)); | ^ ./mulDisplay.c:385:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | void dispM2M(mat, x, y, z, xp, yp, zp, order) | ^ ./mulDisplay.c:405:16: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | dumpMat(mat, multerms(order), multerms(order)); | ^ ./mulDisplay.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | void dispL2L(mat, x, y, z, xp, yp, zp, order) | ^ ./mulDisplay.c:417:25: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | dumpMat(mat, numchgs, multerms(order)); | ^ ./mulDisplay.c:411:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | void dispM2P(mat, x, y, z, chgs, numchgs, order) | ^ ./mulDisplay.c:432:25: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | dumpMat(mat, numchgs, multerms(order)); | ^ ./mulDisplay.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | void dispL2P(mat, x, y, z, chgs, numchgs, order) | ^ ./mulDisplay.c:441:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | void dumpUpVecs(pc) | ^ ./mulDisplay.c:468:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | void dumpLevOneUpVecs(sys) | ^ ./mulDisplay.c:486:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | void chkList(sys, listtype) | ^ ./mulDisplay.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | void chkCube(sys, nc, listtype) | ^ ./mulDisplay.c:605:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | void chkLowLev(sys, listtype) | ^ ./mulDisplay.c:638:54: warning: format specifies type 'int' but the argument has type 'double' [-Wformat] 637 | fprintf(fp, "Face %d, %d sides, depth %d, mark %d, greylev %d\n", | ~~ | %f 638 | fac->index, fac->numsides, fac->depth, fac->mark, fac->greylev); | ^~~~~~~~~~~~ ./mulDisplay.c:630:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | void dump_face(fp, fac) | ^ ./mulDisplay.c:655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | void dumpSynCore1(str, depth, fcnt, excnt, emcnt, tcnt) | ^ ./mulDisplay.c:675:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 675 | dumpSynCore2(str, depth, cnt) | ^ | int ./mulDisplay.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulDisplay.c:692:1: warning: non-void function does not return a value [-Wreturn-type] 692 | } | ^ ./mulDisplay.c:698:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | void dumpSynop(sys) | ^ ./mulDisplay.c:794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | void dumpChgDen(fp, q, chglist) | ^ ./mulDisplay.c:817:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | void dumpMatCnts(mat, depth, type) | ^ ./mulDisplay.c:852:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | void dumpMatBldCnts(sys) | ^ ./mulDisplay.c:892:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | void dumpConfig(fp, name) | ^ ./mulDisplay.c:1005:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | char *padName(tostr, frstr, len) | ^ ./mulDisplay.c:1023:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | char *spaces(str, num) | ^ ./mulDisplay.c:1061:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1061 | CALLOC(sym_mat, numconds+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1061:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1061 | CALLOC(sym_mat, numconds+1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulDisplay.c:1063:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1063 | CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulDisplay.c:1063:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1063 | CALLOC(sym_mat[i], numconds+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulDisplay.c:1071:8: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1071 | if(want_this_iter(kinp_num_list, i)) continue; | ^ ./mulDisplay.c:1166:41: warning: passing arguments to 'getConductorName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | maxlen = MAX(strlen(getConductorName(i, name_list)), maxlen); | ^ ./mulDisplay.c:1166:41: warning: passing arguments to 'getConductorName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulDisplay.c:1180:8: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1180 | if(want_this_iter(kinp_num_list, j)) continue; | ^ ./mulDisplay.c:1189:8: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1189 | if(want_this_iter(kinp_num_list, i)) continue; | ^ ./mulDisplay.c:1193:39: warning: passing arguments to 'getConductorName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | strcpy(cond_name, getConductorName(i, name_list)); | ^ ./mulDisplay.c:1040:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | void mksCapDump(capmat, numconds, relperm, name_list) | ^ ./mulDisplay.c:1256:26: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | sy->mul_maxq, multerms(order)); | ^ ./mulDisplay.c:1259:26: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | sy->loc_maxq, multerms(order)); | ^ ./mulDisplay.c:1224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | void dumpMulSet(sy, numLev, order) | ^ ./mulDisplay.c:1303:7: warning: call to undeclared function 'mulPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1303 | mulPrecond(sys, PRECOND); | ^ ./mulDisplay.c:1305:18: warning: call to undeclared function 'savemat_mod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1305 | if(j == 1) savemat_mod(fp, 1000, "Ctil", num_panels, num_panels, 0, | ^ ./mulDisplay.c:1330:27: warning: passing arguments to 'calcp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | sys->p[pi->index] = calcp(pp, pi->x, pi->y, pi->z, NULL); | ^ ./mulDisplay.c:1333:18: warning: call to undeclared function 'savemat_mod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1333 | if(j == 1) savemat_mod(fp, 1000, "P", num_panels, num_panels, 0, | ^ ./mulDisplay.c:1270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | void dump_preconditioner(sys, chglist, type) | ^ ./mulDisplay.c:1348:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | int has_duplicate_panels(fp, chglst) | ^ ./mulDisplay.c:1493:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | int chkDummy(vector, is_dummy, size) | ^ ./mulDisplay.c:1510:1: warning: non-void function does not return a value [-Wreturn-type] 1510 | } | ^ ./mulDisplay.c:1515:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | void chkDummyList(panels, is_dummy, n_chgs) | ^ ./mulDisplay.c:1550:47: warning: passing arguments to 'last_alias' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | fprintf(fp, " %d `%s'\n", i+1, last_alias(cur_name)); | ^ ./mulDisplay.c:1539:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | void dumpCondNames(fp, name_list) | ^ ./mulDisplay.c:1557:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | int dumpNameList(name_list) | ^ 107 warnings generated. --- ./mulSetup.o --- ./mulSetup.c:41:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | static indexkid(); | ~~~~~~ ^ | int ./mulSetup.c:42:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | static linkcubes(); | ~~~~~~ ^ | int ./mulSetup.c:43:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 43 | static setMaxq(); | ~~~~~~ ^ | int ./mulSetup.c:44:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | static getAllInter(); | ~~~~~~ ^ | int ./mulSetup.c:45:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | static set_vector_masks(); | ~~~~~~ ^ | int ./mulSetup.c:58:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 58 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:58:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 58 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:62:22: warning: passing arguments to 'placeq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | sys->depth = placeq(autom, sys, charges); /* create cubes, put in charges */ | ^ ./mulSetup.c:64:3: warning: call to undeclared function 'getrelations'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | getrelations(sys); /* Get all the prnts and kids for each cube. */ | ^ ./mulSetup.c:66:3: warning: call to undeclared function 'setPosition'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | setPosition(sys); /* Figures out position of cube center. */ | ^ ./mulSetup.c:67:11: warning: passing arguments to 'indexkid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | indexkid(sys, sys->cubes[0][0][0][0], &qindex, &cindex); | ^ ./mulSetup.c:71:3: warning: call to undeclared function 'setExact'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^ ./mulSetup.c:71:17: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^ ./mulSetup.c:80:10: warning: passing arguments to 'getnbrs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | getnbrs(sys); /* Get all the nearest neighbors. At bot level | ^ ./mulSetup.c:82:12: warning: passing arguments to 'linkcubes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | linkcubes(sys); /* Make linked-lists of direct, multis, and | ^ ./mulSetup.c:84:19: warning: passing arguments to 'set_vector_masks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | set_vector_masks(sys); /* set up sys->is_dummy and sys->is_dielec */ | ^ ./mulSetup.c:85:10: warning: passing arguments to 'setMaxq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | setMaxq(sys); /* Calculates the max # chgs in cubes treated | ^ ./mulSetup.c:87:14: warning: passing arguments to 'getAllInter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | getAllInter(sys); /* Get the interaction lists at all levels. */ | ^ ./mulSetup.c:50:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ssystem *mulInit(autom, depth, order, charges) | ^ ./mulSetup.c:113:47: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | int xindex, yindex, zindex, limit = multerms(sys->order), compflag; | ^ ./mulSetup.c:144:24: warning: passing arguments to 'tilelength' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | length = tilelength(nextq); | ^ ./mulSetup.c:166:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 166 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:166:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 166 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:167:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 167 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:167:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 167 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 170 | CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:170:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 170 | CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:173:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 173 | CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:173:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 173 | CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:177:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 177 | CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:177:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 177 | CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:181:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 181 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:181:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 181 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:183:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 183 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:183:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 183 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:185:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 185 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:185:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 185 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:204:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 204 | CALLOC(cubes[i], side, cube***, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:204:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 204 | CALLOC(cubes[i], side, cube***, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:210:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 210 | CALLOC(cubes[i][j], side, cube**, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:210:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 210 | CALLOC(cubes[i][j], side, cube**, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:216:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 216 | CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:216:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 216 | CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:231:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 231 | CALLOC(nextc, 1, cube, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:231:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 231 | CALLOC(nextc, 1, cube, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:238:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 238 | CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:238:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 238 | CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:295:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 295 | CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:295:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 295 | CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:297:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 297 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:297:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 297 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:299:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 299 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:299:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 299 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:301:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 301 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:301:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 301 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:315:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 315 | CALLOC(nextc, 1, cube, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:315:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 315 | CALLOC(nextc, 1, cube, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 318 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:318:2: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 318 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:337:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 337 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:337:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 337 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:338:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 338 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:338:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 338 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:372:42: warning: passing arguments to 'hack_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | compq->x, compq->y, compq->z, hack_path(compq->surf->name)); | ^ ./mulSetup.c:376:42: warning: passing arguments to 'hack_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | nextq->x, nextq->y, nextq->z, hack_path(nextq->surf->name)); | ^ ./mulSetup.c:107:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | static int placeq(flag, sys, charges) | ^ ./mulSetup.c:39: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] 39 | static int placeq(); | ^ ./mulSetup.c:395:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 395 | static placeqold(sys, charges) | ~~~~~~ ^ | int ./mulSetup.c:424:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 424 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:424:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 424 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:425:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 425 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:425:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 425 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:447:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 447 | CALLOC(nextc, 1, cube, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:447:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 447 | CALLOC(nextc, 1, cube, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 450 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:450:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 450 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:465:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 465 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:465:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 465 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:466:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 466 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:466:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 466 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:476:18: warning: passing arguments to 'tilelength' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | if(tilelength(nextq) > length) { | ^ ./mulSetup.c:395:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | static placeqold(sys, charges) | ^ ./mulSetup.c:489:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 489 | } | ^ ./mulSetup.c:494:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 494 | getrelations(sys) | ^ | int ./mulSetup.c:508:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 508 | CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:508:8: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 508 | CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:521:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 521 | CALLOC(parent, 1, cube, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:521:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 521 | CALLOC(parent, 1, cube, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.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 | getrelations(sys) | ^ ./mulSetup.c:531:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 531 | } | ^ ./mulSetup.c:536:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 536 | setPosition(sys) | ^ | int ./mulSetup.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulSetup.c:563:1: warning: non-void function does not return a value [-Wreturn-type] 563 | } | ^ ./mulSetup.c:573:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 573 | static indexkid(sys, dad, pqindex, pcindex) | ~~~~~~ ^ | int ./mulSetup.c:582:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 582 | CALLOC(dad->upvects, 1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:582:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 582 | CALLOC(dad->upvects, 1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:583:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 583 | CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:583:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 583 | CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:573:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | static indexkid(sys, dad, pqindex, pcindex) | ^ ./mulSetup.c:41: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] 41 | static indexkid(); | ^ ./mulSetup.c:599:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 599 | } | ^ ./mulSetup.c:611:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 611 | setExact(sys, numterms) | ^ | int ./mulSetup.c:641:27: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | nc->multisize = multerms(sys->order); | ^ ./mulSetup.c:649:27: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | nc->localsize = multerms(sys->order); | ^ ./mulSetup.c:676:27: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | nc->multisize = multerms(sys->order); | ^ ./mulSetup.c:681:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 681 | CALLOC(nc->upvects, 1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:681:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 681 | CALLOC(nc->upvects, 1, double*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:682:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 682 | CALLOC(nc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:682:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 682 | CALLOC(nc->upnumeles, 1, int, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 685 | CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:685:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 685 | CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:693:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 693 | CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:693:6: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 693 | CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:708:27: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | nc->localsize = multerms(sys->order); | ^ ./mulSetup.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | setExact(sys, numterms) | ^ ./mulSetup.c:720:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 720 | } | ^ ./mulSetup.c:771:26: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 771 | if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:771:26: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 771 | if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:727:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | static void getnbrs(sys) | ^ ./mulSetup.c:40:13: warning: a function declaration without a prototype is 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 void getnbrs(); | ^ ./mulSetup.c:783:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | int cntDwnwdChg(cp, depth) | ^ ./mulSetup.c:803:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 803 | static linkcubes(sys) | ~~~~~~ ^ | int ./mulSetup.c:808:48: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 808 | int dindex, side, depth=sys->depth, numterms=multerms(sys->order); | ^ ./mulSetup.c:811:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 811 | CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:811:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 811 | CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:812:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 812 | CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:812:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 812 | CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:826:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 826 | CALLOC(nc->multi, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:826:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 826 | CALLOC(nc->multi, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:838:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 838 | CALLOC(nc->local, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:838:3: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 838 | CALLOC(nc->local, numterms, double, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:803:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | static linkcubes(sys) | ^ ./mulSetup.c:42: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] 42 | static linkcubes(); | ^ ./mulSetup.c:853:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 853 | } | ^ ./mulSetup.c:858:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 858 | static setMaxq(sys) | ~~~~~~ ^ | int ./mulSetup.c:858:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulSetup.c:43: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] 43 | static setMaxq(); | ^ ./mulSetup.c:946:1: warning: non-void function does not return a value [-Wreturn-type] 946 | } | ^ ./mulSetup.c:951:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 951 | static markUp(child, flag) | ~~~~~~ ^ | int ./mulSetup.c:951:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulSetup.c:962:1: warning: non-void function does not return a value [-Wreturn-type] 962 | } | ^ ./mulSetup.c:969:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 969 | static getInter(child) | ~~~~~~ ^ | int ./mulSetup.c:1030:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1030 | if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:138:8: note: expanded from macro 'CALLOC' 137 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~~ 138 | (NUM)*sizeof(TYPE)); \ | ^~~~~~~~~~~~~~~~~~ ./mulSetup.c:1030:17: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 1030 | if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mulGlobal.h:139:8: note: expanded from macro 'CALLOC' 139 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulGlobal.h:124:3: note: expanded from macro 'DUMPALLOCSIZ' 123 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~~ 124 | memcount/1024, sbrk(0)); \ | ^~~~~~~~~~~~~ ./mulSetup.c:969:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | static getInter(child) | ^ ./mulSetup.c:1039:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1039 | static getAllInter(sys) | ~~~~~~ ^ | int ./mulSetup.c:1039:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulSetup.c:44: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] 44 | static getAllInter(); | ^ ./mulSetup.c:1054:1: warning: non-void function does not return a value [-Wreturn-type] 1054 | } | ^ ./mulSetup.c:1061:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1061 | static set_vector_masks(sys) | ~~~~~~ ^ | int ./mulSetup.c:1061:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mulSetup.c:45: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] 45 | static set_vector_masks(); | ^ ./mulSetup.c:1076:1: warning: non-void function does not return a value [-Wreturn-type] 1076 | } | ^ 153 warnings generated. --- fastcap --- cc -o fastcap.temp.out -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR ./mulGlobal.o ./mulSetup.o ./mulMats.o ./mulDo.o ./mulDisplay.o ./mulMulti.o ./mulLocal.o ./direct.o ./calcp.o ./fastcap.o ./blkDirect.o ./uglyalloc.o ./patran.o ./quickif.o ./electric.o ./input.o ./psMatDisplay.o ./capsolve.o ./savemat_mod.o ./zbufInOut.o ./zbuf2fastcap.o ./zbufProj.o ./zbufSort.o -lm mv fastcap.temp.out ../bin/fastcap =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for fastcap-2.0.w.011109_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/busgen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/capgen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/cubegen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/fastcap /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/pipedgen /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/bin/pyragen /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/bin /bin/cat /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/README /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/README.mit > /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/doc/fastcap/readme install -m 0644 /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/doc/*.ps /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/doc/fastcap /usr/bin/gzip -nf -9 /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/doc/fastcap/* install -m 0644 /wrkdirs/usr/ports/science/fastcap/work/fastcap-2.0wr/examples/* /wrkdirs/usr/ports/science/fastcap/work/stage/usr/local/share/examples/fastcap ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-12T07:15:32+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=edcb34baffbd' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for fastcap-2.0.w.011109_1 ===> Building fastcap-2.0.w.011109_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for fastcap-2.0.w.011109_1 build of science/fastcap | fastcap-2.0.w.011109_1 ended at Fri Dec 12 02:15:40 EST 2025 build time: 00:00:09