=>> Building science/fasthenry build started at Thu Feb 19 22:12:15 EST 2026 port directory: /usr/ports/science/fasthenry package name: fasthenry-3.0.w.021113_1 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2761 Aug 27 2024 /usr/ports/science/fasthenry/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: 162f181fecf0 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 13 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/13/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_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 fasthenry-3.0.w.021113_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/fasthenry/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/fasthenry/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/fasthenry/work/.cache HOME=/wrkdirs/usr/ports/science/fasthenry/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/fasthenry/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/fasthenry/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/fasthenry/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/fasthenry/work XDG_CACHE_HOME=/wrkdirs/usr/ports/science/fasthenry/work/.cache HOME=/wrkdirs/usr/ports/science/fasthenry/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/science/fasthenry/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/science/fasthenry/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=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fasthenry" EXAMPLESDIR="share/examples/fasthenry" DATADIR="share/fasthenry" WWWDIR="www/fasthenry" ETCDIR="etc/fasthenry" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fasthenry DOCSDIR=/usr/local/share/doc/fasthenry EXAMPLESDIR=/usr/local/share/examples/fasthenry WWWDIR=/usr/local/www/fasthenry ETCDIR=/usr/local/etc/fasthenry --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fasthenry 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 ===> fasthenry-3.0.w.021113_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> fasthenry-3.0.w.021113_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fasthenry-3.0.w.021113_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 fasthenry 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 fasthenry-3.0.w.021113_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The fasthenry 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 fasthenry-3.0.w.021113_1 for building => SHA256 Checksum OK for fasthenry-3.0wr-021113.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 fasthenry 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 fasthenry-3.0.w.021113_1 for building ===> Extracting for fasthenry-3.0.w.021113_1 => SHA256 Checksum OK for fasthenry-3.0wr-021113.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 fasthenry-3.0.w.021113_1 ===> Applying FreeBSD patches for fasthenry-3.0.w.021113_1 from /usr/ports/science/fasthenry/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> fasthenry-3.0.w.021113_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. ===> fasthenry-3.0.w.021113_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of fasthenry-3.0.w.021113_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 fasthenry-3.0.w.021113_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for fasthenry-3.0.w.021113_1 --- fasthenry --- --- zbuf --- --- fasthenry --- cd src/fasthenry ; /usr/bin/make fasthenry --- zbuf --- cd src/zbuf ; /usr/bin/make zbuf --- ./mulGlobal.o --- --- ./extras.o --- --- ./zbuf.o --- --- ./uglieralloc.o --- --- ./patran.o --- --- ./quickif.o --- --- ./input.o --- --- ./zbufInOut.o --- --- ./zbuf2fastcap.o --- --- ./zbufProj.o --- --- ./zbufSort.o --- --- ./dump_struct.o --- --- ./savemat_mod.o --- --- ./mulGlobal.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./mulGlobal.c -o ./mulGlobal.o --- ./extras.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./extras.c -o ./extras.o --- ./zbuf.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./zbuf.c -o ./zbuf.o --- ./uglieralloc.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./uglieralloc.c -o ./uglieralloc.o --- ./patran.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./patran.c -o ./patran.o --- ./quickif.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./quickif.c -o ./quickif.o --- ./input.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./input.c -o ./input.o --- ./zbufInOut.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./zbufInOut.c -o ./zbufInOut.o --- ./zbuf2fastcap.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./zbuf2fastcap.c -o ./zbuf2fastcap.o --- ./zbufProj.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./zbufProj.c -o ./zbufProj.o --- ./zbufSort.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./zbufSort.c -o ./zbufSort.o --- ./dump_struct.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./dump_struct.c -o ./dump_struct.o --- ./savemat_mod.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER -c ./savemat_mod.c -o ./savemat_mod.o --- ./uglieralloc.o --- ./uglieralloc.c:79:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | static HEADER *mocore(nu) | ^ ./uglieralloc.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | fill_it(mem, k, nbytes) | ^ | int ./uglieralloc.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] ./uglieralloc.c:106:1: warning: non-void function does not return a value [-Wreturn-type] 106 | } | ^ ./uglieralloc.c:139:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | char *ualloc(nbytes) | ^ ./uglieralloc.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | void uallocEfcy(memcount) | ^ 6 warnings generated. --- ./zbuf.o --- ./zbuf.c:37:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 37 | main(argc, argv) | ^ | int ./zbuf.c:76:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | CALLOC(title, BUFSIZ, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbuf.c:83:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | CALLOC(axes, 10, double **, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbuf.c:85:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | CALLOC(axes[i], 2, double *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbuf.c:87:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | CALLOC(axes[i][j], 3, double, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbuf.c:94: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] 94 | chglist = input_problem(argv, argc, &autmom, &autlev, &relperm, | ^ ./zbuf.c:98:5: warning: call to undeclared function 'get_ps_file_base'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | get_ps_file_base(argv, argc); | ^ ./zbuf.c:102:9: warning: call to undeclared function 'dump_struct'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | dump_struct(chglist, NULL); | ^ ./zbuf.c:106:9: warning: call to undeclared function 'dump_ps_geometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | dump_ps_geometry(chglist, NULL, 0, dd_); | ^ ./zbuf.c:110:22: warning: passing arguments to 'concat3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | fname = concat3(in_file_name,"_","shadings"); | ^ ./zbuf.c:113:9: warning: call to undeclared function 'dump_struct'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | dump_struct(chglist, get_q(fname,chglist)); | ^ ./zbuf.c:113:35: warning: passing arguments to 'get_q' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | dump_struct(chglist, get_q(fname,chglist)); | ^ ./zbuf.c:117:9: warning: call to undeclared function 'dump_ps_geometry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | dump_ps_geometry(chglist, get_q(fname,chglist), 0, dd_); | ^ ./zbuf.c:117:40: warning: passing arguments to 'get_q' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | dump_ps_geometry(chglist, get_q(fname,chglist), 0, dd_); | ^ ./zbuf.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | main(argc, argv) | ^ ./zbuf.c:134:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | CALLOC(allthree, length+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbuf.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 *concat3(st1, st2, st3) | ^ ./zbuf.c:165:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | CALLOC(q, numchgs, double, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbuf.c:146:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | double *get_q(fname, chglist) | ^ 19 warnings generated. --- ./mulGlobal.o --- --- fasthenry --- --- sparse/sparse.a --- --- induct.o --- --- gmres.o --- --- savemat_mod.o --- --- readGeom.o --- --- joelself.o --- --- writefastcap.o --- --- SetupMulti.o --- --- calcp.o --- --- SetupComputePsi.o --- --- mulSetup.o --- --- BreakupSeg.o --- --- Precond.o --- --- addgroundplane.o --- --- findpaths.o --- --- fillM.o --- --- cx_ludecomp.o --- --- parse_command_line.o --- --- default_opts.o --- --- Prec_cost.o --- --- hole.o --- --- dist_betw_fils.o --- --- mutual.o --- --- newPrecond.o --- --- deg_mutual.o --- --- barnoldi.o --- --- regurgitate.o --- --- mulGlobal.o --- --- mulDo.o --- --- mulMulti.o --- --- mulLocal.o --- --- mulMats.o --- --- direct.o --- --- uglieralloc.o --- --- capsolve.o --- --- find_nonuni_path.o --- --- read_tree.o --- --- contact.o --- --- SetupComputePsi.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c SetupComputePsi.c -o SetupComputePsi.o --- zbuf --- --- ./zbuf.o --- --- ./dump_struct.o --- ./dump_struct.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | dump_struct(chglist,qv) | ^ | int ./dump_struct.c:15:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 15 | FILE *fp, *fopen(); | ^ ./dump_struct.c:21:18: warning: passing arguments to 'concat3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | fname = concat3(ps_file_base,".","mat"); | ^ ./dump_struct.c:69:5: warning: call to undeclared function 'savemat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | savemat(fp, type, "xt", 3, index, 0, x, NULL); | ^ --- fasthenry --- SetupComputePsi.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | SetupComputePsi(Vs, sys, Im, size, chglist, w, R, indsys) | ^ | int SetupComputePsi.c:37:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | Ib = (CX *)MattAlloc(branches, sizeof(CX)); | ^ SetupComputePsi.c:38:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | Vb = (CX *)MattAlloc(branches, sizeof(CX)); | ^ SetupComputePsi.c:39:28: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | ctemp = (CX *)MattAlloc(size, sizeof(CX)); --- zbuf --- ./dump_struct.c:99:5: warning: call to undeclared function 'savemat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | savemat(fp, type, "xq", 4, index, 0, x, NULL); | ^ ./dump_struct.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | dump_struct(chglist,qv) | ^ ./dump_struct.c:107:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 107 | } | ^ 7 warnings generated. --- ./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 | { --- fasthenry --- | ^ SetupComputePsi.c:41:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | Vdirect = (CX *)MattAlloc(branches, sizeof(CX)); | ^ SetupComputePsi.c:53:5: warning: call to undeclared function 'multPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | multPrecond(indsys->Precond, Im, ctemp, size); | ^ SetupComputePsi.c:58:5: warning: call to undeclared function 'spSolve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | spSolve(indsys->sparMatrix, Im, Im); | ^ SetupComputePsi.c:86:5: warning: call to undeclared function 'computePsi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | computePsi(sys, q, p, branches, chglist); --- zbuf --- ./zbuf2fastcap.c:78: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] 78 | faces = fastcap2faces(&numfaces, chglist, q, use_density); | ^ ./zbuf2fastcap.c:81: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] 81 | lines = getLines(line_file, &numlines); | ^ ./zbuf2fastcap.c:84: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] 84 | avg = getAvg(faces, numfaces, lines, numlines, OFF); | ^ ./zbuf2fastcap.c:87: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] --- fasthenry --- | ^ SetupComputePsi.c:125:3: warning: call to undeclared function 'mulDirect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | mulDirect(sys); | ^ SetupComputePsi.c:126:3: warning: call to undeclared function 'mulEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | mulEval(sys); | ^ SetupComputePsi.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | SetupComputePsi(Vs, sys, Im, size, chglist, w, R, indsys) | ^ In file included from SetupComputePsi.c:5: ./induct.h:649: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] 649 | extern int SetupComputePsi(); | ^ --- zbuf --- 87 | radius = getSphere(avg, faces, numfaces, lines, numlines); | ^ ./zbuf2fastcap.c:93: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] 93 | rhs = getNormal(normal, radius, avg, view, distance); | ^ ./zbuf2fastcap.c:105:3: warning: call to undeclared function 'initFaces'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | initFaces(faces, numfaces, view); | ^ ./zbuf2fastcap.c:119:3: warning: call to undeclared function 'getAdjGraph'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | getAdjGraph(faces, numfaces, view, rhs, normal); | ^ --- fasthenry --- SetupComputePsi.c:214:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 214 | } | ^ SetupComputePsi.c:216:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 216 | realmatCXvec(y, A, x, size) | ^ | int SetupComputePsi.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] SetupComputePsi.c:231:1: warning: non-void function does not return a value [-Wreturn-type] 231 | } | ^ SetupComputePsi.c:242:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 242 | fixEvalDirect(qchgs, numqchgs, is_dummy, pchgs, numpchgs, mat) | ^ | int SetupComputePsi.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- zbuf --- ./zbuf2fastcap.c:124: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] 124 | sfaces = depthSortFaces(faces, numfaces); | ^ ./zbuf2fastcap.c:128:3: warning: call to undeclared function 'image'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | image(sfaces, numfaces, lines, numlines, normal, rhs, view); | ^ ./zbuf2fastcap.c:129:3: warning: call to undeclared function 'flatten'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | flatten(sfaces, numfaces, lines, numlines, rhs, rotation, normal, view); | ^ ./zbuf2fastcap.c:130:3: warning: call to undeclared function 'makePos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | makePos(sfaces, numfaces, lines, numlines); | ^ --- fasthenry --- SetupComputePsi.c:273:1: warning: non-void function does not return a value [-Wreturn-type] 273 | } | ^ 19 warnings generated. --- SetupMulti.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c SetupMulti.c -o SetupMulti.o SetupMulti.c:53:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | CALLOC(axes, 10, double **, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ --- zbuf --- ./zbuf2fastcap.c:131:3: warning: call to undeclared function 'scale2d'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | scale2d(sfaces, numfaces, lines, numlines, scale, moffset); | ^ ./zbuf2fastcap.c:133:5: warning: call to undeclared function 'dumpCycles'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | dumpCycles(sfaces, numfaces, stdout); /* DANGER - doesnt work (?) */ | ^ ./zbuf2fastcap.c:134:5: warning: call to undeclared function 'dumpFaceText'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | dumpFaceText(sfaces, numfaces, stdout); | ^ ./zbuf2fastcap.c:142:5: warning: call to undeclared function 'dumpPs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | dumpPs(sfaces, numfaces, lines, numlines, fp, argvals, argcnt,use_density); --- fasthenry --- SetupMulti.c:55:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | CALLOC(axes[i], 2, double *, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ SetupMulti.c:57:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | CALLOC(axes[i][j], 3, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ --- zbuf --- | ^ ./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. --- ./dump_struct.o --- --- ./zbuf2fastcap.o --- --- ./extras.o --- ./extras.c:22:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | void dumpCorners(fp, mat, rows, cols) | ^ ./extras.c:41:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | void dumpConfig(fp, name) | ^ ./extras.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | void dump_face(fp, fac) | ^ --- fasthenry --- ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ SetupMulti.c:108: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] 108 | sys = mulInit(autlev, numLev, numMom, chglist, indsys, pseudo_lev); | ^ SetupMulti.c:197:3: warning: call to undeclared function 'mulMultiAlloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | mulMultiAlloc(MAX(sys->max_eval_pnt, sys->max_panel), numMom, sys->depth); | ^ SetupMulti.c:206:3: warning: call to undeclared function 'mulMatDirect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | mulMatDirect(sys); /* Compute the direct part matrices. */ | ^ --- zbuf --- ./extras.c:175:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 175 | initcalcp(panel_list) | ^ | int ./extras.c:228:5: warning: call to undeclared function 'Cross_Product'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | Cross_Product(pq->X, pq->Y, pq->Z); | ^ ./extras.c:230:8: warning: call to undeclared function 'flip_normal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 230 | if(flip_normal(pq)) { | ^ ./extras.c:251: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] 251 | pq->area = 0.5 * normalize(pq->Z); | ^ --- fasthenry --- SetupMulti.c:237:3: warning: call to undeclared function 'dumpnums'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 237 | dumpnums(ON, eval_size, up_size); /* save num/type of pot. coeff calcs */ | ^ SetupMulti.c:249:3: warning: call to undeclared function 'mulMatUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | mulMatUp(sys); /* Compute the upward pass matrices. */ | ^ SetupMulti.c:256:3: warning: call to undeclared function 'mulMatDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | mulMatDown(sys); /* find matrices for full Greengard dnwd pass*/ | ^ SetupMulti.c:265:3: warning: call to undeclared function 'mulMatEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- zbuf --- ./extras.c:252: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] 252 | normalize(pq->X); | ^ ./extras.c:258:8: warning: call to undeclared function 'planarize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 258 | if(planarize(pq) == FALSE) { | ^ ./extras.c:260:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | CALLOC(npq, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) --- fasthenry --- 265 | mulMatEval(sys); /* set up matrices for evaluation pass */ | ^ SetupMulti.c:339:3: warning: call to undeclared function 'uallocEfcy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | uallocEfcy(memcount); | ^ SetupMulti.c:4:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | ssystem *SetupMulti(chglist, indsys) | ^ 12 warnings generated. --- savemat_mod.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c savemat_mod.c -o savemat_mod.o savemat_mod.c:27:14: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] 27 | #ifdef ALPHA || defined(__alpha__) || defined(__amd64__) || defined(___sparc64__) || defined(__ia64__) | ^ | // 1 warning generated. --- sparse/sparse.a --- cd sparse; make CC=cc --- zbuf --- | ^ ./extras.c:274:5: warning: call to undeclared function 'centroid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | centroid(pq, length20); | ^ ./extras.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | initcalcp(panel_list) | ^ ./extras.c:301:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 301 | } | ^ ./extras.c:304:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 304 | Cross_Product(vector1, vector2, result_vector) | ^ | int ./extras.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- fasthenry --- --- spAllocate.o --- --- spBuild.o --- --- spFactor.o --- --- spOutput.o --- --- spSolve.o --- --- spUtils.o --- --- spCompat.o --- --- spFortran.o --- --- spAllocate.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spAllocate.c -o spAllocate.o --- spBuild.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spBuild.c -o spBuild.o --- spFactor.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spFactor.c -o spFactor.o --- spOutput.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spOutput.c -o spOutput.o --- spSolve.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spSolve.c -o spSolve.o --- spUtils.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spUtils.c -o spUtils.o --- spCompat.o --- --- induct.o --- --- zbuf --- ./extras.c:310:1: warning: non-void function does not return a value [-Wreturn-type] 310 | } | ^ ./extras.c:312:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | double normalize(vector) | ^ ./extras.c:333:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 333 | centroid(pp, x2) | ^ | int ./extras.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./extras.c:361:1: warning: non-void function does not return a value [-Wreturn-type] 361 | } | ^ ./extras.c:367:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 367 | planarize(pq) | ^ | int --- fasthenry --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c induct.c -o induct.o --- gmres.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c gmres.c -o gmres.o --- find_nonuni_path.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c find_nonuni_path.c -o find_nonuni_path.o --- readGeom.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c readGeom.c -o readGeom.o --- joelself.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c joelself.c -o joelself.o --- writefastcap.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c writefastcap.c -o writefastcap.o writefastcap.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | writefastcap(fname, shading_name, indsys) | ^ | int --- zbuf --- ./extras.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./extras.c:413:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 413 | flip_normal(panel) | ^ | int ./extras.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 warnings generated. --- fasthenry --- writefastcap.c:38:3: warning: call to undeclared function 'assign_shades'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | assign_shades(indsys); | ^ writefastcap.c:246:5: warning: call to undeclared function 'unit_cross_product'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | unit_cross_product(gp->x[0]-gp->x[1], gp->y[0]-gp->y[1], gp->z[0]-gp->z[1], | ^ writefastcap.c:249:9: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- read_tree.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c read_tree.c -o read_tree.o --- calcp.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c calcp.c -o calcp.o calcp.c:21:28: warning: passing arguments to 'selfterm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | { double tmp = selfterm(pchg1->fil); | ^ calcp.c:32:18: warning: passing arguments to 'mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | return mutual(pchg1->fil, pchg2->fil); | ^ calcp.c:9:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | double calcp(pchg1, pchg2, pfd) | ^ calcp.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | dumpnums(flag, size) | ^ | int --- mulSetup.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c mulSetup.c -o mulSetup.o --- BreakupSeg.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c BreakupSeg.c -o BreakupSeg.o --- Precond.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c Precond.c -o Precond.o --- addgroundplane.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c addgroundplane.c -o addgroundplane.o --- findpaths.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c findpaths.c -o findpaths.o --- fillM.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c fillM.c -o fillM.o --- cx_ludecomp.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c cx_ludecomp.c -o cx_ludecomp.o --- parse_command_line.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c parse_command_line.c -o parse_command_line.o --- default_opts.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c default_opts.c -o default_opts.o --- Prec_cost.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c Prec_cost.c -o Prec_cost.o --- hole.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c hole.c -o hole.o --- dist_betw_fils.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c dist_betw_fils.c -o dist_betw_fils.o --- mutual.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c mutual.c -o mutual.o --- newPrecond.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c newPrecond.c -o newPrecond.o --- deg_mutual.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c deg_mutual.c -o deg_mutual.o --- barnoldi.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c barnoldi.c -o barnoldi.o --- regurgitate.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c regurgitate.c -o regurgitate.o --- mulGlobal.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c mulGlobal.c -o mulGlobal.o --- mulDo.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c mulDo.c -o mulDo.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 --- mulMats.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c mulMats.c -o mulMats.o --- direct.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c direct.c -o direct.o --- uglieralloc.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c uglieralloc.c -o uglieralloc.o --- capsolve.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c capsolve.c -o capsolve.o --- calcp.o --- calcp.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] calcp.c:68:1: warning: non-void function does not return a value [-Wreturn-type] 68 | } | ^ calcp.c:70:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | double tilelength(nq) | ^ 7 warnings generated. --- writefastcap.o --- 249 | if (is_nonuni_gp(gp)) | ^ writefastcap.c:257:7: warning: call to undeclared function 'make_between'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | make_between(fp, gp,wx,wy,wz,width,j,k); | ^ writefastcap.c:264:5: warning: call to undeclared function 'make_between'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | make_between(fp, gp, wx,wy,wz,width,j,k); | ^ writefastcap.c:270:3: warning: call to undeclared function 'clear_marks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | clear_marks(indsys); | ^ writefastcap.c:9:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | writefastcap(fname, shading_name, indsys) | ^ writefastcap.c:274:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 274 | } | ^ writefastcap.c:276:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | make_between(fp, gp, wx,wy,wz,width,j,k) | ^ | int writefastcap.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] writefastcap.c:305:1: warning: non-void function does not return a value [-Wreturn-type] 305 | } | ^ writefastcap.c:307:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 307 | unit_cross_product(x1,y1,z1,x2,y2,z2,cx, cy,cz) | ^ | int writefastcap.c:316:13: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | magc = mag(*cx, *cy, *cz); | ^ writefastcap.c:318:15: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | if (magc/mag(x1,y1,z1) > 1e-13) { | ^ writefastcap.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 | unit_cross_product(x1,y1,z1,x2,y2,z2,cx, cy,cz) | ^ writefastcap.c:324:1: warning: non-void function does not return a value [-Wreturn-type] 324 | } | ^ writefastcap.c:329:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 329 | assign_shades(indsys) | ^ | int writefastcap.c:339:3: warning: call to undeclared function 'clear_marks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 339 | clear_marks(indsys); | ^ writefastcap.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | assign_shades(indsys) | ^ writefastcap.c:374:1: warning: non-void function does not return a value [-Wreturn-type] 374 | } | ^ 21 warnings generated. --- sparse/sparse.a --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spCompat.c -o spCompat.o --- spFortran.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -c spFortran.c -o spFortran.o --- spSolve.o --- spSolve.c:18:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 18 | static SolveComplexTransposedMatrix(); | ~~~~~~ ^ | int spSolve.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | spSolve( eMatrix, RHS, Solution IMAG_VECTORS ) | ^ spSolve.c:148:27: warning: passing arguments to 'SolveComplexMatrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | { SolveComplexMatrix( Matrix, RHS, Solution IMAG_VECTORS ); | ^ --- contact.o --- cc -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR -c contact.c -o contact.o --- sparse/sparse.a --- spSolve.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | SolveComplexMatrix( Matrix, RHS, Solution IMAG_VECTORS ) | ^ spSolve.c:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | static void SolveComplexMatrix(); | ^ 5 warnings generated. --- spAllocate.o --- spAllocate.c:26:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | static InitializeElementBlocks(); | ~~~~~~ ^ | int spAllocate.c:27:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | static RecordAllocation(); | ~~~~~~ ^ | int spAllocate.c:28:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static AllocateBlockOfAllocationList(); | ~~~~~~ ^ | int spAllocate.c:29:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 29 | static EnlargeMatrix(); | ~~~~~~ ^ | int spAllocate.c:30:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | static ExpandTranslationArrays(); | ~~~~~~ ^ | int spAllocate.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | spCreate( Size, Complex, pError ) | ^ spAllocate.c:199:21: warning: passing arguments to 'RecordAllocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | RecordAllocation( Matrix, (char *)Matrix ); | ^ spAllocate.c:263:28: warning: passing arguments to 'InitializeElementBlocks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | InitializeElementBlocks( Matrix, SPACE_FOR_ELEMENTS*AllocatedSize, | ^ spAllocate.c:322:25: warning: passing arguments to 'RecordAllocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | RecordAllocation( Matrix, (char *)pElement ); | ^ spAllocate.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | spcGetElement( Matrix ) | ^ spAllocate.c:372:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 371 | static | ~~~~~~ | int 372 | InitializeElementBlocks( Matrix, InitialNumberOfElements, | ^ spAllocate.c:384:21: warning: passing arguments to 'RecordAllocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | RecordAllocation( Matrix, (char *)pElement ); | ^ spAllocate.c:391:21: warning: passing arguments to 'RecordAllocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | RecordAllocation( Matrix, (char *)pElement ); | ^ spAllocate.c:398:21: warning: passing arguments to 'RecordAllocation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | RecordAllocation( Matrix, (char *)Matrix->FirstFillinListNode ); | ^ spAllocate.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | InitializeElementBlocks( Matrix, InitialNumberOfElements, | ^ spAllocate.c:26:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static InitializeElementBlocks(); | ^ spAllocate.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | spcGetFillin( Matrix ) | ^ spAllocate.c:515:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 514 | static | ~~~~~~ | int 515 | RecordAllocation( Matrix, AllocatedPtr ) | ^ spAllocate.c:532:38: warning: passing arguments to 'AllocateBlockOfAllocationList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | { AllocateBlockOfAllocationList( Matrix ); | ^ spAllocate.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | RecordAllocation( Matrix, AllocatedPtr ) | ^ spAllocate.c:27:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static RecordAllocation(); | ^ spAllocate.c:572:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 571 | static | ~~~~~~ | int 572 | AllocateBlockOfAllocationList( Matrix ) | ^ spAllocate.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spAllocate.c:28:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | static AllocateBlockOfAllocationList(); | ^ spAllocate.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | spDestroy( eMatrix ) | ^ spAllocate.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | spError( eMatrix ) | ^ spAllocate.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | spWhereSingular( eMatrix, pRow, pCol ) | ^ spAllocate.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | spGetSize( eMatrix, External ) | ^ spAllocate.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | spSetReal( eMatrix ) | ^ spAllocate.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | spSetComplex( eMatrix ) | ^ spAllocate.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | spFillinCount( eMatrix ) | ^ spAllocate.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | spElementCount( eMatrix ) | ^ 32 warnings generated. --- spOutput.o --- spOutput.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | spPrint( eMatrix, PrintReordered, Data, Header ) | ^ spOutput.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | spFileMatrix( eMatrix, File, Label, Reordered, Data, Header ) | ^ spOutput.c:417:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 417 | FILE *pMatrixFile, *fopen(); | ^ spOutput.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | spFileVector( eMatrix, File, RHS IMAG_RHS ) | ^ spOutput.c:571: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] 571 | FILE *fopen(); | ^ spOutput.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] 684 | spFileStats( eMatrix, File, Label ) | ^ spOutput.c:693:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 693 | FILE *pStatsFile, *fopen(); | ^ 7 warnings generated. --- fillM.o --- fillM.c:38:40: warning: passing arguments to 'make_mesh_from_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | Mlist[mesh] = make_mesh_from_path(aplist->path, mesh, indsys); | ^ fillM.c:62:36: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | Mlist[mesh] = make_melement(seg->filaments[k-1].filnumber, | ^ fillM.c:65:44: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | Mlist[mesh] = insert_in_list(make_melement(seg->filaments[k].filnumber, | ^ fillM.c:65:30: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | Mlist[mesh] = insert_in_list(make_melement(seg->filaments[k].filnumber, | ^ fillM.c:76:10: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | if (!is_nonuni_gp(plane)) | ^ fillM.c:77:15: warning: call to undeclared function 'makeMlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | mesh += makeMlist(plane, &(Mlist[mesh]), &(m_info[mesh]),mesh); | ^ fillM.c:79:15: warning: call to undeclared function 'make_nonuni_Mlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | mesh += make_nonuni_Mlist(plane, &(Mlist[mesh])); | ^ fillM.c:15:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | void fillM(indsys) | ^ In file included from fillM.c:4: ./induct.h:635:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 635 | void fillM(); | ^ fillM.c:111:29: warning: passing arguments to 'find_first_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | plusnode = find_first_node(path); /* which node starts the loop */ | ^ fillM.c:113:20: warning: passing arguments to 'getnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | node0 = getnode(0, selem->seg); /* get original (not real) nodes */ | ^ fillM.c:114:20: warning: passing arguments to 'getnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | node1 = getnode(1, selem->seg); | ^ fillM.c:115:20: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | if (getrealnode(plusnode) == getrealnode(node0)) | ^ fillM.c:115:45: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | if (getrealnode(plusnode) == getrealnode(node0)) | ^ fillM.c:117:25: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | else if (getrealnode(plusnode) == getrealnode(node1)) | ^ fillM.c:117:50: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | else if (getrealnode(plusnode) == getrealnode(node1)) | ^ fillM.c:127:25: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | m1 = make_melement(seg->filaments[0].filnumber, &seg->filaments[0], | ^ fillM.c:129:29: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | mlist = insert_in_list(m1, mlist); | ^ fillM.c:135:2: warning: call to undeclared function 'add_to_external'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | add_to_external(pseg, mesh, sign, indsys); | ^ fillM.c:137:9: warning: call to undeclared function 'is_next_seg_in_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | while( is_next_seg_in_gp(selem, plusnode) == TRUE) { | ^ fillM.c:144:26: warning: passing arguments to 'getothernode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | node1 = getothernode(node1, selem->seg); | ^ fillM.c:148:26: warning: passing arguments to 'getothernode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | node0 = getothernode(node0, selem->seg); | ^ fillM.c:155:30: warning: passing arguments to 'path_through_gp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | temppath = path_through_gp(node0, node1, node0->gp); | ^ fillM.c:159:30: warning: passing arguments to 'path_through_gp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | temppath = path_through_gp(node1, node0, node0->gp); | ^ fillM.c:165:8: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | if (is_nonuni_gp(node0->gp)) { | ^ fillM.c:191:22: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | m1 = make_melement(seg->filaments[0].filnumber, &seg->filaments[0], | ^ fillM.c:193:26: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | mlist = insert_in_list(m1, mlist); | ^ fillM.c:194:24: warning: passing arguments to 'getothernode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | plus2 = getothernode(actualnode, telem->seg); | ^ fillM.c:206:7: warning: call to undeclared function 'bad_seg_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | bad_seg_type("make_mesh_from_path", selem->seg); | ^ fillM.c:208:28: warning: passing arguments to 'getothernode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | plusnode = getothernode(plusnode, selem->seg); | ^ fillM.c:217:22: warning: passing arguments to 'getnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | node0 = getnode(0, selem->seg); /* get original (not real) nodes */ | ^ fillM.c:218:22: warning: passing arguments to 'getnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | node1 = getnode(1, selem->seg); | ^ fillM.c:98:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | MELEMENT *make_mesh_from_path(path, mesh, indsys) | ^ In file included from fillM.c:4: ./induct.h:589:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 589 | MELEMENT *make_mesh_from_path(); | ^ fillM.c:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 229 | is_next_seg_in_gp(selem,plusnode) | ^ | int fillM.c:241:31: warning: passing arguments to 'getothernode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | othernode = getothernode(plusnode, selem->seg); | ^ fillM.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | is_next_seg_in_gp(selem,plusnode) | ^ fillM.c:259:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | MELEMENT *insert_in_list(melem, bigmhead) | ^ In file included from fillM.c:4: ./induct.h:590:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 590 | MELEMENT *insert_in_list(); | ^ fillM.c:295:5: warning: call to undeclared function 'bad_seg_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | bad_seg_type("getnode", seg); | ^ fillM.c:286:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | NODES *getnode(number, seg) | ^ In file included from fillM.c:4: ./induct.h:591: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] 591 | NODES *getnode(); | ^ fillM.c:296:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 296 | } | ^ fillM.c:298:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 298 | bad_seg_type(name, seg) | ^ | int fillM.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fillM.c:312:32: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | melem = (MELEMENT *)MattAlloc(1, sizeof(MELEMENT)); | ^ fillM.c:306:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | MELEMENT *make_melement(filindex, fil, sign) | ^ In file included from fillM.c:4: ./induct.h:592:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 592 | MELEMENT *make_melement(); | ^ fillM.c:324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 324 | add_to_external(pseg, mesh, sign, indsys) | ^ | int fillM.c:343:48: warning: passing arguments to 'make_int_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | port->indices = add_to_int_list(make_int_list(mesh, realsign), | ^ fillM.c:343:34: warning: passing arguments to 'add_to_int_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | port->indices = add_to_int_list(make_int_list(mesh, realsign), | ^ fillM.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | add_to_external(pseg, mesh, sign, indsys) | ^ fillM.c:346:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 346 | } | ^ fillM.c:353:29: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | elem = (int_list *)Gmalloc(sizeof(int_list)); | ^ fillM.c:348:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | int_list *make_int_list(mesh, sign) | ^ In file included from fillM.c:4: ./induct.h:593:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 593 | int_list *make_int_list(); | ^ fillM.c:361:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | int_list *add_to_int_list(int_elem, list) | ^ In file included from fillM.c:4: ./induct.h:594:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 594 | int_list *add_to_int_list(); | ^ fillM.c:370:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 370 | makeMlist(plane, pMlist, pm_info, mstart) | ^ | int fillM.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fillM.c:435:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 435 | fill_b(ext, b) | ^ | int fillM.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fillM.c:443:1: warning: non-void function does not return a value [-Wreturn-type] 443 | } | ^ fillM.c:445:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 445 | extractYcol(mat, x0, extcol, ext_list) | ^ | int fillM.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] fillM.c:464:1: warning: non-void function does not return a value [-Wreturn-type] 464 | } | ^ fillM.c:466:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | char *get_a_name(pseg) | ^ In file included from fillM.c:4: ./induct.h:595:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 595 | char *get_a_name(); | ^ fillM.c:508:17: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | (getrealnode(node0) == getrealnode(getnode(0, path->next->seg)) | ^ fillM.c:508:39: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | (getrealnode(node0) == getrealnode(getnode(0, path->next->seg)) | ^ fillM.c:509:21: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | || getrealnode(node0) == getrealnode(getnode(1, path->next->seg)) ); | ^ fillM.c:509:43: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | || getrealnode(node0) == getrealnode(getnode(1, path->next->seg)) ); | ^ fillM.c:512:17: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | (getrealnode(node1) == getrealnode(getnode(0, path->next->seg)) | ^ fillM.c:512:39: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | (getrealnode(node1) == getrealnode(getnode(0, path->next->seg)) | ^ fillM.c:513:21: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | || getrealnode(node1) == getrealnode(getnode(1, path->next->seg)) ); | ^ fillM.c:513:43: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | || getrealnode(node1) == getrealnode(getnode(1, path->next->seg)) ); | ^ fillM.c:474:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | NODES *find_first_node(path) | ^ In file included from fillM.c:4: ./induct.h:596: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] 596 | NODES *find_first_node(); | ^ fillM.c:543:31: warning: parameter 'freq_num' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 543 | makegrids(indsys, Im, column, freq_num) | ^ 544 | SYS *indsys; 545 | CX *Im; 546 | int column; 547 | { fillM.c:543:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 543 | makegrids(indsys, Im, column, freq_num) | ^ | int fillM.c:552:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | static maxdir1 = 0, maxdir2 = 0; | ~~~~~~ ^ | int fillM.c:552:23: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 552 | static maxdir1 = 0, maxdir2 = 0; | ~~~~~~ ^ | int fillM.c:566:26: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | Ib = (CX *)MattAlloc(fils, sizeof(CX)); | ^ fillM.c:652:9: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | if (is_nonuni_gp(p)) | ^ fillM.c:653:7: warning: call to undeclared function 'dump_nonuni_plane_currents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 653 | dump_nonuni_plane_currents(p->nonuni, Ib, fp); | ^ fillM.c:659:27: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | out1 = (CX **)MatrixAlloc(dir2 + 10, dir1 + 10, sizeof(CX)); | ^ fillM.c:660:27: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | out2 = (CX **)MatrixAlloc(dir2 + 10, dir1 + 10, sizeof(CX)); | ^ fillM.c:693:7: warning: call to undeclared function 'savecmplx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 693 | savecmplx(fp, fname, out1, dir2, dir1); | ^ fillM.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | makegrids(indsys, Im, column, freq_num) | ^ fillM.c:704:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 704 | } | ^ 90 warnings generated. --- zbuf --- --- ./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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | CALLOC(avg, 3, double, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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) | ^ 38 warnings generated. --- fasthenry --- --- sparse/sparse.a --- --- spCompat.o --- --- parse_command_line.o --- parse_command_line.c:31:29: warning: passing arguments to 'Pmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | opts = (ind_opts *)Pmalloc(sizeof(ind_opts)); | ^ parse_command_line.c:33:16: warning: passing arguments to 'gather_opts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | gather_opts(argc, argv, "s:m:p:o:l:f:g:a:d:r:hMk:t:b:c:e:i:D:x:S:R:v"); | ^ parse_command_line.c:39:3: warning: call to undeclared function 'default_opts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | default_opts(opts); | ^ parse_command_line.c:44:7: warning: call to undeclared function 'tolowercase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- zbuf --- --- ./extras.o --- --- fasthenry --- 44 | tolowercase(opt_list->arg); | ^ parse_command_line.c:71:11: warning: call to undeclared function 'read_on_off'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if (read_on_off(opt_list->arg, &opts->precond) == FALSE) { | ^ parse_command_line.c:162:7: warning: call to undeclared function 'Describe_Usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 162 | Describe_Usage(argv[0]); /* also exits */ | ^ parse_command_line.c:254:7: warning: call to undeclared function 'add_to_subset_of_columns'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | add_to_subset_of_columns(opt_list->arg, opts); | ^ parse_command_line.c:303:5: warning: call to undeclared function 'Describe_Usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | Describe_Usage(argv[0]); /* also exits */ | ^ parse_command_line.c:305:3: warning: call to undeclared function 'fix_and_print_opts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 305 | fix_and_print_opts(opts); | ^ parse_command_line.c:23:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | ind_opts *Parse_Command_Line(argc, argv) | ^ In file included from parse_command_line.c:5: ./induct.h:605:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 605 | ind_opts *Parse_Command_Line(); | ^ parse_command_line.c:322:28: warning: passing arguments to 'Pmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | opt = (Option *)Pmalloc(sizeof(Option)); | ^ parse_command_line.c:330:6: warning: call to undeclared function 'is_in_optstring'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 330 | if (is_in_optstring(opt->op, optstring, &takearg)) { | ^ parse_command_line.c:334:11: warning: call to undeclared function 'checkarg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 334 | if(checkarg(count+1, argc, argv) == BAD) { | ^ parse_command_line.c:336:3: warning: call to undeclared function 'Describe_Usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | Describe_Usage(argv[0]); | ^ parse_command_line.c:346:8: warning: call to undeclared function 'Describe_Usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | Describe_Usage(argv[0]); | ^ parse_command_line.c:353:4: warning: call to undeclared function 'Describe_Usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | Describe_Usage(argv[0]); | ^ parse_command_line.c:310:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | Option *gather_opts(argc, argv, optstring) | ^ parse_command_line.c:21:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | Option *gather_opts(); | ^ parse_command_line.c:369:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | char *Pmalloc(size) | ^ In file included from parse_command_line.c:5: ./induct.h:604:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 604 | char *Pmalloc(); | ^ parse_command_line.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | is_in_optstring(op, string, takearg) | ^ | int parse_command_line.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] parse_command_line.c:401:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 401 | checkarg(index, argc, argv) | ^ | int parse_command_line.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] parse_command_line.c:419:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 419 | Describe_Usage(name) | ^ | int parse_command_line.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] parse_command_line.c:497:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 497 | read_on_off(str, on_off) | ^ | int parse_command_line.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] parse_command_line.c:508:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 508 | add_to_subset_of_columns(str, opts) | ^ | int parse_command_line.c:514:3: warning: call to undeclared function 'tolowercase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | tolowercase(str); | ^ parse_command_line.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | add_to_subset_of_columns(str, opts) | ^ parse_command_line.c:523:1: warning: non-void function does not return a value [-Wreturn-type] 523 | } | ^ parse_command_line.c:525:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 525 | fix_and_print_opts(opts) | ^ | int parse_command_line.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] parse_command_line.c:581:1: warning: non-void function does not return a value [-Wreturn-type] 581 | } | ^ 36 warnings generated. --- deg_mutual.o --- deg_mutual.c:11:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | enum degen_type find_deg_dims(fil) | ^ deg_mutual.c:42:5: warning: call to undeclared function 'setup_tape_to_tape'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | setup_tape_to_tape(fil_j,fil_m,whperp,x_j,y_j,deg_j,deg_m, | ^ deg_mutual.c:44:24: warning: passing arguments to 'exact_mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | return exact_mutual(&nfil_j, &nfil_m, whperp, nx_j, ny_j, deg_j, deg_m); | ^ deg_mutual.c:48:28: warning: passing arguments to 'do_tape_to_brick' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- zbuf --- --- ./savemat_mod.o --- --- fasthenry --- 48 | return do_tape_to_brick(fil_j, fil_m, whperp, x_j, y_j, deg_j, deg_m); | ^ deg_mutual.c:50:19: warning: passing arguments to 'fourfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | return fourfil(fil_j, fil_m); | ^ deg_mutual.c:52:19: warning: passing arguments to 'fourfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | return fourfil(fil_j, fil_m); | ^ deg_mutual.c:54:19: warning: passing arguments to 'fourfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | return fourfil(fil_j, fil_m); | ^ deg_mutual.c:23:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | double compute_for_degenerate(fil_j, fil_m, whperp, x_j, y_j, | ^ In file included from deg_mutual.c:5: ./induct.h:660: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] 660 | double compute_for_degenerate(); | ^ deg_mutual.c:58:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 58 | setup_tape_to_tape(fil_j, fil_m, whperp, x_j, y_j, deg_j, deg_m, | ^ | int deg_mutual.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] deg_mutual.c:85:1: warning: non-void function does not return a value [-Wreturn-type] 85 | } | ^ deg_mutual.c:114:5: warning: call to undeclared function 'get_wid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | get_wid(fil_m,wid_brick); | ^ deg_mutual.c:115:5: warning: call to undeclared function 'get_height'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | get_height(fil_m,wid_brick,hei_brick); | ^ deg_mutual.c:130:5: warning: call to undeclared function 'get_wid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | get_wid(fil_m,hei_brick); | ^ deg_mutual.c:131:5: warning: call to undeclared function 'get_height'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | get_height(fil_m,hei_brick,wid_brick); | ^ deg_mutual.c:137:5: warning: call to undeclared function 'get_wid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | get_wid(fil_m,x_flat); | ^ deg_mutual.c:138:5: warning: call to undeclared function 'get_height'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | get_height(fil_m,x_flat,y_flat); | ^ deg_mutual.c:205:44: warning: passing arguments to 'exact_mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | sum += Gweight[gpoints][i]*exact_mutual(&nfil_j, &nfil_m, whperp, | ^ deg_mutual.c:87:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | double do_tape_to_brick(fil_j, fil_m, whperp, x_j, y_j, deg_j, deg_m) | ^ In file included from deg_mutual.c:5: ./induct.h:657: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] 657 | double do_tape_to_brick(); | ^ 21 warnings generated. --- zbuf --- --- ./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:157:10: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | if(want_this_iter(kq_num_list, panel->cond)) continue; | ^ ./zbufInOut.c:192:10: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | 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:228: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] 228 | FILE *fp, *fopen(); | ^ ./zbufInOut.c:220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | void get_charge_densities(q, file, iter) | ^ ./zbufInOut.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 getAbsCoord(vec, panel, num) | ^ ./zbufInOut.c:345:10: warning: call to undeclared function 'want_this_iter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 345 | if(want_this_iter(kq_num_list, chgp->cond)) continue; | ^ ./zbufInOut.c:354:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | CALLOC(head, 1, face, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:358:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | CALLOC(tail->next, 1, face, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:363:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | CALLOC(tail->c, tail->numsides, double *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:365:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | CALLOC(tail->c[i], 3, double, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:371: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] 371 | tail->rhs = getPlane(tail->normal, tail->c[0], tail->c[1], tail->c[2]); | ^ ./zbufInOut.c:381:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | CALLOC(faces, *numfaces, face *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:304:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | face **fastcap2faces(numfaces, chglist, q, use_density) | ^ ./zbufInOut.c:434: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] 434 | char linein[BUFSIZ], **chkp, *chk, *strtok(), *cp; | ^ ./zbufInOut.c:438: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] 438 | FILE *fpin, *fopen(); | ^ ./zbufInOut.c:488:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | CALLOC((*tail), 1, line, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:493:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | CALLOC((*tail)->next, 1, line, ON, AMSC); /* link forward */ | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:427:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | void readLines(fp, head, tail, numlines) | ^ ./zbufInOut.c:567:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | CALLOC(linesout, (*numlines), line *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufInOut.c:545:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | line **getLines(line_file, numlines) | ^ ./zbufInOut.c:578:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | void getBndingBox(faces, numfaces, lines, numlines, lowx, lowy, fp, axes) | ^ ./zbufInOut.c:647:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | void dumpAxes(axi, fp) | ^ ./zbufInOut.c:667:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | void copyBody(fp) | ^ ./zbufInOut.c:911:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | void numberFaces(faces, numfaces, fp) | ^ ./zbufInOut.c:941:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | void numberFace(fac, fp) | ^ ./zbufInOut.c:1015:38: warning: '/*' within block comment [-Wcomment] 1015 | /* y += (numfaces*stepy + 3*FONT); /* offset 2nd array */ | ^ ./zbufInOut.c:968:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | void dumpAdjGraph(faces, numfaces, fp) | ^ ./zbufInOut.c:1041:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | void dumpFaceText(faces, numfaces, fp) | ^ ./zbufInOut.c:1084:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | void dump_line_as_ps(fp, psline, x_position, y_position, font_size) | ^ ./zbufInOut.c:1100:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | void dump_shading_key(fp, nblocks, precision, font_size, use_density) | ^ ./zbufInOut.c:1183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | void numberLines(lines, numlines, fp) | ^ ./zbufInOut.c:1208:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | void dumpLines(fp, lines, numlines) | ^ ./zbufInOut.c:1289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1289 | void dumpPs(faces, numfaces, lines, numlines, fp, argv, argc, use_density) | ^ 35 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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | CALLOC(cur_name->alias_list, 1, Name, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:92:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | CALLOC(cur_name->alias_list->name, strlen(new_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:96:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | CALLOC(last_alias, 1, Name, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:97:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | CALLOC(last_alias->name, strlen(new_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | CALLOC(*name_list, 1, Name, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:134:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | CALLOC((*name_list)->name, strlen(name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:150:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | CALLOC(prev_name->next, 1, Name, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:151:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | CALLOC(prev_name->next->name, strlen(name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | CALLOC(cur_name->name, strlen(new_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | CALLOC(fstquad, 1, quadl, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:330:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | CALLOC(curquad->next, 1, quadl, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | CALLOC(fsttri, 1, tri, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:368:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | CALLOC(curtri->next, 1, tri, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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:426:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | CALLOC(chglst, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:430:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:455:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | CALLOC(chglst, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./quickif.c:459:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | CALLOC(nq->next, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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, | ^ 33 warnings generated. --- fasthenry --- --- uglieralloc.o --- uglieralloc.c:79:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | static HEADER *mocore(nu) | ^ uglieralloc.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | fill_it(mem, k, nbytes) | ^ | int uglieralloc.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] uglieralloc.c:106:1: warning: non-void function does not return a value [-Wreturn-type] 106 | } | ^ uglieralloc.c:139:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | char *ualloc(nbytes) | ^ uglieralloc.c:296:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | void uallocEfcy(memcount) | ^ 6 warnings generated. --- BreakupSeg.o --- BreakupSeg.c:6:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 6 | DivideSegs(length, charges, indsys, is_initial) | ^ | int BreakupSeg.c:21:4: warning: call to undeclared function 'BreakupSeg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | BreakupSeg(seg, length/DIVFACT, charges, indsys); | ^ BreakupSeg.c:6:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | DivideSegs(length, charges, indsys, is_initial) | ^ BreakupSeg.c:39:1: warning: non-void function does not return a value [-Wreturn-type] 39 | } | ^ BreakupSeg.c:41:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 41 | BreakupSeg(seg, maxlength, charges, indsys) | ^ | int BreakupSeg.c:86:21: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | newnode = makenode(name, indsys->num_nodes++, x, y, z, nodelast->type, NULL); | ^ BreakupSeg.c:90:3: warning: call to undeclared function 'remove_from_connected_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | remove_from_connected_segs(seg->node[1], seg, NULL); | ^ BreakupSeg.c:92:3: warning: call to undeclared function 'add_to_connected_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | add_to_connected_segs(newnode, seg, NULL); | ^ BreakupSeg.c:94:3: warning: call to undeclared function 'alterFils'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | alterFils(seg, newnode, dx, dy, dz); /* modify the segment's fils */ | ^ BreakupSeg.c:107:25: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | newnode = makenode(name, indsys->num_nodes++, x, y, z, nodelast->type, | ^ BreakupSeg.c:122:21: warning: passing arguments to 'makeseg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | newseg = makeseg(name, nodelast, newnode, seg->height, seg->width, | ^ BreakupSeg.c:138:23: warning: passing arguments to 'assignFil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | chgend = assignFil(newseg, &(indsys->num_fils), chgend); | ^ BreakupSeg.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | BreakupSeg(seg, maxlength, charges, indsys) | ^ BreakupSeg.c:146:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 146 | } | ^ BreakupSeg.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | alterFils(seg, node, dx, dy, dz) | ^ | int BreakupSeg.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] BreakupSeg.c:172:1: warning: non-void function does not return a value [-Wreturn-type] 172 | } | ^ 17 warnings generated. --- sparse/sparse.a --- --- spBuild.o --- spBuild.c:27:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | static EnlargeMatrix(); | ~~~~~~ ^ | int spBuild.c:28:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static ExpandTranslationArrays(); | ~~~~~~ ^ | int spBuild.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 | spClear( eMatrix ) | ^ spBuild.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | spGetElement( eMatrix, Row, Col ) | ^ spBuild.c:209:14: warning: passing arguments to 'Translate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | Translate( Matrix, &Row, &Col ); | ^ spBuild.c:244:52: warning: passing arguments to 'spcFindElementInCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | pElement = (RealNumber*)spcFindElementInCol( Matrix, | ^ spBuild.c:326:31: warning: passing arguments to 'spcCreateElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | return spcCreateElement( Matrix, Row, Col, LastAddr, NO ); | ^ spBuild.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | spcFindElementInCol( Matrix, LastAddr, Row, Col, CreateIfMissing ) | ^ spBuild.c:387:32: warning: passing arguments to 'ExpandTranslationArrays' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | ExpandTranslationArrays( Matrix, MAX(ExtRow, ExtCol) ); | ^ spBuild.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | Translate( Matrix, Row, Col ) | ^ spBuild.c:26:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | static void Translate(); | ^ spBuild.c:734:36: warning: passing arguments to 'spcGetFillin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | { pElement = spcGetFillin( Matrix ); | ^ spBuild.c:738:37: warning: passing arguments to 'spcGetElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | { pElement = spcGetElement( Matrix ); | ^ spBuild.c:801:33: warning: passing arguments to 'spcGetElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | pElement = spcGetElement( Matrix ); | ^ spBuild.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | spcCreateElement( Matrix, Row, Col, LastAddr, Fillin ) | ^ spBuild.c:863:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 863 | spcLinkRows( Matrix ) | ^ | int spBuild.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spBuild.c:914:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 913 | static | ~~~~~~ | int 914 | EnlargeMatrix( Matrix, NewSize ) | ^ spBuild.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spBuild.c:27: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] 27 | static EnlargeMatrix(); | ^ spBuild.c:1003:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1002 | static | ~~~~~~ | int 1003 | ExpandTranslationArrays( Matrix, NewSize ) | ^ spBuild.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spBuild.c:28: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] 28 | static ExpandTranslationArrays(); | ^ spBuild.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | spInstallInitInfo( pElement, pInitInfo ) | ^ spBuild.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | spGetInitInfo( pElement ) | ^ spBuild.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | spInitialize( eMatrix, pInit ) | ^ spBuild.c:1143:33: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | { Error = (*pInit)((RealNumber *)pElement, pElement->pInitInfo, | ^ 27 warnings generated. --- spFactor.o --- spFactor.c:63:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 63 | static FactorComplexMatrix(); | ~~~~~~ ^ | int spFactor.c:64:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | static CreateInternalVectors(); | ~~~~~~ ^ | int spFactor.c:65:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | static CountMarkowitz(); | ~~~~~~ ^ | int spFactor.c:66:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | static MarkowitzProducts(); | ~~~~~~ ^ | int spFactor.c:74:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 74 | static ExchangeRowsAndCols(); | ~~~~~~ ^ | int spFactor.c:75:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | static ExchangeColElements(); | ~~~~~~ ^ | int spFactor.c:76:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | static ExchangeRowElements(); | ~~~~~~ ^ | int spFactor.c:77:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 77 | static RealRowColElimination(); | ~~~~~~ ^ | int spFactor.c:78:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | static ComplexRowColElimination(); | ~~~~~~ ^ | int spFactor.c:79:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 79 | static UpdateMarkowitzNumbers(); | ~~~~~~ ^ | int spFactor.c:81:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | static MatrixIsSingular(); | ~~~~~~ ^ | int spFactor.c:82:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 82 | static ZeroPivot(); | ~~~~~~ ^ | int spFactor.c:83:9: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 83 | static WriteStatus(); | ~~~~~~ ^ | int spFactor.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | spOrderAndFactor( eMatrix, RHS, RelThreshold, AbsThreshold, DiagPivoting ) | ^ spFactor.c:213:44: warning: passing arguments to 'FindLargestInCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | LargestInCol = FindLargestInCol(pPivot->NextInCol); | ^ spFactor.c:216:45: warning: passing arguments to 'ComplexRowColElimination' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | ComplexRowColElimination( Matrix, pPivot ); | ^ spFactor.c:218:42: warning: passing arguments to 'RealRowColElimination' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | RealRowColElimination( Matrix, pPivot ); | ^ spFactor.c:249:13: warning: call to undeclared function 'spcLinkRows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 249 | spcLinkRows( Matrix ); | ^ spFactor.c:251:34: warning: passing arguments to 'CreateInternalVectors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | CreateInternalVectors( Matrix ); | ^ spFactor.c:257:19: warning: passing arguments to 'CountMarkowitz' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | CountMarkowitz( Matrix, RHS, Step ); | ^ spFactor.c:258:22: warning: passing arguments to 'MarkowitzProducts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | MarkowitzProducts( Matrix, Step ); | ^ spFactor.c:263:32: warning: passing arguments to 'SearchForPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | { pPivot = SearchForPivot( Matrix, Step, DiagPivoting ); | ^ spFactor.c:264:52: warning: passing arguments to 'MatrixIsSingular' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (pPivot == NULL) return MatrixIsSingular( Matrix, Step ); | ^ spFactor.c:265:28: warning: passing arguments to 'ExchangeRowsAndCols' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | ExchangeRowsAndCols( Matrix, pPivot, Step ); | ^ spFactor.c:268:37: warning: passing arguments to 'ComplexRowColElimination' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | ComplexRowColElimination( Matrix, pPivot ); | ^ spFactor.c:270:34: warning: passing arguments to 'RealRowColElimination' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | RealRowColElimination( Matrix, pPivot ); | ^ spFactor.c:273:31: warning: passing arguments to 'UpdateMarkowitzNumbers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | UpdateMarkowitzNumbers( Matrix, pPivot ); | ^ spFactor.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | spFactor( eMatrix ) | ^ spFactor.c:345:52: warning: passing arguments to 'FactorComplexMatrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | if (Matrix->Complex) return FactorComplexMatrix( Matrix ); | ^ spFactor.c:351:55: warning: passing arguments to 'ZeroPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (Matrix->Diag[1]->Real == 0.0) return ZeroPivot( Matrix, 1 ); | ^ spFactor.c:385:52: warning: passing arguments to 'ZeroPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (Dest[Step] == 0.0) return ZeroPivot( Matrix, Step ); | ^ spFactor.c:411:33: warning: passing arguments to 'ZeroPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | return ZeroPivot( Matrix, Step ); | ^ spFactor.c:460:55: warning: passing arguments to 'ZeroPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | if (ELEMENT_MAG(pElement) == 0.0) return ZeroPivot( Matrix, 1 ); | ^ spFactor.c:501:61: warning: passing arguments to 'ZeroPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | if (CMPLX_1_NORM(Pivot) == 0.0) return ZeroPivot( Matrix, Step ); | ^ spFactor.c:532:63: warning: passing arguments to 'ZeroPivot' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | if (ELEMENT_MAG(pElement) == 0.0) return ZeroPivot( Matrix, Step ); | ^ spFactor.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | FactorComplexMatrix( Matrix ) | ^ spFactor.c:63:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | static FactorComplexMatrix(); | ^ spFactor.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | spPartition( eMatrix, Mode ) | ^ spFactor.c:734:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 733 | static | ~~~~~~ | int 734 | CreateInternalVectors( Matrix ) | ^ spFactor.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spFactor.c:64:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | static CreateInternalVectors(); | ^ spFactor.c:823:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 822 | static | ~~~~~~ | int 823 | CountMarkowitz( Matrix, RHS, Step ) | ^ spFactor.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spFactor.c:65:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static CountMarkowitz(); | ^ spFactor.c:933:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 932 | static | ~~~~~~ | int 933 | MarkowitzProducts( Matrix, Step ) | ^ spFactor.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spFactor.c:66:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static MarkowitzProducts(); | ^ spFactor.c:1035:41: warning: passing arguments to 'SearchForSingleton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | { ChosenPivot = SearchForSingleton( Matrix, Step ); | ^ spFactor.c:1051:44: warning: passing arguments to 'QuicklySearchDiagonal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | ChosenPivot = QuicklySearchDiagonal( Matrix, Step ); | ^ spFactor.c:1061:37: warning: passing arguments to 'SearchDiagonal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | ChosenPivot = SearchDiagonal( Matrix, Step ); | ^ spFactor.c:1070:37: warning: passing arguments to 'SearchEntireMatrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | ChosenPivot = SearchEntireMatrix( Matrix, Step ); | ^ spFactor.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | SearchForPivot( Matrix, Step, DiagPivoting ) | ^ spFactor.c:67:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static ElementPtr SearchForPivot(); | ^ spFactor.c:1193:52: warning: passing arguments to 'FindBiggestInColExclude' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | FindBiggestInColExclude( Matrix, ChosenPivot, Step ) | ^ spFactor.c:1207:56: warning: passing arguments to 'FindBiggestInColExclude' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | FindBiggestInColExclude( Matrix, ChosenPivot, | ^ spFactor.c:1219:64: warning: passing arguments to 'FindBiggestInColExclude' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | FindBiggestInColExclude( Matrix, | ^ spFactor.c:1234:56: warning: passing arguments to 'FindBiggestInColExclude' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | FindBiggestInColExclude( Matrix, ChosenPivot, | ^ spFactor.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | SearchForSingleton( Matrix, Step ) | ^ spFactor.c:68:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static ElementPtr SearchForSingleton(); | ^ spFactor.c:1628:47: warning: passing arguments to 'FindBiggestInColExclude' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | { LargestInCol = FindBiggestInColExclude( Matrix, ChosenPivot, Step ); | ^ spFactor.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | QuicklySearchDiagonal( Matrix, Step ) | ^ spFactor.c:69:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | static ElementPtr QuicklySearchDiagonal(); | ^ spFactor.c:1730:47: warning: passing arguments to 'FindBiggestInColExclude' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | LargestInCol = FindBiggestInColExclude( Matrix, pDiag, Step ); | ^ spFactor.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | SearchDiagonal( Matrix, Step ) | ^ spFactor.c:70:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static ElementPtr SearchDiagonal(); | ^ spFactor.c:1849:44: warning: passing arguments to 'FindLargestInCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | if((LargestInCol = FindLargestInCol(pElement)) == 0.0) | ^ spFactor.c:1824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | SearchEntireMatrix( Matrix, Step ) | ^ spFactor.c:71:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static ElementPtr SearchEntireMatrix(); | ^ spFactor.c:1947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | FindLargestInCol( pElement ) | ^ spFactor.c:72:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static RealNumber FindLargestInCol(); | ^ spFactor.c:2013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2013 | FindBiggestInColExclude( Matrix, pElement, Step ) | ^ spFactor.c:73:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static RealNumber FindBiggestInColExclude(); | ^ spFactor.c:2090:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2089 | static | ~~~~~~ | int 2090 | ExchangeRowsAndCols( Matrix, pPivot, Step ) | ^ spFactor.c:2110:9: warning: call to undeclared function 'spcRowExchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2110 | { spcRowExchange( Matrix, Step, Row ); | ^ spFactor.c:2111:9: warning: call to undeclared function 'spcColExchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2111 | spcColExchange( Matrix, Step, Col ); | ^ spFactor.c:2125:13: warning: call to undeclared function 'spcRowExchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2125 | { spcRowExchange( Matrix, Step, Row ); | ^ spFactor.c:2142:13: warning: call to undeclared function 'spcColExchange'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2142 | { spcColExchange( Matrix, Step, Col ); | ^ spFactor.c:2156:52: warning: passing arguments to 'spcFindElementInCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2156 | Matrix->Diag[Col] = spcFindElementInCol( Matrix, | ^ spFactor.c:2161:52: warning: passing arguments to 'spcFindElementInCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | { Matrix->Diag[Row] = spcFindElementInCol( Matrix, | ^ spFactor.c:2165:49: warning: passing arguments to 'spcFindElementInCol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | Matrix->Diag[Step] = spcFindElementInCol( Matrix, | ^ spFactor.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | ExchangeRowsAndCols( Matrix, pPivot, Step ) | ^ spFactor.c:74:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static ExchangeRowsAndCols(); | ^ spFactor.c:2219:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2219 | spcRowExchange( Matrix, Row1, Row2 ) | ^ | int spFactor.c:2268:28: warning: passing arguments to 'ExchangeColElements' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2268 | ExchangeColElements( Matrix, Row1, Element1, Row2, Element2, Column); | ^ spFactor.c:2219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2219 | spcRowExchange( Matrix, Row1, Row2 ) | ^ spFactor.c:2320:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2320 | spcColExchange( Matrix, Col1, Col2 ) | ^ | int spFactor.c:2369:28: warning: passing arguments to 'ExchangeRowElements' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | ExchangeRowElements( Matrix, Col1, Element1, Col2, Element2, Row); | ^ spFactor.c:2320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2320 | spcColExchange( Matrix, Col1, Col2 ) | ^ spFactor.c:2427:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2426 | static | ~~~~~~ | int 2427 | ExchangeColElements( Matrix, Row1, Element1, Row2, Element2, Column ) | ^ spFactor.c:2427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spFactor.c:75:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | static ExchangeColElements(); | ^ spFactor.c:2569:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2568 | static | ~~~~~~ | int 2569 | ExchangeRowElements( Matrix, Col1, Element1, Col2, Element2, Row ) | ^ spFactor.c:2569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spFactor.c:76:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static ExchangeRowElements(); | ^ spFactor.c:2704:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2703 | static | ~~~~~~ | int 2704 | RealRowColElimination( Matrix, pPivot ) | ^ spFactor.c:2719:31: warning: passing arguments to 'MatrixIsSingular' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2719 | { (void)MatrixIsSingular( Matrix, pPivot->Row ); | ^ spFactor.c:2741:36: warning: passing arguments to 'CreateFillin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2741 | { pSub = CreateFillin( Matrix, Row, pUpper->Col ); | ^ spFactor.c:2704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2704 | RealRowColElimination( Matrix, pPivot ) | ^ spFactor.c:77:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | static RealRowColElimination(); | ^ spFactor.c:2793:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2792 | static | ~~~~~~ | int 2793 | ComplexRowColElimination( Matrix, pPivot ) | ^ spFactor.c:2808:31: warning: passing arguments to 'MatrixIsSingular' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2808 | { (void)MatrixIsSingular( Matrix, pPivot->Row ); | ^ spFactor.c:2831:36: warning: passing arguments to 'CreateFillin' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2831 | { pSub = CreateFillin( Matrix, Row, pUpper->Col ); | ^ spFactor.c:2793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2793 | ComplexRowColElimination( Matrix, pPivot ) | ^ spFactor.c:78:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | static ComplexRowColElimination(); | ^ spFactor.c:2877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2876 | static | ~~~~~~ | int 2877 | UpdateMarkowitzNumbers( Matrix, pPivot ) | ^ spFactor.c:2877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] spFactor.c:79:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static UpdateMarkowitzNumbers(); | ^ spFactor.c:2988:32: warning: passing arguments to 'spcCreateElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | pElement = spcCreateElement( Matrix, Row, Col, ppElementAbove, YES ); | ^ spFactor.c:2965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2965 | CreateFillin( Matrix, Row, Col ) | ^ spFactor.c:80:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static ElementPtr CreateFillin(); | ^ spFactor.c:3027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3027 | MatrixIsSingular( Matrix, Step ) | ^ spFactor.c:81:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static MatrixIsSingular(); | ^ spFactor.c:3041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3041 | ZeroPivot( Matrix, Step ) | ^ spFactor.c:82:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static ZeroPivot(); | ^ 114 warnings generated. --- readGeom.o --- readGeom.c:73:18: warning: passing arguments to 'getaline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | line = getaline(fp); | ^ readGeom.c:75:36: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | indsys->title = (char *)MattAlloc(strlen(line)+1,sizeof(char)); | ^ readGeom.c:82:20: warning: passing arguments to 'getaline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | line = getaline(fp); | ^ readGeom.c:83:5: warning: call to undeclared function 'tolowercase'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | tolowercase(line); | ^ readGeom.c:88:13: warning: call to undeclared function 'dodot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | end = dodot(line + 1, indsys); | ^ readGeom.c:91:13: warning: call to undeclared function 'addnode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | end = addnode(line,indsys, &node, NORMAL); | ^ readGeom.c:94:13: warning: call to undeclared function 'addseg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | end = addseg(line, indsys, NORMAL, &seg); /* CMS 8/21/92 normal seg */ | ^ readGeom.c:97:13: warning: call to undeclared function 'addgroundplane'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | end = addgroundplane(line,indsys, &plane); | ^ readGeom.c:100:13: warning: call to undeclared function 'nothing'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | end = nothing(line); | ^ readGeom.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 readGeom(fp, indsys) | ^ readGeom.c:115:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 115 | dodot(line,indsys) | ^ | int readGeom.c:122:11: warning: call to undeclared function 'changeunits'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | end = changeunits(line, indsys); | ^ readGeom.c:124:11: warning: call to undeclared function 'addexternal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | end = addexternal(line, indsys); | ^ readGeom.c:126:11: warning: call to undeclared function 'choosefreqs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | end = choosefreqs(line, indsys); | ^ readGeom.c:128:11: warning: call to undeclared function 'equivnodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | end = equivnodes(line, indsys); | ^ readGeom.c:130:11: warning: call to undeclared function 'dodefault'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | end = dodefault(line, indsys); | ^ readGeom.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | dodot(line,indsys) | ^ readGeom.c:140:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | changeunits(line, indsys) | ^ | int readGeom.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] readGeom.c:176:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 176 | addexternal(line, indsys) | ^ | int readGeom.c:209:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | templine = (char *)MattAlloc(100,sizeof(char)); /* CMS 9/4/92 */ | ^ readGeom.c:230:33: warning: passing arguments to 'get_node_from_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | node[i] = get_node_from_name(name, indsys); | ^ readGeom.c:237:26: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | node[i] = getrealnode(node[i]); | ^ readGeom.c:247:40: warning: passing arguments to 'get_external_from_portname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | if ((ext = get_external_from_portname(portname,indsys)) != NULL) { | ^ readGeom.c:256:9: warning: call to undeclared function 'is_gp_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | if (is_gp_node(node[0])) | ^ readGeom.c:261:28: warning: passing arguments to 'make_pseudo_seg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | Vsource = make_pseudo_seg(node[0], node[1], EXTERNTYPE); | ^ readGeom.c:268:41: warning: passing arguments to 'make_external' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | = add_to_external_list(make_external(Vsource, indsys->num_extern, names[0], | ^ readGeom.c:268:27: warning: passing arguments to 'add_to_external_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | = add_to_external_list(make_external(Vsource, indsys->num_extern, names[0], | ^ readGeom.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 | addexternal(line, indsys) | ^ readGeom.c:276:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 276 | choosefreqs(line, indsys) | ^ | int readGeom.c:291:9: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | while(notblankline(line)) { | ^ readGeom.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | choosefreqs(line, indsys) | ^ readGeom.c:337:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 337 | old_equivnodes(line, indsys) | ^ | int readGeom.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] readGeom.c:392:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 392 | dodefault(line) | ^ | int readGeom.c:405:9: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | while(notblankline(line)) { | ^ readGeom.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | dodefault(line) | ^ readGeom.c:477:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | addnode(line,indsys,retnode, type) | ^ | int readGeom.c:495:11: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | while(notblankline(line)) { | ^ readGeom.c:543:25: warning: passing arguments to 'get_node_from_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | if (get_node_from_name(name, indsys) != NULL) { | ^ readGeom.c:548:18: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | node = makenode(name, indsys->num_nodes, nodex, nodey, nodez, type, indsys); | ^ readGeom.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | addnode(line,indsys,retnode, type) | ^ readGeom.c:574:28: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | node = (NODES *)MattAlloc(1, sizeof(NODES)); | ^ readGeom.c:575:33: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | node->name = (char *)MattAlloc( (strlen(name) + 1), sizeof(char)); | ^ readGeom.c:595:7: warning: call to undeclared function 'is_gp_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | if (is_gp_node(node)) | ^ readGeom.c:565:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | NODES *makenode(name, number, x, y, z, type, indsys) | ^ readGeom.c:616:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 616 | addseg(line, indsys, type, retseg) | ^ | int readGeom.c:657:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | segname = (char *)MattAlloc( (strlen(name) + 1), sizeof(char)); | ^ readGeom.c:666:31: warning: passing arguments to 'get_node_from_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | anode = get_node_from_name(name, indsys); | ^ readGeom.c:677:11: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | while(notblankline(line)) { | ^ readGeom.c:717:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | widthdir = (double *)MattAlloc(3,sizeof(double)); | ^ readGeom.c:724:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | widthdir = (double *)MattAlloc(3,sizeof(double)); | ^ readGeom.c:731:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | widthdir = (double *)MattAlloc(3,sizeof(double)); | ^ readGeom.c:857:7: warning: call to undeclared function 'is_normal'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 857 | if (is_normal(node[0]) != TRUE || is_normal(node[1]) != TRUE) { | ^ readGeom.c:864:16: warning: passing arguments to 'makeseg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | seg = makeseg(segname, node[0], node[1], height, width, sigma, | ^ readGeom.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | addseg(line, indsys, type, retseg) | ^ readGeom.c:911:29: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | seg = (SEGMENT *)MattAlloc(1, sizeof(SEGMENT)); | ^ readGeom.c:913:32: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | seg->name = (char *)MattAlloc(strlen(name) + 1, sizeof(char)); | ^ readGeom.c:930:3: warning: call to undeclared function 'add_to_connected_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 930 | add_to_connected_segs(node0, seg, NULL); | ^ readGeom.c:887:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | SEGMENT *makeseg(name, node0, node1, height, width, sigma, | ^ In file included from readGeom.c:8: ./induct.h:601:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 601 | SEGMENT *makeseg(); | ^ readGeom.c:982:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 982 | addgroundplane(line, indsys, retplane) | ^ | int readGeom.c:1043:35: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | grndp = (GROUNDPLANE *)MattAlloc(1, sizeof(GROUNDPLANE)); | ^ readGeom.c:1057:40: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | coordinate_string = (char *)MattAlloc(1000, sizeof(char)); | ^ readGeom.c:1068:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | grndp->name = (char *)MattAlloc(strlen(name) + 1, sizeof(char)); | ^ readGeom.c:1073:9: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1073 | while(notblankline(line)){ | ^ readGeom.c:1177:42: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | grndp->filename = (char *)MattAlloc(strlen(filename) + 1, sizeof(char)); | ^ readGeom.c:1182:14: warning: call to undeclared function 'is_next_word'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1182 | else if (is_next_word("hole",line) == TRUE) { | ^ readGeom.c:1183:36: warning: passing arguments to 'make_holelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | list_of_holes = make_holelist(list_of_holes, line, | ^ readGeom.c:1188:42: warning: passing arguments to 'make_contactlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | list_of_contacts = make_contactlist(list_of_contacts, line, | ^ readGeom.c:1197:37: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | list_of_nodes = (NODELIST *)Gmalloc(1* sizeof(NODELIST)); | ^ readGeom.c:1198:39: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | list_of_nodes->name = (char *)Gmalloc( (strlen(nodename) + 1)* sizeof(char)); | ^ readGeom.c:1202:41: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | listpointer->next = (NODELIST *)Gmalloc(1* sizeof(NODELIST)); | ^ readGeom.c:1204:37: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | listpointer->name = (char *)Gmalloc( (strlen(nodename) + 1)* sizeof(char)); | ^ readGeom.c:1228:20: warning: passing arguments to 'make_nodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | make_nodelist(listpointer, nodename, dumbx*units, dumby*units, dumbz*units); | ^ readGeom.c:1312:30: warning: passing arguments to 'checkmiddlepoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | checksum = checkmiddlepoint(xt, yt, zt, o1, o2, mid); | ^ readGeom.c:1326:23: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | grndp->length1 = mag(xt[o1] - xt[mid], yt[o1] - yt[mid], zt[o1] - zt[mid]); | ^ readGeom.c:1329:23: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | grndp->length2 = mag(xt[o2] - xt[mid], yt[o2] - yt[mid], zt[o2] - zt[mid]); | ^ readGeom.c:1339:32: warning: passing arguments to 'findsegmentwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | segfull1 = findsegmentwidth(xt, yt, zt, mid, o2, o1, tseg2); | ^ readGeom.c:1340:32: warning: passing arguments to 'findsegmentwidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | segfull2 = findsegmentwidth(xt, yt, zt, mid, o1, o2, tseg1); | ^ readGeom.c:1376:33: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | templine = (char *)MattAlloc(dumbi + 1, sizeof(char)); | ^ readGeom.c:1377:43: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | grndp->pnodes = (NODES ***)MatrixAlloc(nodes1, nodes2, sizeof(NODES *)); | ^ readGeom.c:1378:44: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | grndp->segs1 = (SEGMENT ***)MatrixAlloc(tseg1, nodes2, sizeof(SEGMENT *)); | ^ readGeom.c:1379:44: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | grndp->segs2 = (SEGMENT ***)MatrixAlloc(nodes1, tseg2, sizeof(SEGMENT *)); | ^ readGeom.c:1382:5: warning: call to undeclared function 'doincrement'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1382 | doincrement(xt[o1], yt[o1], zt[o1], xinit, yinit, zinit, tseg1, &dx1, &dy1, &dz1); | ^ readGeom.c:1385:20: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | grndp->d1 = mag(dx1, dy1, dz1); | ^ readGeom.c:1386:20: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | grndp->d2 = mag(dx2, dy2, dz2); | ^ readGeom.c:1393:26: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | grndp->unitdiag = mag(dx1+dx2,dy1+dy2, dz1+dz2); | ^ readGeom.c:1402:35: warning: passing arguments to 'checkplaneformula' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | checksum = checkplaneformula(xt, yt, zt, x, y, z, mid, o1, o2); | ^ readGeom.c:1430:30: warning: passing arguments to 'checkplaneformula' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | checksum = checkplaneformula(xt, yt, zt, x, y, z, mid, o1, o2); | ^ readGeom.c:1437:7: warning: call to undeclared function 'make_holes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1437 | make_holes(holep, grndp); | ^ readGeom.c:1446:17: warning: passing arguments to 'dounitvector' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | dounitvector(xinit, yinit, zinit, xt[o2] , yt[o2], zt[o2], &wx, &wy, &wz); | ^ readGeom.c:1453:7: warning: call to undeclared function 'is_hole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1453 | if (!is_hole(grndp->pnodes[j][i]) && !is_hole(grndp->pnodes[j+1][i])) { | ^ readGeom.c:1454:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | widthdir = (double *)MattAlloc(3, sizeof(double)); | ^ readGeom.c:1476:17: warning: passing arguments to 'dounitvector' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1476 | dounitvector(xt[o1], yt[o1], zt[o1], xinit, yinit, zinit, &wx, &wy, &wz); | ^ readGeom.c:1483:7: warning: call to undeclared function 'is_hole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1483 | if (!is_hole(grndp->pnodes[j][i]) && !is_hole(grndp->pnodes[j][i+1])) { | ^ readGeom.c:1484:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | widthdir = (double *)MattAlloc(3, sizeof(double)); | ^ readGeom.c:1508:9: warning: call to undeclared function 'process_plane'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1508 | if (process_plane(grndp, nonuni_fp, indsys) != 0) | ^ readGeom.c:1511:33: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | templine = (char *)MattAlloc(100, sizeof(char)); | ^ readGeom.c:1523:12: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1523 | if (!is_nonuni_gp(grndp)) { | ^ readGeom.c:1524:32: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | tempnode = find_nearest_gpnode(listpointer->x + relx, | ^ readGeom.c:1531:37: warning: passing arguments to 'get_or_make_nearest_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | tempnode = get_or_make_nearest_node(templine, indsys->num_nodes, | ^ readGeom.c:1537:11: warning: call to undeclared function 'is_hole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1537 | if (is_hole(tempnode)) { | ^ readGeom.c:1543:7: warning: call to undeclared function 'append_pnlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1543 | append_pnlist(create_pn(listpointer->name, tempnode), indsys); | ^ readGeom.c:1543:30: warning: passing arguments to 'create_pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | append_pnlist(create_pn(listpointer->name, tempnode), indsys); | ^ readGeom.c:1544:11: warning: call to undeclared function 'is_node_in_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1544 | if (is_node_in_list(tempnode, grndp->usernodes) == 1) { | ^ readGeom.c:1555:52: warning: passing arguments to 'get_perimeter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | listpointer->name, get_perimeter(tempnode->gp_node)); | ^ readGeom.c:1560:24: warning: passing arguments to 'make_new_fake_segs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | = make_new_fake_segs(tempnode, grndp->usernodes, grndp->fake_seg_list); | ^ readGeom.c:1561:37: warning: passing arguments to 'add_node_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | grndp->usernodes = add_node_to_list(tempnode, grndp->usernodes); | ^ readGeom.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | addgroundplane(line, indsys, retplane) | ^ readGeom.c:1647:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1647 | nothing(line) | ^ | int readGeom.c:1647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] readGeom.c:1671:20: warning: passing arguments to 'getoneline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | line = getoneline(fp); | ^ readGeom.c:1680:26: warning: passing arguments to 'plusline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | while( (line = plusline(fp)) != NULL) { | ^ readGeom.c:1657:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | char *getaline(fp) | ^ readGeom.c:38:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | char *getaline(); | ^ readGeom.c:1704:23: warning: passing arguments to 'getoneline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | tmpline = getoneline(fp); | ^ readGeom.c:1707:25: warning: passing arguments to 'getoneline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | tmpline = getoneline(fp); | ^ readGeom.c:1716:5: warning: call to undeclared function 'savealine'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1716 | savealine(tmpline); | ^ readGeom.c:1699:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | char *plusline(fp) | ^ readGeom.c:1737:33: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1737 | } while(retchar != NULL && !notblankline(line)); | ^ readGeom.c:1724:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | char *getoneline(fp) | ^ readGeom.c:1748:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1748 | savealine(line) | ^ | int readGeom.c:1748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] readGeom.c:1757:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1757 | } | ^ readGeom.c:1759:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | int notblankline(string) | ^ readGeom.c:1769:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1769 | tolowercase(line) | ^ | int readGeom.c:1769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] readGeom.c:1776:1: warning: non-void function does not return a value [-Wreturn-type] 1776 | } | ^ readGeom.c:1778:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1778 | is_nonuni_gp(gp) | ^ | int readGeom.c:1778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 warnings generated. --- gmres.o --- gmres.c:34:5: warning: call to undeclared function 'cx_invert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | cx_invert(diagBlock, startrows[i+1] - startrows[i]); | ^ gmres.c:37:5: warning: call to undeclared function 'matMultVect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | matMultVect(diagBlock, rhs, vect, startrows[i+1] - startrows[i]); | ^ gmres.c:42:5: warning: call to undeclared function 'matMult'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | matMult(diagBlock, &(mat[startrows[i]]),startrows[i+1] - startrows[i], | ^ gmres.c:18:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | int blockPrecond(mat, rhs, size, vect, pvect, numblocks, startrows) | ^ gmres.c:49:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 49 | } | ^ gmres.c:55:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 55 | cx_invert(mat, size) | ^ | int gmres.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:83:1: warning: non-void function does not return a value [-Wreturn-type] 83 | } | ^ gmres.c:88:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 88 | matMult(mat1, mat2, rows1, firstcol, lastcol, vtemp) | ^ | int gmres.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:106:1: warning: non-void function does not return a value [-Wreturn-type] 106 | } | ^ gmres.c:112:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 112 | matMultVect(mat1, svect, dvect, rows) | ^ | int gmres.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:128:1: warning: non-void function does not return a value [-Wreturn-type] 128 | } | ^ gmres.c:161:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | c = (CX *) MattAlloc(maxiters+1, sizeof(CX)); | ^ gmres.c:162:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | s = (CX *) MattAlloc(maxiters+1, sizeof(CX)); | ^ gmres.c:163:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | g = (CX *) MattAlloc(maxiters+1, sizeof(CX)); | ^ gmres.c:164:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | y = (CX *) MattAlloc(maxiters+1, sizeof(CX)); | ^ gmres.c:166:26: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | Rw = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:167:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | x = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:168:29: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | xlast = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:169:27: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | APw = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:170:26: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | Pw = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:171:29: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | temp1 = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:174:27: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | bh = (CX **) MattAlloc(maxiters+1, sizeof(CX*)); | ^ gmres.c:176:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | bh[i] = (CX *) MattAlloc(maxiters+1, sizeof(CX)); | ^ gmres.c:180:27: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | bv = (CX **) MattAlloc(maxiters + 1, sizeof(CX*)); | ^ gmres.c:182:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | bv[i] = (CX *) MattAlloc(size, sizeof(CX)); | ^ gmres.c:190:9: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | matvec(Rw, sys, x0, size, chglist, w, R, indsys); | ^ gmres.c:191:3: warning: call to undeclared function 'sub_3'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | sub_3(Rw, b, Rw, size); | ^ gmres.c:198:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | rnorm = cx_abs(inner(Rw, Rw, size)); | ^ gmres.c:198:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:198:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:198:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:204:3: warning: call to undeclared function 'set_scalar_mult_2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | set_scalar_mult_2(Pw, Rw, 1./rnorm, size); | ^ gmres.c:218:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | matvec(APw, sys, Pw, size, chglist, w, R, indsys); | ^ gmres.c:225:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | hi = inner(Pw, bv[j], size); /* modified gram-schmidt */ | ^ gmres.c:226:7: warning: call to undeclared function 'sub_cx_mult_2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | sub_cx_mult_2(Pw, bv[j], hi, size); /* vhat_k+1 = vhat_k+1 - h_jk*v_j */ | ^ gmres.c:230:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | norm = cx_abs(inner(Pw, Pw, size)); /* norm = norm(vhat_k+1) */ | ^ gmres.c:230:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:230:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:230:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:233:7: warning: call to undeclared function 'set_scalar_mult_1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | set_scalar_mult_1(Pw, 1./norm, size); /* Pw = vhat_k+1/norm */ | ^ gmres.c:314:5: warning: call to undeclared function 'calc_other_norm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | calc_other_norm(x, xlast, size, indsys->opts->abs_tol, | ^ gmres.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | gmres(A, b, x0, inner, matvec, size, maxiters, tol, sys, chglist, w, R, indsys, | ^ In file included from gmres.c:3: ./induct.h:645: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] 645 | extern int gmres(); | ^ gmres.c:388:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 388 | sub_3(z,x,y,size) | ^ | int gmres.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:400:1: warning: non-void function does not return a value [-Wreturn-type] 400 | } | ^ gmres.c:403:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 403 | set_scalar_mult_1(x,alpha,size) | ^ | int gmres.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:415:1: warning: non-void function does not return a value [-Wreturn-type] 415 | } | ^ gmres.c:418:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 418 | set_scalar_mult_2(x,y,alpha,size) | ^ | int gmres.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:430:1: warning: non-void function does not return a value [-Wreturn-type] 430 | } | ^ gmres.c:433:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 433 | add_scalar_mult_2(x,y,alpha,size) | ^ | int gmres.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:445:1: warning: non-void function does not return a value [-Wreturn-type] 445 | } | ^ gmres.c:448:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 448 | add_cx_mult_2(x,y,alpha,size) | ^ | int gmres.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:463:1: warning: non-void function does not return a value [-Wreturn-type] 463 | } | ^ gmres.c:465:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 465 | sub_cx_mult_2(x,y,alpha,size) | ^ | int gmres.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:480:1: warning: non-void function does not return a value [-Wreturn-type] 480 | } | ^ gmres.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | inner(x, y, size) | ^ In file included from gmres.c:3: ./induct.h:648:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 648 | extern CX inner(); | ^ gmres.c:548:24: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | veryoldmatvec(y, A, x, size) | ^ 549 | CX *x, *y; 550 | CX **A; 551 | { gmres.c:548:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 548 | veryoldmatvec(y, A, x, size) | ^ | int gmres.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:562:1: warning: non-void function does not return a value [-Wreturn-type] 562 | } | ^ gmres.c:564:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 564 | disMat(A, size) | ^ | int gmres.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:577:1: warning: non-void function does not return a value [-Wreturn-type] 577 | } | ^ gmres.c:581:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 581 | multvec2(A, x, y, startrows, numblocks) | ^ | int gmres.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:598:1: warning: non-void function does not return a value [-Wreturn-type] 598 | } | ^ gmres.c:602:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 602 | directmatvec(Vs, sys, Im, size, chglist, w, R, indsys) | ^ | int gmres.c:614:5: warning: call to undeclared function 'multPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 614 | multPrecond(indsys->Precond, Im, Vs, size); | ^ gmres.c:619:5: warning: call to undeclared function 'spSolve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 619 | spSolve(indsys->sparMatrix, Im, Im); | ^ gmres.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | directmatvec(Vs, sys, Im, size, chglist, w, R, indsys) | ^ In file included from gmres.c:3: ./induct.h:647: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] 647 | extern int directmatvec(); | ^ gmres.c:622:1: warning: non-void function does not return a value [-Wreturn-type] 622 | } | ^ gmres.c:624:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 624 | calc_other_norm(x, xlast, size, abs_tol, r_real, r_imag, max_real, max_imag) | ^ | int gmres.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] gmres.c:659:1: warning: non-void function does not return a value [-Wreturn-type] 659 | } | ^ 85 warnings generated. --- cx_ludecomp.o --- cx_ludecomp.c:20:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | MALLOC(mat, size, CX*, ON, IND); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ cx_ludecomp.c:22:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | MALLOC(mat[i], size, CX, ON, IND); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ cx_ludecomp.c:9:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | CX **cx_ludecomp(matin, size, allocate) | ^ cx_ludecomp.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void cx_lu_solve(mat, x, b, size) | ^ 4 warnings generated. --- zbuf --- --- fasthenry --- --- sparse/sparse.a --- --- spFortran.o --- --- dist_betw_fils.o --- dist_betw_fils.c:37:3: warning: call to undeclared function 'getD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | getD(fil1, D1); | ^ dist_betw_fils.c:40:15: warning: passing arguments to 'vdotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | D1D1 = vdotp(D1,D1); | ^ dist_betw_fils.c:41:15: warning: passing arguments to 'vdotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | D1D2 = vdotp(D1,D2); | ^ dist_betw_fils.c:42:15: warning: passing arguments to 'vdotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | D2D2 = vdotp(D2,D2); | ^ --- mutual.o --- mutual.c:8:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 8 | extern double asinh(); | ^ mutual.c:9:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 9 | extern double atanh(); | ^ mutual.c:41:24: warning: passing arguments to 'dist_betw_fils' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | dist = dist_betw_fils(fil_j, fil_m, ¶llel); | ^ mutual.c:51:23: warning: passing arguments to 'mutualfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- newPrecond.o --- newPrecond.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | choose_and_setup_precond(indsys) | ^ | int newPrecond.c:56:5: warning: call to undeclared function 'create_sparMatrix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | create_sparMatrix(indsys); | ^ newPrecond.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | choose_and_setup_precond(indsys) | ^ newPrecond.c:59:1: warning: non-void function does not return a value [-Wreturn-type] 59 | } | ^ newPrecond.c:61:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 61 | get_selfs(indsys) | ^ | int --- dist_betw_fils.o --- dist_betw_fils.c:43:17: warning: passing arguments to 'vdotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | D1s1s2 = vdotp(D1,s1ms2); | ^ dist_betw_fils.c:44:17: warning: passing arguments to 'vdotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | D2s1s2 = vdotp(D2,s1ms2); | ^ dist_betw_fils.c:51:25: warning: passing arguments to 'min_endpt_sep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | return min_endpt_sep(fil1,fil2); | ^ dist_betw_fils.c:61:7: warning: call to undeclared function 'getr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | getr(&x1,&y1,&z1,s1,t1,D1); | ^ --- mutual.o --- 51 | totalM = mutualfil(fil_j, fil_m); | ^ mutual.c:54:7: warning: call to undeclared function 'print_infinity_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | print_infinity_warning(fil_j, fil_m); | ^ mutual.c:65:7: warning: call to undeclared function 'get_wid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | get_wid(fil_j, widj); | ^ mutual.c:66:7: warning: call to undeclared function 'get_height'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | get_height(fil_j, widj, heightj); | ^ mutual.c:69:22: warning: passing arguments to 'vdotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if ( fabs(vdotp(fil_j->lenvect,fil_m->lenvect)) | ^ --- newPrecond.o --- newPrecond.c:74:33: warning: passing arguments to 'selfterm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | diagL[filnum_j] = selfterm(fil_j); | ^ newPrecond.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 | get_selfs(indsys) | ^ newPrecond.c:83:1: warning: non-void function does not return a value [-Wreturn-type] 83 | } | ^ newPrecond.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | fill_spPre(sys, indsys, w) | ^ | int newPrecond.c:103:5: warning: call to undeclared function 'fill_diagL'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | fill_diagL(sys, indsys, w); | ^ --- dist_betw_fils.o --- dist_betw_fils.c:63:26: warning: passing arguments to 'dist_between' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | return dist_between(x1,y1,z1,x2,y2,z2); | ^ dist_betw_fils.c:67:34: warning: passing arguments to 'dist_betw_pt_and_fil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | return dist_betw_pt_and_fil(fil1, D1, s1, D1D1, fil2,t2); | ^ dist_betw_fils.c:72:34: warning: passing arguments to 'dist_betw_pt_and_fil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | return dist_betw_pt_and_fil(fil2, D2, s2, D2D2, fil1,t1); | ^ --- mutual.o --- mutual.c:77:21: warning: call to undeclared function 'edges_parallel'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | && edges_parallel(fil_j,fil_m,widj,&whperp); | ^ mutual.c:79:11: warning: call to undeclared function 'lookup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | if (lookup(fil_j, fil_m, whperp, widj, heightj, | ^ mutual.c:89:29: warning: passing arguments to 'parallel_fils' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | totalM = parallel_fils(fil_j, fil_m, whperp, widj, heightj, dist); | ^ mutual.c:91:7: warning: call to undeclared function 'put_in_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- newPrecond.o --- newPrecond.c:133:5: warning: call to undeclared function 'indPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 133 | indPrecond(sys, indsys, w); | ^ newPrecond.c:135:5: warning: call to undeclared function 'fill_bySegment'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 135 | fill_bySegment(sys, indsys, w); | ^ newPrecond.c:142:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 142 | concat4(outfname,"Pre",indsys->opts->suffix,".mat"); | ^ newPrecond.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | fill_spPre(sys, indsys, w) | ^ newPrecond.c:147:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 147 | } --- dist_betw_fils.o --- dist_betw_fils.c:76:27: warning: passing arguments to 'min_endpt_sep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | return min_endpt_sep(fil1,fil2); | ^ dist_betw_fils.c:16:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | double dist_betw_fils(fil1, fil2, parallel) | ^ In file included from dist_betw_fils.c:3: ./induct.h:619: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] 619 | double dist_betw_fils(); | ^ dist_betw_fils.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | getD(fil, D) | ^ | int --- mutual.o --- 91 | put_in_table(fil_j, fil_m, whperp, totalM, dims, dim_count, lastptr, | ^ mutual.c:96:2: warning: call to undeclared function 'print_infinity_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | print_infinity_warning(fil_j, fil_m); | ^ mutual.c:104:23: warning: passing arguments to 'fourfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | totalM = fourfil(fil_j, fil_m); | ^ mutual.c:106:21: warning: call to undeclared function 'put_in_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | if (edge_par) put_in_table(fil_j, fil_m, whperp, totalM, | ^ --- newPrecond.o --- | ^ newPrecond.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | create_sparMatrix(indsys) | ^ | int newPrecond.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] newPrecond.c:169:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 169 | } | ^ newPrecond.c:171:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 171 | fill_bySegment(sys, indsys, w) | ^ | int newPrecond.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] newPrecond.c:303:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 303 | } | ^ --- dist_betw_fils.o --- dist_betw_fils.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dist_betw_fils.c:88:1: warning: non-void function does not return a value [-Wreturn-type] 88 | } | ^ dist_betw_fils.c:90:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 90 | getr(x,y,z,s,t,D) | ^ | int dist_betw_fils.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dist_betw_fils.c:97:1: warning: non-void function does not return a value [-Wreturn-type] 97 | } | ^ dist_betw_fils.c:99:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | double vdotp(v1, v2) | ^ In file included from dist_betw_fils.c:3: --- mutual.o --- mutual.c:111:2: warning: call to undeclared function 'print_infinity_warning'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | print_infinity_warning(fil_j, fil_m); | ^ mutual.c:23:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | double mutual(fil_j, fil_m) | ^ In file included from mutual.c:4: ./induct.h:639: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] 639 | double mutual(); | ^ mutual.c:139:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 139 | print_infinity_warning(fil1, fil2) | ^ | int --- newPrecond.o --- newPrecond.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | fill_diagL(sys, indsys, w) | ^ | int newPrecond.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] newPrecond.c:378:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 378 | } | ^ newPrecond.c:390:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 390 | fill_diagR(indsys) | ^ | int newPrecond.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] newPrecond.c:417:1: warning: non-void function does not return a value [-Wreturn-type] 417 | } | ^ --- dist_betw_fils.o --- ./induct.h:560: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] 560 | double vdotp(); | ^ dist_betw_fils.c:105:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | double dist_between(x1,y1,z1,x2,y2,z2) | ^ dist_betw_fils.c:8: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] 8 | double dist_between(); | ^ dist_betw_fils.c:112:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | double min_endpt_sep(fil1,fil2) | ^ --- mutual.o --- mutual.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mutual.c:155:1: warning: non-void function does not return a value [-Wreturn-type] 155 | } | ^ mutual.c:157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 157 | findfourfils(fil, subfils) | ^ | int mutual.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mutual.c:214:1: warning: non-void function does not return a value [-Wreturn-type] 214 | } | ^ mutual.c:227:23: warning: passing arguments to 'self' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | joelself = MU0*self(fil->width, fil->length, fil->height); | ^ --- newPrecond.o --- newPrecond.c:431:17: warning: passing arguments to 'dotprod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | return dotprod(fil_i, fil_j)*MUOVER4PI/(sys->length*radius_factor); | ^ newPrecond.c:424:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | double shift_mutual(fil_i, fil_j, sys) | ^ In file included from newPrecond.c:3: ./induct.h:666: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] 666 | double shift_mutual(); | ^ 30 warnings generated. --- dist_betw_fils.o --- dist_betw_fils.c:9: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] 9 | double min_endpt_sep(); | ^ dist_betw_fils.c:147:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | double dist_betw_pt_and_fil(fil_line, D, s, DD, fil,t) | ^ dist_betw_fils.c:10: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] 10 | double dist_betw_pt_and_fil(); | ^ dist_betw_fils.c:196:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | double aspectratio(fil) --- mutual.o --- mutual.c:219:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | double selfterm(fil) | ^ In file included from mutual.c:4: ./induct.h:638: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] 638 | double selfterm(); | ^ mutual.c:255:18: warning: passing arguments to 'magdiff2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | R1sq = magdiff2(fil1,1,fil2,1); | ^ mutual.c:256:18: warning: passing arguments to 'magdiff2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | R2sq = magdiff2(fil1,1,fil2,0); | ^ --- dist_betw_fils.o --- | ^ In file included from dist_betw_fils.c:3: ./induct.h:620: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] 620 | double aspectratio(); | ^ dist_betw_fils.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | fill_Gquad() | ^ | int dist_betw_fils.c:212:33: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | Gweight = (double **)MattAlloc(MAXsubfils+1, sizeof(double *)); | ^ dist_betw_fils.c:213:32: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- mutual.o --- mutual.c:257:18: warning: passing arguments to 'magdiff2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | R3sq = magdiff2(fil1,0,fil2,0); | ^ mutual.c:258:18: warning: passing arguments to 'magdiff2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | R4sq = magdiff2(fil1,0,fil2,1); | ^ mutual.c:305:31: warning: passing arguments to 'dotprod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | M = MUOVER4PI*2*(dotprod(fil1,fil2)/(l*m)) | ^ mutual.c:317:20: warning: passing arguments to 'dotprod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | realcos = dotprod(fil1, fil2)/(l*m); | ^ --- dist_betw_fils.o --- 213 | Gpoint = (double **)MattAlloc(MAXsubfils+1, sizeof(double *)); | ^ dist_betw_fils.c:216:37: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | Gweight[i] = (double *)MattAlloc(i, sizeof(double)); | ^ dist_betw_fils.c:217:36: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | Gpoint[i] = (double *)MattAlloc(i, sizeof(double)); | ^ dist_betw_fils.c:225:5: warning: call to undeclared function 'gquad_weights'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | gquad_weights(i,Gpoint[i] - 1, Gweight[i] - 1); | ^ --- mutual.o --- mutual.c:422:28: warning: passing arguments to 'mut_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | M = MUOVER4PI*(mut_rect(x2_1 - x1_1,d) - mut_rect(x2_1 - x1_0,d) | ^ mutual.c:422:54: warning: passing arguments to 'mut_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | M = MUOVER4PI*(mut_rect(x2_1 - x1_1,d) - mut_rect(x2_1 - x1_0,d) | ^ mutual.c:423:14: warning: passing arguments to 'mut_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | - mut_rect(x2_0 - x1_1,d) + mut_rect(x2_0 - x1_0,d) ); | ^ --- dist_betw_fils.o --- dist_betw_fils.c:226:1: warning: non-void function does not return a value [-Wreturn-type] 226 | } | ^ dist_betw_fils.c:228:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 228 | findnfils(fil, subfils, nfils) | ^ | int dist_betw_fils.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dist_betw_fils.c:285:1: warning: non-void function does not return a value [-Wreturn-type] 285 | } | ^ dist_betw_fils.c:309:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 309 | gquad_weights(N,p,w) | ^ | int dist_betw_fils.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- mutual.o --- mutual.c:423:40: warning: passing arguments to 'mut_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | - mut_rect(x2_0 - x1_1,d) + mut_rect(x2_0 - x1_0,d) ); | ^ mutual.c:235:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | double mutualfil(fil1, fil2) | ^ In file included from mutual.c:4: ./induct.h:640: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] 640 | double mutualfil(); | ^ mutual.c:487:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dist_betw_fils.o --- dist_betw_fils.c:504:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 504 | } | ^ 43 warnings generated. --- mutual.o --- 487 | double magdiff2(fil1, node1, fil2, node2) | ^ In file included from mutual.c:4: ./induct.h:643: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] 643 | double magdiff2(); | ^ mutual.c:500:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | double mut_rect(len, d) | ^ In file included from mutual.c:4: ./induct.h:644: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] 644 | double mut_rect(); | ^ mutual.c:512:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | double dotprod(fil1, fil2) | ^ In file included from mutual.c:4: ./induct.h:561: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] 561 | double dotprod(); | ^ mutual.c:520:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | double fourfil(fil_j, fil_m) | ^ In file included from mutual.c:4: ./induct.h:651: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] 651 | double fourfil(); | ^ mutual.c:556:11: warning: call to undeclared function 'find_deg_dims'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | deg_j = find_deg_dims(fil_j); | ^ mutual.c:563:24: warning: passing arguments to 'exact_mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | return exact_mutual(fil_j, fil_m, whperp, x_j, y_j, deg_j, deg_m); | ^ mutual.c:572:34: warning: passing arguments to 'compute_for_degenerate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | return compute_for_degenerate(fil_j, fil_m, whperp, x_j, y_j, | ^ mutual.c:547:8: 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 parallel_fils(fil_j, fil_m, whperp, x_j, y_j, dist) | ^ In file included from mutual.c:4: ./induct.h:654: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] 654 | double parallel_fils(); | ^ 52 warnings generated. --- mulGlobal.o --- --- dist_betw_fils.o --- --- gmres.o --- --- joelself.o --- joelself.c:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | double asinh(), atan(), sqrt(); | ^ joelself.c:21:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | double asinh(), atan(), sqrt(); | ^ joelself.c:21:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 21 | double asinh(), atan(), sqrt(); | ^ joelself.c:16:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | double self(W,L,T) | ^ joelself.c:49:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 49 | edges_parallel(fil_j, fil_m, wid1, whperp) | ^ | int joelself.c:71:7: warning: call to undeclared function 'get_wid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | get_wid(fil_m, wid2); | ^ joelself.c:74:13: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | mj = mag(wid_j[XX],wid_j[YY],wid_j[ZZ]); | ^ joelself.c:75:13: warning: passing arguments to 'mag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | mm = mag(wid_m[XX],wid_m[YY],wid_m[ZZ]); | ^ joelself.c:76:16: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | prod = dotp(wid_j[XX],wid_j[YY],wid_j[ZZ],wid_m[XX],wid_m[YY],wid_m[ZZ]) | ^ joelself.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | edges_parallel(fil_j, fil_m, wid1, whperp) | ^ joelself.c:92:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 92 | get_wid(fil, wid) | ^ | int joelself.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] joelself.c:124:1: warning: non-void function does not return a value [-Wreturn-type] 124 | } | ^ joelself.c:127:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | get_height(fil, wid, height) | ^ | int joelself.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] joelself.c:147:1: warning: non-void function does not return a value [-Wreturn-type] 147 | } | ^ joelself.c:206:11: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | E = dotp(x_j[XX], x_j[YY], x_j[ZZ], endx, endy, endz) - d/2; | ^ joelself.c:208:11: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | P = dotp(y_j[XX], y_j[YY], y_j[ZZ], endx, endy, endz) - c/2; | ^ joelself.c:210:12: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | l3 = dotp(z_j[XX], z_j[YY], z_j[ZZ], endx, endy, endz); | ^ joelself.c:211:14: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | l3_1 = dotp(z_j[XX], z_j[YY], z_j[ZZ],fil_m->x[1] - ox, fil_m->y[1] - oy, | ^ joelself.c:250:21: warning: passing arguments to 'fourfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | totalM = fourfil(fil_j, fil_m)/(sign*MUOVER4PI); | ^ joelself.c:254:25: warning: passing arguments to 'tape_to_fil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | totalM = tape_to_fil(E + d/2, a, P - b/2 + c/2,l3,l1,l2) / a; | ^ joelself.c:258:31: warning: passing arguments to 'flat_to_flat_tape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | totalM = flat_to_flat_tape(E,a,d,P - b/2 + c/2 ,l3,l1,l2) / (a * d); | ^ joelself.c:262:33: warning: passing arguments to 'flat_to_skinny_tape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | totalM = flat_to_skinny_tape(E + d/2,a,P - b/2 ,c,l3,l1,l2) / (a * c); | ^ joelself.c:265:26: warning: passing arguments to 'brick_to_fil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | totalM = brick_to_fil(E + d/2,a,P + c/2,b,l3,l1,l2) / (a * b); | ^ joelself.c:270:21: warning: passing arguments to 'fourfil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | totalM = fourfil(fil_j, fil_m)/(sign*MUOVER4PI); | ^ joelself.c:275:28: warning: passing arguments to 'brick_to_brick' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | totalM = brick_to_brick(E,a,d,P,b,c,l3,l1,l2)/ (a * b * c * d); | ^ joelself.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 exact_mutual(fil_j, fil_m, whperp, x_j, y_j, deg_j, deg_m) | ^ In file included from joelself.c:7: ./induct.h:641: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] 641 | double exact_mutual(); | ^ joelself.c:304:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 304 | fill_4(vec, E,a,d) | ^ | int joelself.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] joelself.c:311:1: warning: non-void function does not return a value [-Wreturn-type] 311 | } | ^ joelself.c:348:31: warning: passing arguments to 'log_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | retval += one_24*(log_term(x, xsq, ysq, zsq, len) | ^ joelself.c:349:19: warning: passing arguments to 'log_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | + log_term(y, ysq, xsq, zsq, len) | ^ joelself.c:350:19: warning: passing arguments to 'log_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | + log_term(z, zsq, xsq, ysq, len)); | ^ joelself.c:353:30: warning: passing arguments to 'tan_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | retval -= one_6*(tan_term(x,y,z,zsq,len) + tan_term(x,z,y,ysq,len) | ^ joelself.c:353:56: warning: passing arguments to 'tan_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | retval -= one_6*(tan_term(x,y,z,zsq,len) + tan_term(x,z,y,ysq,len) | ^ joelself.c:354:18: warning: passing arguments to 'tan_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | + tan_term(z,y,x,xsq,len)); | ^ joelself.c:313:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | double eval_eq(x,y,z,ref_len) | ^ joelself.c:359:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | double log_term(x, xsq, ysq, zsq, len) | ^ joelself.c:367:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | double tan_term(x,y,z,zsq,len) | ^ joelself.c:398:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 398 | lookup(fil_j, fil_m, whperp, widj, heightj, retval, dims, dim_count, lastptr, | ^ | int joelself.c:442:3: warning: call to undeclared function 'fill_dims'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 442 | fill_dims(fil_j, fil_m, widj, heightj, dims,num_dims); | ^ joelself.c:447:7: warning: call to undeclared function 'find_dims'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | if (find_dims(dims, num_dims, s_table, retval, | ^ joelself.c:451:16: warning: passing arguments to 'dotprod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | if (dotprod(fil_j,fil_m) < 0) | ^ joelself.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | lookup(fil_j, fil_m, whperp, widj, heightj, retval, dims, dim_count, lastptr, | ^ joelself.c:461:47: warning: parameter 'num_dims' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 461 | fill_dims(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^ 462 | FILAMENT *fil_j, *fil_m; 463 | double *dims, *widthj, *heightj; 464 | { joelself.c:461:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 461 | fill_dims(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^ | int joelself.c:527:24: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | dims[i++] = fabs(dotp(heightj[XX], heightj[YY], heightj[ZZ],x,y,z)); | ^ joelself.c:528:24: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | dims[i++] = fabs(dotp(widthj[XX], widthj[YY], widthj[ZZ],x,y,z)); | ^ joelself.c:529:24: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | dims[i++] = fabs(dotp(z_j[XX], z_j[YY], z_j[ZZ],x,y,z)); | ^ joelself.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | fill_dims(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^ joelself.c:535:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 535 | } | ^ joelself.c:539:51: warning: parameter 'num_dims' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 539 | fill_dims_seg(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^ 540 | FILAMENT *fil_j, *fil_m; 541 | double *dims, *widthj, *heightj; 542 | { joelself.c:539:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 539 | fill_dims_seg(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^ | int joelself.c:552:24: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | dims[i++] = fabs(dotp(widthj[XX], widthj[YY], widthj[ZZ],x,y,z)); | ^ joelself.c:553:24: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | dims[i++] = fabs(dotp(heightj[XX], heightj[YY], heightj[ZZ],x,y,z)); | ^ joelself.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | fill_dims_seg(fil_j, fil_m, widthj, heightj, dims,num_dims) | ^ joelself.c:585:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 585 | } | ^ joelself.c:600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 600 | find_dims(dims, num_dims, a_table, retval, ret_dim_count, ret_lastptr) | ^ | int joelself.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] joelself.c:653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | put_in_table(fil_j, fil_m, whperp, mutterm, dims, dim_count, lastptr, num_dims) | ^ | int joelself.c:667:32: warning: passing arguments to 'AllocAnEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | entry = (Table *)AllocAnEntry(&table_alloc); | ^ joelself.c:674:34: warning: passing arguments to 'AllocAnEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | entry = (Table *)AllocAnEntry(&table_alloc); | ^ joelself.c:681:45: warning: passing arguments to 'AllocAnEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | entry->u.mut_term = (double *)AllocAnEntry(&double_alloc); | ^ joelself.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | put_in_table(fil_j, fil_m, whperp, mutterm, dims, dim_count, lastptr, num_dims) | ^ joelself.c:689:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 689 | } | ^ joelself.c:695:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 695 | init_table() | ^ | int joelself.c:705:1: warning: non-void function does not return a value [-Wreturn-type] 705 | } | ^ joelself.c:707:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 707 | get_table_mem() | ^ | int joelself.c:709:10: warning: call to undeclared function 'MemoryForEntries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | return MemoryForEntries(&table_alloc) + MemoryForEntries(&double_alloc); | ^ joelself.c:712:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 712 | destroy_table() | ^ | int joelself.c:714:3: warning: call to undeclared function 'DestroyEntries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | DestroyEntries(table_alloc); | ^ joelself.c:716:1: warning: non-void function does not return a value [-Wreturn-type] 716 | } | ^ joelself.c:720:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | char *AllocAnEntry(allocptr) | ^ In file included from joelself.c:7: ./induct.h:628:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 628 | char *AllocAnEntry(); | ^ joelself.c:747:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 747 | DestroyEntries(allocinfo) | ^ | int joelself.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] joelself.c:763:1: warning: non-void function does not return a value [-Wreturn-type] 763 | } | ^ joelself.c:765:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 765 | MemoryForEntries(allocptr) | ^ | int joelself.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] joelself.c:777:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | double brick_to_brick(E,a,d,P,b,c,l3,l1,l2) | ^ In file included from joelself.c:7: ./induct.h:653: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] 653 | double brick_to_brick(); | ^ joelself.c:815:30: warning: passing arguments to 'eval_eq_tape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | totalM += sign2*eval_eq_tape(q[i],P,s[k], a); | ^ joelself.c:800:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | double flat_to_flat_tape(E,a,d,P,l3,l1,l2) | ^ In file included from joelself.c:7: ./induct.h:655: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] 655 | double flat_to_flat_tape(); | ^ joelself.c:821:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | double eval_eq_tape(x,y,z,ref_len) | ^ joelself.c:874:31: warning: passing arguments to 'eval_eq_tape2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | totalM += sign2*eval_eq_tape2(q[i],r[j],s[k], a); | ^ joelself.c:855:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | double flat_to_skinny_tape(E,a,P,c,l3,l1,l2) | ^ In file included from joelself.c:7: ./induct.h:656: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] 656 | double flat_to_skinny_tape(); | ^ joelself.c:925:35: warning: passing arguments to 'tan_tape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | retval -= zsq*z*one_6*tan_tape(x,y,z,len) | ^ joelself.c:926:37: warning: passing arguments to 'tan_tape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | + 0.5*z*(xsq*tan_tape(y,z,x,len) + ysq*tan_tape(x,z,y,len)); | ^ joelself.c:926:63: warning: passing arguments to 'tan_tape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | + 0.5*z*(xsq*tan_tape(y,z,x,len) + ysq*tan_tape(x,z,y,len)); | ^ joelself.c:880:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | double eval_eq_tape2(x,y,z,ref_len) | ^ joelself.c:931:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | double tan_tape(x,y,z,len) | ^ joelself.c:937:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | double tape_to_fil(E,a,P,l3,l1,l2) | ^ In file included from joelself.c:7: ./induct.h:658: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] 658 | double tape_to_fil(); /* not implemented */ | ^ joelself.c:946:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | double brick_to_fil(E,a,P,b,l3,l1,l2) | ^ In file included from joelself.c:7: ./induct.h:659: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] 659 | double brick_to_fil(); /* not implemented */ | ^ 99 warnings generated. --- mutual.o --- --- joelself.o --- --- mulDo.o --- mulDo.c:12:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | mulDirect(sys) | ^ | int mulDo.c:12: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:57:1: warning: non-void function does not return a value [-Wreturn-type] 57 | } | ^ mulDo.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | mulPrecond(sys, type) | ^ | int mulDo.c:72:7: warning: call to undeclared function 'solve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | solve(nc->precond, nc->prevectq, nc->prevectq, nc->presize); | ^ mulDo.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mulPrecond(sys, type) | ^ mulDo.c:114:1: warning: non-void function does not return a value [-Wreturn-type] 114 | } | ^ mulDo.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void mulUp(sys) | ^ mulDo.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 mulEval(sys) | ^ mulDo.c:202:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | void mulDown(sys) | ^ 10 warnings generated. --- newPrecond.o --- --- default_opts.o --- default_opts.c:5:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 5 | default_opts(opts) | ^ | int default_opts.c:5:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] default_opts.c:31:1: warning: non-void function does not return a value [-Wreturn-type] 31 | } | ^ 3 warnings generated. --- regurgitate.o --- regurgitate.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | regurgitate(indsys) | ^ | int regurgitate.c:14:3: warning: call to undeclared function 'spit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | spit(indsys, do_nothing, ""); | ^ regurgitate.c:22:3: warning: call to undeclared function 'do_end_stuff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | do_end_stuff(indsys); | ^ regurgitate.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | regurgitate(indsys) | ^ regurgitate.c:23:1: warning: non-void function does not return a value [-Wreturn-type] 23 | } | ^ regurgitate.c:25:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 25 | do_end_stuff(indsys) | ^ | int regurgitate.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] regurgitate.c:33:1: warning: non-void function does not return a value [-Wreturn-type] 33 | } | ^ regurgitate.c:40:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 40 | set_translate(x, y, z) | ^ | int regurgitate.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] regurgitate.c:46:1: warning: non-void function does not return a value [-Wreturn-type] 46 | } | ^ regurgitate.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 translate(x,y,z,new_x, new_y, new_z) | ^ regurgitate.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void reflect_x(x,y,z,new_x, new_y, new_z) | ^ regurgitate.c:67:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | void reflect_y(x,y,z,new_x, new_y, new_z) | ^ regurgitate.c:77:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | void reflect_origin(x,y,z,new_x, new_y, new_z) | ^ regurgitate.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void do_nothing(x,y,z,new_x, new_y, new_z) | ^ regurgitate.c:96:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 96 | spit(indsys, new_coords, suffix) | ^ | int regurgitate.c:114:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | new_coords(node->x, node->y, node->z, &x, &y, &z); | ^ regurgitate.c:148:9: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 148 | if (is_nonuni_gp(gp)) { | ^ regurgitate.c:155:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | new_coords(gp->x[i], gp->y[i], gp->z[i], &x, &y, &z); | ^ regurgitate.c:159:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | new_coords(gp->x[i], gp->y[i], gp->z[i], &x, &y, &z); | ^ regurgitate.c:163:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | new_coords(gp->x[i], gp->y[i], gp->z[i], &x, &y, &z); | ^ regurgitate.c:187:52: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | if (node->type == NORMAL && node != getrealnode(node)) { | ^ regurgitate.c:189:26: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | getrealnode(node)->name, suffix); | ^ regurgitate.c:197:24: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | getrealnode(ext->source->node[0])->name, suffix, | ^ regurgitate.c:198:24: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | getrealnode(ext->source->node[1])->name, suffix); | ^ regurgitate.c:199:9: 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] 199 | if (strcmp(ext->portname,"") != 0) | ^ regurgitate.c:199:9: note: include the header or explicitly provide a declaration for 'strcmp' regurgitate.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | spit(indsys, new_coords, suffix) | ^ regurgitate.c:204:1: warning: non-void function does not return a value [-Wreturn-type] 204 | } | ^ 29 warnings generated. --- mulDo.o --- --- addgroundplane.o --- addgroundplane.c:10:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | double square(x) | ^ addgroundplane.c:21:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | double lengthof(p1, p2,x, y, z) | ^ addgroundplane.c:36:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | double lengthof2(a, x, y, z) | ^ addgroundplane.c:53:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | double innerproduct(p1,p2,p3,p4,x, y, z) | ^ addgroundplane.c:68:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | double findangle(p1,p2,p3,p4,x, y, z) | ^ addgroundplane.c:87:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | void order(p, q) | ^ addgroundplane.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void bubblesort(array, n) | ^ addgroundplane.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int checkmiddlepoint(x, y, z, o1, o2, mid) | ^ addgroundplane.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | int checkplaneformula(xcord, ycord, zcord,x,y,z,mid,o1,o2) | ^ addgroundplane.c:174:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | double findsegmentwidth(x, y, z, mid, o1, o2, dim) | ^ addgroundplane.c:187:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | void doincrement(x, y, z, xi, yi, zi, dim, dx, dy, dz) | ^ addgroundplane.c:197:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | void dounitvector(x, y, z, xi, yi, zi, wx, wy, wz) | ^ addgroundplane.c:229:40: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | plane->grid1 = (double **)MatrixAlloc(rows, cols, sizeof(double)); | ^ addgroundplane.c:246:40: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | plane->grid2 = (double **)MatrixAlloc(rows, cols, sizeof(double)); | ^ addgroundplane.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 fillgrids(plane) | ^ addgroundplane.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | void make_nodelist(node, name, x, y, z) | ^ addgroundplane.c:270:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | double find_coordinate(plane, x, y, z, flag) | ^ addgroundplane.c:311:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | void findrefnodes(plane, begnode, endnode, b0, b1, e0, e1) | ^ addgroundplane.c:360:33: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | tempnode = find_nearest_gpnode(nodein->x, nodein->y, nodein->z, plane, &bc0, &bc1); | ^ addgroundplane.c:361:33: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | tempnode = find_nearest_gpnode(nodeout->x, nodeout->y, nodeout->z, plane, &ec0, &ec1); | ^ addgroundplane.c:371:28: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | path = (SPATH *)MattAlloc(1, sizeof(SPATH)); /* allocate the space */ | ^ addgroundplane.c:389:37: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | tpath->next = (SPATH *)MattAlloc(1, sizeof(SPATH)); | ^ addgroundplane.c:415:37: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | tpath->next = (SPATH *)MattAlloc(1,sizeof(SPATH)); | ^ addgroundplane.c:338:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | SPATH *old_path_through_gp(nodein, nodeout, plane) | ^ In file included from addgroundplane.c:4: ./induct.h:623: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] 623 | SPATH *old_path_through_gp(); | ^ addgroundplane.c:433:21: warning: incompatible pointer types passing 'int *' to parameter of type 'double *' [-Wincompatible-pointer-types] 433 | *var1 = lengthof2(inout, node->x, node->y, node->z); | ^~~~~ addgroundplane.c:425:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | NODES *findnode(node, plane, inout, var1, var2, samenode) | ^ addgroundplane.c:489:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | pMlist = (MELEMENT **)MattAlloc(plane->numesh, sizeof(MELEMENT *)); | ^ addgroundplane.c:490:26: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | loop = (int *)MattAlloc(4, sizeof(int)); | ^ addgroundplane.c:491:36: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | loopfils = (FILAMENT **)MattAlloc(4, sizeof(FILAMENT *)); | ^ addgroundplane.c:525:52: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | melem = pMlist[tempmesh] = (MELEMENT *)MattAlloc(1, sizeof(MELEMENT)); | ^ addgroundplane.c:529:40: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | melem->mnext = (MELEMENT *)MattAlloc(1, sizeof(MELEMENT)); | ^ addgroundplane.c:546:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | melem = (MELEMENT *)MattAlloc(1, sizeof(MELEMENT)); | ^ addgroundplane.c:472:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | MELEMENT **old_makeMlist(plane, checksegs, M, mesh) | ^ addgroundplane.c:597:7: warning: call to undeclared function 'is_nonuni_gp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 597 | if (is_nonuni_gp(plane)) | ^ addgroundplane.c:598:34: warning: passing arguments to 'path_through_nonuni_gp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | path = path_through_nonuni_gp(nodein, nodeout, plane); | ^ addgroundplane.c:601:5: warning: call to undeclared function 'clear_plane_marks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | clear_plane_marks(plane); | ^ addgroundplane.c:603:22: warning: passing arguments to 'get_a_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | path = get_a_path(nodein, nodeout, plane, NULL, 0, 0); | ^ addgroundplane.c:582:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | SPATH *path_through_gp(nodein, nodeout, plane) | ^ In file included from addgroundplane.c:4: ./induct.h:598: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] 598 | SPATH *path_through_gp(); | ^ addgroundplane.c:652:17: warning: call to undeclared function 'add_choice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | nchoices += add_choice(&choices[nchoices], nodes_so_far, segs1[s1-1][s2], | ^ addgroundplane.c:672:3: warning: call to undeclared function 'sort_choices'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | sort_choices(choices, nchoices); | ^ addgroundplane.c:675:34: warning: passing arguments to 'add_node_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | nodes_so_far = add_node_to_list(node, nodes_so_far); | ^ addgroundplane.c:680:29: warning: passing arguments to 'add_seg_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | path = add_seg_to_list(sptr, path); | ^ addgroundplane.c:681:7: warning: call to undeclared function 'increment_usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | increment_usage(choices[i].seg); | ^ addgroundplane.c:689:24: warning: passing arguments to 'add_seg_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | path = add_seg_to_list(sptr,path); | ^ addgroundplane.c:690:2: warning: call to undeclared function 'increment_usage'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 690 | increment_usage(choices[i].seg); | ^ addgroundplane.c:623:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | SPATH *get_a_path(node, node_goal, plane, nodes_so_far, s1_momentum, | ^ In file included from addgroundplane.c:4: ./induct.h:624: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] 624 | SPATH *get_a_path(); | ^ addgroundplane.c:706:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 706 | sort_choices(choices, num) | ^ | int addgroundplane.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] addgroundplane.c:720:1: warning: non-void function does not return a value [-Wreturn-type] 720 | } | ^ addgroundplane.c:722:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 722 | clear_marks(indsys) | ^ | int addgroundplane.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] addgroundplane.c:733:1: warning: non-void function does not return a value [-Wreturn-type] 733 | } | ^ addgroundplane.c:735:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 735 | increment_usage(seg) | ^ | int addgroundplane.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] addgroundplane.c:739:1: warning: non-void function does not return a value [-Wreturn-type] 739 | } | ^ addgroundplane.c:741:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 741 | dump_mesh_coords(indsys) | ^ | int addgroundplane.c:752:3: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 752 | concat4(outfname,"meshes",indsys->opts->suffix,".mat"); | ^ addgroundplane.c:766:27: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | temp = (double *)Gmalloc(buffer_rows*buffer_cols*sizeof(double)); | ^ addgroundplane.c:767:38: warning: passing arguments to 'Make_C_array' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | line_list = (double **)Make_C_array(temp, buffer_rows, buffer_cols, | ^ addgroundplane.c:792:14: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | savemat_mod(fp, j + 100, "meshes", buffer_rows, buffer_cols, 0, | ^ addgroundplane.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | dump_mesh_coords(indsys) | ^ addgroundplane.c:798:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 798 | } | ^ --- Prec_cost.o --- Prec_cost.c:14:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | double OneCubeCost(cubes, i,j,k,l,side, dir_cost) | ^ In file included from Prec_cost.c:4: ./induct.h:608: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] 608 | double OneCubeCost(); | ^ Prec_cost.c:41:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | double ratio_of_divided_segs(length,charges,indsys) | ^ In file included from Prec_cost.c:4: --- addgroundplane.o --- addgroundplane.c:800:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 800 | dump_ascii_mesh_coords(indsys) | ^ | int addgroundplane.c:811:3: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 811 | concat4(outfname,"meshes",indsys->opts->suffix,".mat"); | ^ addgroundplane.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | dump_ascii_mesh_coords(indsys) | ^ addgroundplane.c:838:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 838 | } | ^ addgroundplane.c:852:25: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Prec_cost.o --- ./induct.h:609: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] 609 | double ratio_of_divided_segs(); | ^ Prec_cost.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | is_gp_charge(chg) | ^ | int Prec_cost.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Prec_cost.c:75:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 75 | add_to_counts(nc, cols, evals, cnts) | ^ | int Prec_cost.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- addgroundplane.o --- 852 | ptr = (char **)Gmalloc(rows*sizeof(char *)); | ^ addgroundplane.c:845:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | void **Make_C_array(start, rows, cols, size) | ^ In file included from addgroundplane.c:4: ./induct.h:625: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] 625 | void **Make_C_array(); | ^ addgroundplane.c:885:23: warning: call to undeclared function 'is_orignode_in_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | if (seg != NULL && !is_orignode_in_list(node, nodes_so_far) | ^ --- Prec_cost.o --- Prec_cost.c:88:1: warning: non-void function does not return a value [-Wreturn-type] 88 | } | ^ 9 warnings generated. --- addgroundplane.o --- addgroundplane.c:867:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | int add_choice(choice, nodes_so_far, seg, node, is_right_direction, new_s1_mom, | ^ addgroundplane.c:915:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 915 | clear_plane_marks(plane) | ^ | int addgroundplane.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] addgroundplane.c:926:1: warning: non-void function does not return a value [-Wreturn-type] 926 | } | ^ 77 warnings generated. --- Prec_cost.o --- --- addgroundplane.o --- --- zbuf --- --- ./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:533:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | CALLOC(cproj, 2, double **, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:535:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | CALLOC(cproj[k], MAXSIDES, double *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:537:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | CALLOC(cproj[k][i], 3, double, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:755:5: warning: call to undeclared function 'dump_face'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 755 | dump_face(stderr, fac); | ^ ./zbufSort.c:757:5: warning: call to undeclared function 'dumpCorners'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 757 | 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:771:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | int isThereBoxOverlap(fac, facref, view) | ^ ./zbufSort.c:929:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | int chkCycle(fac, ref, fp) | ^ ./zbufSort.c:956:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | void dumpCycles(faces, numfaces, file) | ^ ./zbufSort.c:986:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | void setDepth(fac) | ^ ./zbufSort.c:1033:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | CALLOC(rfaces, numfaces, face *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:1017:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | face **depthSortFaces(faces, numfaces) | ^ ./zbufSort.c:1065:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | CALLOC(faces[f]->behind, numfaces, face *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:1087:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | CALLOC(behind, numfaces, face *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:1094:39: warning: too few arguments in call to 'is1stFaceDeeper' 1094 | if(is1stFaceDeeper(fpcur, fpchk, view) == TRUE) { | ~~~~~~~~~~~~~~~ ^ ./zbufSort.c:1100:25: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | if(numbehind > 0) CALLOC(fpcur->behind, numbehind, face *, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./zbufSort.c:1053:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | void getAdjGraph(faces, numfaces, view, rhs, normal) | ^ 25 warnings generated. --- fasthenry --- --- capsolve.o --- capsolve.c:12:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | computePsi(sys, q, p, size, chglist) | ^ | int capsolve.c:48:3: warning: call to undeclared function 'mulUp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | mulUp(sys); | ^ capsolve.c:61:3: warning: call to undeclared function 'mulDown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | mulDown(sys); /* do heirarchical local shift dwnwd pass */ | ^ capsolve.c:68:3: warning: call to undeclared function 'mulEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | mulEval(sys); /* evaluate either locals or multis or both */ | ^ capsolve.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | computePsi(sys, q, p, size, chglist) | ^ capsolve.c:90:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 90 | } | ^ 6 warnings generated. --- sparse/sparse.a --- --- spUtils.o --- spUtils.c:26:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 26 | static CountTwins(); | ~~~~~~ ^ | int spUtils.c:27:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 27 | static SwapCols(); | ~~~~~~ ^ | int spUtils.c:28:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | static ScaleComplexMatrix(); | ~~~~~~ ^ | int spUtils.c:29:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 29 | static ComplexMatrixMultiply(); | ~~~~~~ ^ | int spUtils.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | spPseudoCondition( eMatrix ) | ^ spUtils.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | spCondition( eMatrix, NormOfMatrix, pError ) | ^ spUtils.c:1470:32: warning: passing arguments to 'ComplexCondition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | return ComplexCondition( Matrix, NormOfMatrix, pError ); | ^ spUtils.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | ComplexCondition( Matrix, NormOfMatrix, pError ) | ^ spUtils.c:74:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static RealNumber ComplexCondition(); | ^ spUtils.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | spNorm( eMatrix ) | ^ spUtils.c:1858:33: warning: call to undeclared function 'spcLinkRows'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1858 | if (NOT Matrix->RowsLinked) spcLinkRows( Matrix ); | ^ spUtils.c:1964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1964 | spLargestElement( eMatrix ) | ^ spUtils.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2083 | spRoundoff( eMatrix, Rho ) | ^ 13 warnings generated. --- sparse.a --- ar r sparse.a spAllocate.o spBuild.o spFactor.o spOutput.o spSolve.o spUtils.o spCompat.o spFortran.o --- zbuf --- --- ./patran.o --- ./patran.c:82:20: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if(line == NULL) CALLOC(line, BUFSIZ, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | CALLOC(patch_patch_table, number_patches*number_patches, int, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./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:201:1: warning: non-void function does not return a value [-Wreturn-type] 201 | } | ^ ./patran.c:206:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 206 | file_title(stream) | ^ | int ./patran.c:212: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] 212 | if(title[0] == '\0') strcpy(title, delcr(line)); | ^ ./patran.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | file_title(stream) | ^ ./patran.c:213:1: warning: non-void function does not return a value [-Wreturn-type] 213 | } | ^ ./patran.c:220:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 220 | summary_data(stream) | ^ | int ./patran.c:225:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | CALLOC(list_nodes, number_nodes, NODE, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:226:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | CALLOC(list_elements, number_elements, ELEMENT, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | summary_data(stream) | ^ ./patran.c:232:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 232 | } | ^ ./patran.c:239:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 239 | node_data(stream, trans_vector) | ^ | int ./patran.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./patran.c:253:1: warning: non-void function does not return a value [-Wreturn-type] 253 | } | ^ ./patran.c:261:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 261 | element_data(stream) | ^ | int ./patran.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./patran.c:285:1: warning: non-void function does not return a value [-Wreturn-type] 285 | } | ^ ./patran.c:291:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 291 | grid_data(stream, trans_vector) | ^ | int ./patran.c:305:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | CALLOC(current_grid, 1, GRID, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | grid_data(stream, trans_vector) | ^ ./patran.c:316:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 316 | } | ^ ./patran.c:323:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 323 | patch_data(stream) | ^ | int ./patran.c:336:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | CALLOC(current_patch, 1, PATCH, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | patch_data(stream) | ^ ./patran.c:349:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 349 | } | ^ ./patran.c:357:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 357 | CFEG_table(stream) | ^ | int ./patran.c:376:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | CALLOC(current_cfeg, 1, CFEG, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:384:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | CALLOC(element_list, NELS, int, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | CFEG_table(stream) | ^ ./patran.c:420:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 420 | } | ^ ./patran.c:431:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 431 | name_data(stream) | ^ | int ./patran.c:439:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | CALLOC(start_name, 1, NAME, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:443:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | CALLOC(current_name->next, 1, NAME, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:454:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | CALLOC(current_name->name, len+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:455: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] 455 | delcr(line); | ^ ./patran.c:464:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | CALLOC(current_name->patch_list, 1, SM_PATCH, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:468:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | CALLOC(current_patch->next, 1, SM_PATCH, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | name_data(stream) | ^ ./patran.c:482:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 482 | } | ^ ./patran.c:489:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 489 | grid_equiv_check() | ^ | int ./patran.c:497:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | CALLOC(grid_ptr_1->equiv_ID, number_grids, int, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:508:11: warning: call to undeclared function 'if_same_coord'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | if (if_same_coord(grid_ptr_1->coord,grid_ptr_2->coord)) { | ^ ./patran.c:529:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 529 | } | ^ ./patran.c:532:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | int if_same_coord(coord_1, coord_2) | ^ ./patran.c:545:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | char *delcr(str) | ^ ./patran.c:572:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 572 | fill_patch_patch_table(patch_patch_table) | ^ | int ./patran.c:593:6: warning: call to undeclared function 'if_same_grid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 593 | if (if_same_grid(*corner++,grid_ptr)) { | ^ ./patran.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | fill_patch_patch_table(patch_patch_table) | ^ ./patran.c:608:1: warning: non-void function does not return a value [-Wreturn-type] 608 | } | ^ ./patran.c:614:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | int if_same_grid(ID,grid_ptr) | ^ ./patran.c:633:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 633 | assign_conductor(patch_patch_table) | ^ | int ./patran.c:658:7: warning: call to undeclared function 'depth_search'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 658 | depth_search(patch_patch_table,current_table_ptr,conductor_count); | ^ ./patran.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | assign_conductor(patch_patch_table) | ^ ./patran.c:673:1: warning: non-void function does not return a value [-Wreturn-type] 673 | } | ^ ./patran.c:679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 679 | depth_search(patch_patch_table,current_table_ptr,conductor_count) | ^ | int ./patran.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./patran.c:702:1: warning: non-void function does not return a value [-Wreturn-type] 702 | } | ^ ./patran.c:708:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | char *getPatranName(cond_num) | ^ ./patran.c:758:21: warning: call to undeclared function 'getConductorNum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 758 | conductor_ID = getConductorNum(cond_name, name_list, num_cond); | ^ ./patran.c:772: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] 772 | first_pq = make_charges_patch(NELS,element_list,conductor_ID); | ^ ./patran.c:777: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] 777 | make_charges_patch(NELS,element_list,conductor_ID); | ^ ./patran.c:732:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | charge *make_charges_all_patches(name_list, num_cond, surf_type, name_suffix) | ^ ./patran.c:799:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | CALLOC(pq,NELS,charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./patran.c:791:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | charge *make_charges_patch(NELS,element_list,conductor_ID) | ^ ./patran.c:853:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 853 | assign_names() | ^ | int ./patran.c:910:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 910 | } | ^ 89 warnings generated. --- ./input.o --- ./input.c:112:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 112 | FILE *fp, *fopen(); | ^ ./input.c:154:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:158:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:168:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:173:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:210:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:214:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:228:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:234:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:265:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | CALLOC(*surf_list, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:269:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:283:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | CALLOC(cur_surf->name, strlen(file_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:289:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.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 read_list_file(surf_list, num_surf, list_file, read_from_stdin) | ^ ./input.c:431:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | CALLOC(dummy_list, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:435:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:450:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | CALLOC(cur_dummy->next, 1, charge, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:418:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | void add_dummy_panels(panel_list) | ^ ./input.c:472:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | char *hack_path(str) | ^ ./input.c:493:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | void reassign_cond_numbers(panel_list, name_list, surf_name) | ^ ./input.c:568:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | void negate_cond_numbers(panel_list, name_list) | ^ ./input.c:639:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | int want_this_iter(iter_list, iter_num) | ^ ./input.c:675:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:687:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | CALLOC(in_file_name, strlen(temp)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:689:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | CALLOC(ps_file_base, strlen(temp)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:696:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | CALLOC(ps_file_base, strlen("stdin")+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:656:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | void get_ps_file_base(argv, argc) | ^ ./input.c:718: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] 718 | FILE *fp, *fopen(); | ^ ./input.c:746: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] 746 | = patfront(fp, &patran_file, cur_surf->type, cur_surf->trans, | ^ ./input.c:758: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] 758 | = patfront(fp, &patran_file, cur_surf->type, cur_surf->trans, | ^ ./input.c:777:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | CALLOC(cur_surf->title, strlen(title)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:789:5: warning: call to undeclared function 'initcalcp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | initcalcp(cur_surf->panels);/* get normals, edges, perpendiculars */ | ^ ./input.c:792:50: warning: '/*' within block comment [-Wcomment] 792 | align_normals(cur_surf->panels, cur_surf); /* now done in calcp */ | ^ ./input.c:707:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | charge *read_panels(surf_list, name_list, num_cond) | ^ ./input.c:857: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] 857 | cur_alias = last_alias(cur_name); | ^ ./input.c:842:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | int getUniqueCondNum(name, name_list) | ^ ./input.c:930:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | CALLOC(kill_num_list, 1, ITER, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:934:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | CALLOC(cur_cond->next, 1, ITER, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:886:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | ITER *get_kill_num_list(name_list, kill_name_list) | ^ ./input.c:956: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] 956 | long strtol(); | ^ ./input.c:1143:22: warning: data argument not used by format string [-Wformat-extra-args] 1142 | fprintf(stderr, " scale = %g\n linewidth = %g\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1143 | DEFDST, DEFSCL, DEFWID); | ^ ./zbufGlobal.h:134:16: note: expanded from macro 'DEFWID' 134 | #define DEFWID 1.0 /* default line width, points (-w) */ | ^ ./input.c:948:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | void parse_command_line(argv, argc, autmom, autlev, relperm, numMom, numLev, | ^ ./input.c:1197:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1199:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | CALLOC(surf_list->name, strlen("stdin")+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1205:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | CALLOC(surf_list->group_name, strlen(group_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1218:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | CALLOC(surf_list, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1222:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | CALLOC(cur_surf->next, 1, surface, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1226:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | CALLOC(cur_surf->name, strlen(input_file)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1232:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | CALLOC(cur_surf->group_name, strlen(group_name)+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1179:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | surface *read_all_surfaces(input_file, surf_list_file, read_from_stdin, infile, | ^ ./input.c:1258:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | surface *input_surfaces(argv, argc, autmom, autlev, relperm, | ^ ./input.c:1282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | void dumpSurfDat(surf_list) | ^ ./input.c:1349:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | CALLOC(cur_name->name, slen+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1357:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | CALLOC(cur_alias->name, slen+1, char, ON, AMSC); | ^ ./mulGlobal.h:125:29: note: expanded from macro 'CALLOC' 125 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:79:34: note: expanded from macro 'CALCORE' 79 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ ./input.c:1333:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | void remove_name(name_list, num) | ^ ./input.c:1369:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | void remove_conds(panels, num_list, name_list) | ^ ./input.c:1408:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | void resolve_kill_lists(rs_num_list, q_num_list, ri_num_list, num_cond) | ^ ./input.c:1463: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] 1463 | char infile[BUFSIZ], *ctime(), hostname[BUFSIZ]; | ^ /usr/include/time.h:119:7: note: conflicting prototype is here 119 | char *ctime(const time_t *); | ^ ./input.c:1455:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | charge *input_problem(argv, argc, autmom, autlev, relperm, | ^ 59 warnings generated. --- zbuf --- cc -o zbuf -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DOTHER ./mulGlobal.o ./extras.o ./zbuf.o ./uglieralloc.o ./patran.o ./quickif.o ./input.o ./zbufInOut.o ./zbuf2fastcap.o ./zbufProj.o ./zbufSort.o ./dump_struct.o ./savemat_mod.o -lm --- fasthenry --- --- hole.o --- hole.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | is_next_word(str, line) | ^ | int hole.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:36:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 36 | is_hole(node) | ^ | int hole.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:57:30: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | holep = (HoleList *)Gmalloc(sizeof(HoleList)); | ^ hole.c:75:32: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | holep->func = (char *)Gmalloc((strlen(name) + 1)*sizeof(char)); | ^ hole.c:89:5: warning: call to undeclared function 'hole_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | hole_error("Values for hole must start with '('",line,holep); | ^ hole.c:95:27: warning: call to undeclared function 'eos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | while(*linep != ')' && !eos(*linep)) { | ^ hole.c:97:30: warning: call to undeclared function 'is_one_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | while(isspace(*linep) || is_one_of(*linep, "1234567890.e+-")) | ^ hole.c:104:34: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | holep->vals = (double *)Gmalloc(holep->numvals*sizeof(double)); | ^ hole.c:118:16: warning: call to undeclared function 'skipspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | linep += skipspace(linep); | ^ hole.c:45:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | HoleList *make_holelist(hole_head, line, units, relx, rely, relz, skip) | ^ In file included from hole.c:9: ./induct.h:612:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 612 | HoleList *make_holelist(); | ^ hole.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | skipspace(line) | ^ | int hole.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | eos(chr) | ^ | int hole.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:151:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 151 | hole_error(errstr, line, holep) | ^ | int hole.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | is_one_of(letter, one_of) | ^ | int hole.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:172:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | delete_node(node) | ^ | int hole.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:176:1: warning: non-void function does not return a value [-Wreturn-type] 176 | } | ^ hole.c:179:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 179 | make_holes(holep, gp) | ^ | int hole.c:189:5: warning: call to undeclared function 'hole_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | hole_rect(holep, gp, relx, rely, relz, units); | ^ hole.c:191:5: warning: call to undeclared function 'hole_circle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | hole_circle(holep, gp, relx, rely, relz, units); | ^ hole.c:193:5: warning: call to undeclared function 'hole_point'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | hole_point(holep, gp, relx, rely, relz, units); | ^ hole.c:195:5: warning: call to undeclared function 'hole_user1'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | hole_user1(holep, gp, relx, rely, relz, units); | ^ hole.c:197:5: warning: call to undeclared function 'hole_user2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | hole_user2(holep, gp, relx, rely, relz, units); | ^ hole.c:199:5: warning: call to undeclared function 'hole_user3'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | hole_user3(holep, gp, relx, rely, relz, units); | ^ hole.c:201:5: warning: call to undeclared function 'hole_user4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | hole_user4(holep, gp, relx, rely, relz, units); | ^ hole.c:203:5: warning: call to undeclared function 'hole_user5'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | hole_user5(holep, gp, relx, rely, relz, units); | ^ hole.c:205:5: warning: call to undeclared function 'hole_user6'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | hole_user6(holep, gp, relx, rely, relz, units); | ^ hole.c:207:5: warning: call to undeclared function 'hole_user7'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | hole_user7(holep, gp, relx, rely, relz, units); | ^ hole.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | make_holes(holep, gp) | ^ hole.c:210:1: warning: non-void function does not return a value [-Wreturn-type] 210 | } | ^ hole.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | hole_point(holep, gp, relx, rely, relz, units) | ^ | int hole.c:226:34: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | delete_node(find_nearest_gpnode(vals[0]*units + relx, vals[1]*units + rely, | ^ hole.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | hole_point(holep, gp, relx, rely, relz, units) | ^ hole.c:228:1: warning: non-void function does not return a value [-Wreturn-type] 228 | } | ^ hole.c:235:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 235 | hole_rect(holep, gp, relx, rely, relz, units) | ^ | int hole.c:248:30: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | node1 = find_nearest_gpnode(vals[0]*units + relx, vals[1]*units + rely, | ^ hole.c:251:30: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | node2 = find_nearest_gpnode(vals[3]*units + relx, vals[4]*units + rely, | ^ hole.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | hole_rect(holep, gp, relx, rely, relz, units) | ^ hole.c:276:1: warning: non-void function does not return a value [-Wreturn-type] 276 | } | ^ hole.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | hole_circle(holep, gp, relx, rely, relz, units) | ^ | int hole.c:306:30: warning: passing arguments to 'find_nearest_gpnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | nodec = find_nearest_gpnode(center[0], center[1], center[2], gp, &ic, &jc); | ^ hole.c:313:14: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | ref1 = dotp(nodec->x - center[0], nodec->y - center[1], nodec->z - center[2], | ^ hole.c:315:14: warning: passing arguments to 'dotp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | ref2 = dotp(nodec->x - center[0], nodec->y - center[1], nodec->z - center[2], | ^ hole.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | hole_circle(holep, gp, relx, rely, relz, units) | ^ hole.c:344:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 344 | } | ^ hole.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | hole_user1(holep, gp, relx, rely, relz, units) | ^ | int hole.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:351:1: warning: non-void function does not return a value [-Wreturn-type] 351 | } | ^ hole.c:353:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 353 | hole_user2(holep, gp, relx, rely, relz, units) | ^ | int hole.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:358:1: warning: non-void function does not return a value [-Wreturn-type] 358 | } | ^ hole.c:360:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 360 | hole_user3(holep, gp, relx, rely, relz, units) | ^ | int hole.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:365:1: warning: non-void function does not return a value [-Wreturn-type] 365 | } | ^ hole.c:367:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 367 | hole_user4(holep, gp, relx, rely, relz, units) | ^ | int hole.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:372:1: warning: non-void function does not return a value [-Wreturn-type] 372 | } | ^ hole.c:374:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 374 | hole_user5(holep, gp, relx, rely, relz, units) | ^ | int hole.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:379:1: warning: non-void function does not return a value [-Wreturn-type] 379 | } | ^ hole.c:381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 381 | hole_user6(holep, gp, relx, rely, relz, units) | ^ | int hole.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:386:1: warning: non-void function does not return a value [-Wreturn-type] 386 | } | ^ hole.c:388:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 388 | hole_user7(holep, gp, relx, rely, relz, units) | ^ | int hole.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] hole.c:393:1: warning: non-void function does not return a value [-Wreturn-type] 393 | } | ^ 73 warnings generated. --- sparse/sparse.a --- ar: warning: creating sparse.a --- hole.o --- --- sparse/sparse.a --- ranlib sparse.a --- barnoldi.o --- barnoldi.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | ArnoldiROM(B, C, D, P, size, numinp, numout, q_orig, | ^ | int barnoldi.c:56:18: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | H = MatrixAlloc((q+1) * s, q * s, sizeof(double)); | ^ barnoldi.c:57:18: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | V = MatrixAlloc(size, (q+1) * s, sizeof(double)); | ^ barnoldi.c:58:19: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | R1 = MatrixAlloc(s, s, sizeof(double)); | ^ barnoldi.c:60:18: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | W = MatrixAlloc(size, s, sizeof(double)); | ^ barnoldi.c:61:18: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Z = MatrixAlloc(size, (q+1) * s, sizeof(double)); | ^ barnoldi.c:62:18: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | X = MatrixAlloc(s, s, sizeof(double)); | ^ barnoldi.c:64:3: warning: call to undeclared function 'ZeroMatrix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | ZeroMatrix(H, (q+1) * s, q*s); | ^ barnoldi.c:76:3: warning: call to undeclared function 'qr_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | qr_P(B, V, R1, Z, size, s, 0, P); | ^ barnoldi.c:86:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | matvec(W, sys, Z, chglist, indsys, size, s, iter * s); | ^ barnoldi.c:124:27: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | indsys->Br = MatrixAlloc(q * s, s, sizeof(double)); | ^ barnoldi.c:132:27: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | indsys->Cr = MatrixAlloc(q * s, numout, sizeof(double)); | ^ barnoldi.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | ArnoldiROM(B, C, D, P, size, numinp, numout, q_orig, | ^ barnoldi.c:170:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 170 | qr(Bmat, Qmat, Rmat, numlin, numcol, block) | ^ | int barnoldi.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] barnoldi.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 224 | qr_P(Bmat, Qmat, Rmat, Z, numlin, numcol, block, P) | ^ | int barnoldi.c:234:32: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | tcol = (double *) MattAlloc(numlin, sizeof(double)); | ^ barnoldi.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | qr_P(Bmat, Qmat, Rmat, Z, numlin, numcol, block, P) | ^ barnoldi.c:282:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 282 | dumpROM(fp, Ar, Br, Cr, Dr, size, numinp, numout) | ^ | int barnoldi.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] barnoldi.c:425:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 425 | dumpROMequiv_circuit(fp, Ar, Br, Cr, Dr, size, numinp, numout, title, suffix, | ^ | int barnoldi.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] barnoldi.c:533:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 533 | } | ^ barnoldi.c:546:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 546 | dumpROMbin(fp, A, B, C, D, size, numinp, numout) | ^ | int barnoldi.c:570:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | savemat_mod(fp, machine+100, "Asys", size, size, 0, temp, | ^ barnoldi.c:578:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | savemat_mod(fp, machine+100, "Bsys", size, numinp, 0, temp, | ^ barnoldi.c:586:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | savemat_mod(fp, machine+100, "Csys", size, numout, 0, temp, | ^ barnoldi.c:594:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | savemat_mod(fp, machine+100, "Dsys", numout, numinp, 0, temp, | ^ barnoldi.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | dumpROMbin(fp, A, B, C, D, size, numinp, numout) | ^ barnoldi.c:614:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 614 | createMRMt(MRMt_Ptr, indsys) | ^ | int barnoldi.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] barnoldi.c:679:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 679 | createMRMtinvMLMt(MRMtinvMLMt_Ptr, indsys, MRMt) | ^ | int barnoldi.c:697:16: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | MatrixAlloc(indsys->num_mesh, indsys->num_mesh, sizeof(double)); | ^ barnoldi.c:707:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | tcol = (double *) MattAlloc(rows, sizeof(double)); | ^ barnoldi.c:708:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | temp = (double *) MattAlloc(nmesh, sizeof(double)); | ^ barnoldi.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | createMRMtinvMLMt(MRMtinvMLMt_Ptr, indsys, MRMt) | ^ barnoldi.c:770:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 770 | realComputePsi(Prod, sys, B, chglist, indsys, size, numRHS, initcol) | ^ | int barnoldi.c:794:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | Ib = (double *) MattAlloc(branches, sizeof(double)); | ^ barnoldi.c:795:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | Im = (double *) MattAlloc(size, sizeof(double)); | ^ barnoldi.c:796:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Vb = (double *) MattAlloc(branches, sizeof(double)); | ^ barnoldi.c:797:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | Vs = (double *) MattAlloc(size, sizeof(double)); | ^ barnoldi.c:834:7: warning: call to undeclared function 'computePsi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 834 | computePsi(sys, q, p, branches, chglist); | ^ barnoldi.c:855:5: warning: call to undeclared function 'mulDirect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | mulDirect(sys); | ^ barnoldi.c:856:5: warning: call to undeclared function 'mulEval'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 856 | mulEval(sys); | ^ barnoldi.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | realComputePsi(Prod, sys, B, chglist, indsys, size, numRHS, initcol) | ^ In file included from barnoldi.c:30: ./induct.h:663: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] 663 | extern int realComputePsi(); | ^ barnoldi.c:907:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 907 | realMatVect(Prod, sys, B, chglist, indsys, size, numRHS, initcol) | ^ | int barnoldi.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] In file included from barnoldi.c:30: ./induct.h:662: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] 662 | extern int realMatVect(); | ^ barnoldi.c:952:42: warning: parameter 'size' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 952 | printRowCol(mat, rowcol, rownum, colnum, size) | ^ 953 | double **mat; 954 | int rowcol, rownum, colnum; 955 | { barnoldi.c:952:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 952 | printRowCol(mat, rowcol, rownum, colnum, size) | ^ | int barnoldi.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] barnoldi.c:992:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 992 | formMLMt(indsys) | ^ | int barnoldi.c:1023:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | tcol = (double *)MattAlloc(rows, sizeof(double)); | ^ barnoldi.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | formMLMt(indsys) | ^ barnoldi.c:1043:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1043 | } | ^ barnoldi.c:1046:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1046 | ZeroMatrix(A, rows, cols) | ^ | int barnoldi.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] barnoldi.c:1055:1: warning: non-void function does not return a value [-Wreturn-type] 1055 | } | ^ 59 warnings generated. --- direct.o --- direct.c:15:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | CALLOC(mat, numchgs, double*, ON, AQ2PD); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ direct.c:16:30: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | for(i=0; i < numchgs; i++) CALLOC(mat[i], numchgs, double, ON, AQ2PD); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ direct.c:34: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] 34 | if(!is_dummy[j]) mat[i][j] = calcp(chgs[j], chgs[i], NULL); | ^ direct.c:5:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | double **Q2PDiag(chgs, numchgs, is_dummy, calc) | ^ direct.c:57:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | CALLOC(mat, numpchgs, double*, ON, AQ2P); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ direct.c:59:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | CALLOC(mat[i], numqchgs, double, ON, AQ2P); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ direct.c:71: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] 71 | mat[i][j] = calcp(qchgs[j], pchgs[i], NULL); | ^ direct.c:46:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | double **Q2P(qchgs, numqchgs, is_dummy, pchgs, numpchgs, calc) | ^ direct.c:98:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | MALLOC(mat, numchgs, double*, ON, AQ2P); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ direct.c:99:32: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | for(i = 0; i < numchgs; i++) MALLOC(mat[i], numchgs, double, ON, AQ2P); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ direct.c:115: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] 115 | mat[i][j] = calcp(pchgs[i-fromp],eval, NULL); | ^ direct.c:88:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | double **Q2Pfull(directlist, numchgs) | ^ direct.c:139:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | MALLOC(mat, size, double*, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ direct.c:141:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | MALLOC(mat[i], size, double, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ direct.c:128:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | double **ludecomp(matin, size, allocate) | ^ direct.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | void solve(mat, x, b, size) | ^ 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 invert(mat, size, reorder) | ^ direct.c:285:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | CALLOC(cur_order, size, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ direct.c:276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | int compressMat(mat, size, is_dummy, comp_rows) | ^ direct.c:320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | void expandMat(mat, size, comp_size, is_dummy, exp_rows) | ^ direct.c:358:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 358 | matcheck(mat, rows, size) | ^ | int direct.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] direct.c:380:1: warning: non-void function does not return a value [-Wreturn-type] 380 | } | ^ direct.c:383:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 383 | matlabDump(mat, size, name) | ^ | int direct.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] direct.c:403:1: warning: non-void function does not return a value [-Wreturn-type] 403 | } | ^ 26 warnings generated. --- mulMats.o --- mulMats.c:18:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 18 | mulMatDirect(sys) | ^ | int mulMats.c:43:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | CALLOC(nextc->directq, nummats, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:44:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | CALLOC(temp, nummats, int*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:45:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | CALLOC(nextc->directnumeles, nummats, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:46:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | CALLOC(nextc->directmats, nummats, double**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:82: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] 82 | = Q2PDiag(nextc->chgs, nextc->upnumeles[0], nextc->nbr_is_dummy[0], | ^ mulMats.c:123: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] 123 | nextc->directmats[nummats] = Q2P(nextnbr->chgs, | ^ mulMats.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | mulMatDirect(sys) | ^ mulMats.c:143:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 143 | } | ^ mulMats.c:149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 149 | bdmulMatPrecond(sys) | ^ | int mulMats.c:175:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | MALLOC(mat, size, double*, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ mulMats.c:177:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | MALLOC(mat[i], size, double, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ mulMats.c:232: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] 232 | nc->precond = ludecomp(mat, size, FALSE); | ^ mulMats.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | bdmulMatPrecond(sys) | ^ mulMats.c:254:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 254 | olmulMatPrecond(sys) | ^ | int mulMats.c:289:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | MALLOC(reorder, maxsize,int, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ mulMats.c:290:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | MALLOC(mat, maxsize, double*, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ mulMats.c:292:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | MALLOC(mat[i], maxsize, double, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ mulMats.c:318:2: warning: call to undeclared function 'find_flux_density_row'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | find_flux_density_row(mat, nc->directmats[0], i, nsize, nsize, 0, 0, | ^ mulMats.c:346:6: warning: call to undeclared function 'find_flux_density_row'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 346 | find_flux_density_row(mat, nmat, i, nnsize, nsize, 0, offset, | ^ mulMats.c:382:3: warning: call to undeclared function 'find_flux_density_row'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 382 | find_flux_density_row(mat, nmat, i, nnnsize, nnsize, offset, | ^ mulMats.c:397:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | CALLOC(is_dummy, offset, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:423:15: warning: call to undeclared function 'compressMat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | nnnsize = compressMat(mat, offset, is_dummy, BOTH); | ^ mulMats.c:428:5: warning: call to undeclared function 'invert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | invert(mat, nnnsize, NULL); | ^ mulMats.c:429:5: warning: call to undeclared function 'expandMat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 429 | expandMat(mat, offset, nnnsize, is_dummy, BOTH); | ^ mulMats.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | olmulMatPrecond(sys) | ^ mulMats.c:477:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 477 | find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, | ^ | int mulMats.c:577: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] 577 | = -calcp(chg_panels[j], dp, NULL)*factor; | ^ mulMats.c:633: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] 633 | += calcp(chg_panels[j], dp, NULL)*factor; | ^ mulMats.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | find_flux_density_row(to_mat, from_mat, eval_row, n_chg, n_eval, row_offset, | ^ mulMats.c:677:1: warning: non-void function does not return a value [-Wreturn-type] 677 | } | ^ mulMats.c:698:14: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 698 | numterms = multerms(order); | ^ mulMats.c:708:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | CALLOC(nextc->multi, numterms, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:709:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | CALLOC(nextc->upmats, 1, double**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:710: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] 710 | nextc->upmats[0] = mulQ2Multi(nextc->chgs, nextc->nbr_is_dummy[0], | ^ mulMats.c:774:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | CALLOC(nextc->multi, numterms, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:777:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | CALLOC(nextc->upnumeles, nextc->upnumvects, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:778:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | CALLOC(nextc->upvects, nextc->upnumvects, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:779:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | CALLOC(nextc->upmats, nextc->upnumvects, double**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:788: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] 788 | multimats[j] = mulMulti2Multi(kid->x, kid->y, kid->z, nextc->x, | ^ mulMats.c:801: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] 801 | nextc->upmats[i] = mulQ2Multi(kid->chgs, kid->nbr_is_dummy[0], | ^ mulMats.c:687:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | void mulMatUp(sys) | ^ mulMats.c:892:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | CALLOC(nc->evalvects, ttlvects, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:893:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | CALLOC(nc->evalnumeles, ttlvects, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:894:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | CALLOC(nc->evalmats, ttlvects, double**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:895:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | CALLOC(nc->eval_isQ2P, ttlvects, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:907: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] 907 | nc->evalmats[j] = mulLocal2P(na->x, na->y, na->z, nc->chgs, | ^ mulMats.c:930: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] 930 | nc->evalmats[j] = Q2P(nexti->chgs, nexti->upnumeles[0], | ^ mulMats.c:958: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] 958 | nc->evalmats[j] = mulMulti2P(nexti->x, nexti->y, nexti->z, | ^ mulMats.c:866:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | void mulMatEval(sys) | ^ mulMats.c:994:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 994 | mulMatDown(sys) | ^ | int mulMats.c:1011:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | CALLOC(nc->downvects, vects, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:1012:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | CALLOC(nc->downnumeles, vects, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:1013:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | CALLOC(nc->downmats, vects, double**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMats.c:1027: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] 1027 | nc->downmats[0] = mulLocal2Local(parent->x, parent->y, parent->z, | ^ mulMats.c:1042: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] 1042 | nc->downmats[i] = mulQ2Local(ni->chgs, ni->upnumeles[0], | ^ mulMats.c:1052: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] 1052 | nc->downmats[i] = mulMulti2Local(ni->x, ni->y, ni->z, nc->x, | ^ mulMats.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | mulMatDown(sys) | ^ mulMats.c:1062:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1062 | } | ^ 59 warnings generated. --- findpaths.o --- findpaths.c:10:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | PATHLIST *add_to_front(paths, front) | ^ In file included from findpaths.c:5: ./induct.h:545:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 545 | PATHLIST *add_to_front(); | ^ findpaths.c:27:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | char *Gmalloc(size) | ^ In file included from findpaths.c:5: ./induct.h:546:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 546 | char *Gmalloc(); | ^ findpaths.c:56:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | NODES *getrealnode(node) | ^ In file included from findpaths.c:5: ./induct.h:548: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] 548 | NODES *getrealnode(); | ^ findpaths.c:77:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | NODES *getothernode(node, tseg) | ^ In file included from findpaths.c:5: ./induct.h:549: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] 549 | NODES *getothernode(); | ^ findpaths.c:141:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 141 | is_normal(node) | ^ | int findpaths.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 167 | is_gp(seg) | ^ | int findpaths.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:180:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 180 | is_gp_node(node) | ^ | int findpaths.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] findpaths.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | is_node_in_list(node, nodelist) | ^ | int findpaths.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | is_orignode_in_list(node, nodelist) | ^ | int findpaths.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:230:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | NPATH *add_node_to_list(node, nodelist) | ^ In file included from findpaths.c:5: ./induct.h:550: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] 550 | NPATH *add_node_to_list(); | ^ findpaths.c:244:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | int is_gp_in_list(gp, gplist) | ^ findpaths.c:258:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | GPLIST *add_to_gplist(gp, gplist) | ^ In file included from findpaths.c:5: ./induct.h:551:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 551 | GPLIST *add_to_gplist(); | ^ findpaths.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | free_nodelist(nodelist) | ^ | int findpaths.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:282:1: warning: non-void function does not return a value [-Wreturn-type] 282 | } | ^ findpaths.c:300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 300 | insert_path(path, pathlist) | ^ | int findpaths.c:309:26: warning: passing arguments to 'copypath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | pathcopy = copypath(path); | ^ findpaths.c:310:26: warning: passing arguments to 'lastelem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | pathelem = lastelem(pathcopy); | ^ findpaths.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | insert_path(path, pathlist) | ^ findpaths.c:315:1: warning: non-void function does not return a value [-Wreturn-type] 315 | } | ^ findpaths.c:318:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | SPATH *copypath(path) | ^ In file included from findpaths.c:5: ./induct.h:552: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] 552 | SPATH *copypath(); | ^ findpaths.c:344:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | SPATH *lastelem(path) | ^ In file included from findpaths.c:5: ./induct.h:553: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] 553 | SPATH *lastelem(); | ^ findpaths.c:360:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | NODES *get_node_from_name(name, indsys) | ^ In file included from findpaths.c:5: ./induct.h:554: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] 554 | NODES *get_node_from_name(); | ^ findpaths.c:385:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 385 | equivnodes(line, indsys) | ^ | int findpaths.c:403:9: warning: call to undeclared function 'notblankline'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | while(notblankline(line)) { | ^ findpaths.c:413:21: warning: passing arguments to 'create_pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | pn = create_pn(name1, NULL); | ^ findpaths.c:435:5: warning: call to undeclared function 'make_equiv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | make_equiv(nl->node, realnode); | ^ findpaths.c:438:3: warning: call to undeclared function 'append_pnlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | append_pnlist(pnlist, indsys); | ^ findpaths.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | equivnodes(line, indsys) | ^ findpaths.c:456:32: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | pn = (PSEUDO_NODE *)MattAlloc(1, sizeof(PSEUDO_NODE)); | ^ findpaths.c:458:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | pn->name = (char *)MattAlloc(strlen(name) + 1, sizeof(char)); | ^ findpaths.c:443:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | PSEUDO_NODE *create_pn(name, node) | ^ In file included from findpaths.c:5: ./induct.h:555:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 555 | PSEUDO_NODE *create_pn(); | ^ findpaths.c:468:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 468 | make_equiv(orignode, realnode) | ^ | int findpaths.c:476:6: warning: call to undeclared function 'is_real_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 476 | if(is_real_node(realnode) == 0 ) { | ^ findpaths.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | make_equiv(orignode, realnode) | ^ findpaths.c:509:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 509 | } | ^ findpaths.c:511:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 511 | append_pnlist(pnlist, indsys) | ^ | int findpaths.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:524:1: warning: non-void function does not return a value [-Wreturn-type] 524 | } | ^ findpaths.c:528:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | NODES *find_next_external(node) | ^ In file included from findpaths.c:5: ./induct.h:556: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] 556 | NODES *find_next_external(); | ^ findpaths.c:544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | add_to_connected_segs(node, seg, pseudo_seg) | ^ | int findpaths.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:573:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 573 | } | ^ findpaths.c:575:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 575 | remove_from_connected_segs(node, seg, pseudo_seg) | ^ | int findpaths.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:636:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 636 | } | ^ findpaths.c:639:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | double mag(x1,y1,z1) | ^ In file included from findpaths.c:5: ./induct.h:557: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] 557 | double mag(); | ^ findpaths.c:645:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | double magsq(x1,y1,z1) | ^ In file included from findpaths.c:5: ./induct.h:558: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] 558 | double magsq(); | ^ findpaths.c:651:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | double dotp(x1,y1,z1,x2,y2,z2) | ^ In file included from findpaths.c:5: ./induct.h:559: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] 559 | double dotp(); | ^ findpaths.c:657:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | NODES *find_nearest_gpnode(x, y, z, gp, i, j) | ^ In file included from findpaths.c:5: ./induct.h:562: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] 562 | NODES *find_nearest_gpnode(); | ^ findpaths.c:704:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 704 | is_real_node(node) | ^ | int findpaths.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:710:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | SPATH *add_seg_to_list(seg, seglist) | ^ In file included from findpaths.c:5: ./induct.h:568: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] 568 | SPATH *add_seg_to_list(); | ^ findpaths.c:723:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | PSEUDO_SEG *make_pseudo_seg(node1, node2, type) | ^ In file included from findpaths.c:5: ./induct.h:569:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 569 | PSEUDO_SEG *make_pseudo_seg(); | ^ findpaths.c:774:30: warning: passing arguments to 'find_nearest_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | anode = find_nearest_node(node, nodelist); | ^ findpaths.c:761:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | SPATH *make_new_fake_segs(node, nodelist, seg_list) | ^ In file included from findpaths.c:5: ./induct.h:570: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] 570 | SPATH *make_new_fake_segs(); | ^ findpaths.c:785:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | EXTERNAL *add_to_external_list(ex, ex_list) | ^ In file included from findpaths.c:5: ./induct.h:571:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 571 | EXTERNAL *add_to_external_list(); | ^ findpaths.c:806:36: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | temp_ex->name1 = (char *)MattAlloc(strlen(name1)+1, sizeof(char)); | ^ findpaths.c:807:36: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | temp_ex->name2 = (char *)MattAlloc(strlen(name2)+1, sizeof(char)); | ^ findpaths.c:808:39: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | temp_ex->portname = (char *)MattAlloc(strlen(portname)+1, sizeof(char)); | ^ findpaths.c:792:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | EXTERNAL *make_external(source, Yindex, name1, name2, portname) | ^ In file included from findpaths.c:5: ./induct.h:572:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 572 | EXTERNAL *make_external(); | ^ findpaths.c:816:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | EXTERNAL *get_external_from_portname(portname, indsys) | ^ In file included from findpaths.c:5: ./induct.h:576:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 576 | EXTERNAL *get_external_from_portname(); | ^ findpaths.c:832:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | EXTERNAL *get_next_ext(ext) | ^ In file included from findpaths.c:5: ./induct.h:577:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 577 | EXTERNAL *get_next_ext(); | ^ findpaths.c:841:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | NODES *get_next_treeless_node(node) | ^ In file included from findpaths.c:5: ./induct.h:573: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] 573 | NODES *get_next_treeless_node(); | ^ findpaths.c:862:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | TREE *add_tree_to_list(tree, t_list) | ^ In file included from findpaths.c:5: ./induct.h:575:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 575 | TREE *add_tree_to_list(); | ^ findpaths.c:869:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | NODES *pop_node(stack) | ^ findpaths.c:887:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 887 | push_node(node, stack) | ^ | int findpaths.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:897:1: warning: non-void function does not return a value [-Wreturn-type] 897 | } | ^ findpaths.c:901:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 901 | make_trees(indsys) | ^ | int findpaths.c:925:33: warning: passing arguments to 'get_next_branch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | branches = get_next_branch(node->connected_segs); | ^ findpaths.c:964:4: warning: call to undeclared function 'make_loop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | make_loop(node, other, branches->seg, atree); /* make a loop (check for selfloop) */ | ^ findpaths.c:973:2: warning: call to undeclared function 'mark_seg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 973 | mark_seg(branches->seg); /* mark seg as used */ | ^ findpaths.c:974:35: warning: passing arguments to 'get_next_branch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | branches = get_next_branch(branches->next); | ^ findpaths.c:976:7: warning: call to undeclared function 'mark_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 976 | mark_node(node); /* mark node as examined */ | ^ findpaths.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | make_trees(indsys) | ^ findpaths.c:980:1: warning: non-void function does not return a value [-Wreturn-type] 980 | } | ^ findpaths.c:985:28: warning: call to undeclared function 'is_marked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 985 | while(b_list != NULL && (is_marked(b_list->seg) || is_gp(b_list->seg)) ) | ^ findpaths.c:982:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | SEGLIST *get_next_branch(b_list) | ^ In file included from findpaths.c:5: ./induct.h:565:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 565 | SEGLIST *get_next_branch(); | ^ findpaths.c:991:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | int is_marked(seg) | ^ findpaths.c:1004:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1004 | mark_seg(seg) | ^ | int findpaths.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1011:1: warning: non-void function does not return a value [-Wreturn-type] 1011 | } | ^ findpaths.c:1013:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1013 | unmark_seg(seg) | ^ | int findpaths.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1020:1: warning: non-void function does not return a value [-Wreturn-type] 1020 | } | ^ findpaths.c:1022:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1022 | mark_node(node) | ^ | int findpaths.c:1022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1026:1: warning: non-void function does not return a value [-Wreturn-type] 1026 | } | ^ findpaths.c:1028:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1028 | unmark_node(node) | ^ | int findpaths.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1032:1: warning: non-void function does not return a value [-Wreturn-type] 1032 | } | ^ findpaths.c:1034:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1034 | is_node_marked(node) | ^ | int findpaths.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1040:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | PATHLIST *add_path_to_list(path, list) | ^ In file included from findpaths.c:5: ./induct.h:564:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 564 | PATHLIST *add_path_to_list(); | ^ findpaths.c:1053:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1053 | make_loop(node_l, node_s, seg, tree) | ^ | int findpaths.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1126:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1126 | } | ^ findpaths.c:1128:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | int count_tree_meshes(trees) | ^ In file included from findpaths.c:5: ./induct.h:566:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 566 | int count_tree_meshes(); | ^ findpaths.c:1178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | int count_externals(ext_list) | ^ In file included from findpaths.c:5: ./induct.h:567:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 567 | int count_externals(); | ^ findpaths.c:1208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1208 | find_hole_meshes(indsys) | ^ | int findpaths.c:1220:30: warning: passing arguments to 'get_next_gphole_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | node = get_next_gphole_node(indsys->nodes); | ^ findpaths.c:1241:10: warning: call to undeclared function 'is_hole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1241 | if (is_hole(tnode) && !is_node_marked(tnode)) { | ^ findpaths.c:1250:41: warning: passing arguments to 'find_surrounding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | surrounding_nodes = find_surrounding(nodes_in_hole); | ^ findpaths.c:1252:5: warning: call to undeclared function 'clear_marks_and_level'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1252 | clear_marks_and_level(surrounding_nodes); | ^ findpaths.c:1255:5: warning: call to undeclared function 'make_gp_trees'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1255 | make_gp_trees(surrounding_nodes, atree); | ^ findpaths.c:1260:32: warning: passing arguments to 'get_next_gphole_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | node = get_next_gphole_node(node); | ^ findpaths.c:1265:5: warning: call to undeclared function 'mark_used_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1265 | mark_used_segs(atree->loops); | ^ findpaths.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | find_hole_meshes(indsys) | ^ findpaths.c:1270:1: warning: non-void function does not return a value [-Wreturn-type] 1270 | } | ^ findpaths.c:1275:27: warning: call to undeclared function 'is_hole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1275 | while(node != NULL && (!is_hole(node) || is_node_marked(node))) | ^ findpaths.c:1272:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | NODES *get_next_gphole_node(node) | ^ In file included from findpaths.c:5: ./induct.h:585: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] 585 | NODES *get_next_gphole_node(); | ^ findpaths.c:1305:9: warning: call to undeclared function 'is_hole'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1305 | if (!is_hole(tnode) && !is_orignode_in_list(tnode, surround)) | ^ findpaths.c:1281:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | NPATH *find_surrounding(nodes_in_hole) | ^ In file included from findpaths.c:5: ./induct.h:581: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] 581 | NPATH *find_surrounding(); | ^ findpaths.c:1313:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1313 | clear_marks_and_level(nlist) | ^ | int findpaths.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1322:1: warning: non-void function does not return a value [-Wreturn-type] 1322 | } | ^ findpaths.c:1327:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1327 | make_gp_trees(nlist, atree) | ^ | int findpaths.c:1341:32: warning: passing arguments to 'get_next_unexamined_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | np = get_next_unexamined_node(nlist); | ^ findpaths.c:1349:46: warning: passing arguments to 'get_next_around_hole' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | seg.segp = (void *)get_next_around_hole(node, &connected_counter, nlist); | ^ findpaths.c:1358:23: warning: passing arguments to 'make_gp_loop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | path = make_gp_loop(node, other, seg); | ^ findpaths.c:1364:41: warning: passing arguments to 'get_next_around_hole' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | seg.segp = (void *)get_next_around_hole(node,&connected_counter,nlist); | ^ findpaths.c:1368:34: warning: passing arguments to 'get_next_unexamined_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | np = get_next_unexamined_node(np); | ^ findpaths.c:1379:3: warning: call to undeclared function 'clear_used_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1379 | clear_used_segs(atree->loops); | ^ findpaths.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | make_gp_trees(nlist, atree) | ^ findpaths.c:1380:1: warning: non-void function does not return a value [-Wreturn-type] 1380 | } | ^ findpaths.c:1382:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | NPATH *get_next_unexamined_node(np) | ^ In file included from findpaths.c:5: ./induct.h:582: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] 582 | NPATH *get_next_unexamined_node(); | ^ findpaths.c:1399:37: warning: passing arguments to 'get_next_gp_seg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | seg.segp = (void *)get_next_gp_seg(node, counter); | ^ findpaths.c:1404:41: warning: passing arguments to 'get_next_gp_seg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | seg.segp = (void *)get_next_gp_seg(node, counter); | ^ findpaths.c:1392:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | SEGMENT *get_next_around_hole(node, counter, nlist) | ^ In file included from findpaths.c:5: ./induct.h:586:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 586 | SEGMENT *get_next_around_hole(); | ^ findpaths.c:1411:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | SEGMENT *get_next_gp_seg(node, counter) | ^ In file included from findpaths.c:5: ./induct.h:583:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 583 | SEGMENT *get_next_gp_seg(); | ^ findpaths.c:1460:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | SPATH *make_gp_loop(node_l, node_s, seg) | ^ In file included from findpaths.c:5: ./induct.h:584:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 584 | SPATH *make_gp_loop(); | ^ findpaths.c:1497:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1497 | clear_used_segs(plist) | ^ | int findpaths.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1506:1: warning: non-void function does not return a value [-Wreturn-type] 1506 | } | ^ findpaths.c:1509:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1509 | mark_used_segs(plist) | ^ | int findpaths.c:1509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] findpaths.c:1518:1: warning: non-void function does not return a value [-Wreturn-type] 1518 | } | ^ findpaths.c:1533:27: warning: passing arguments to 'dist_between_nodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | min = dist_between_nodes(node, min_node); | ^ findpaths.c:1538:30: warning: passing arguments to 'dist_between_nodes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | dist = dist_between_nodes(node, nodelist->node); | ^ findpaths.c:1522:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | NODES *find_nearest_node(node, nodelist) | ^ In file included from findpaths.c:5: ./induct.h:578: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] 578 | NODES *find_nearest_node(); | ^ findpaths.c:1549:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | double dist_between_nodes(n1, n2) | ^ In file included from findpaths.c:5: ./induct.h:579: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] 579 | double dist_between_nodes(); | ^ 183 warnings generated. --- mulLocal.o --- mulLocal.c:15:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | void evalFacFra(array, order) | ^ mulLocal.c:51:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | void evalSqrtFac(arrayout, arrayin, order) | ^ mulLocal.c:78:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | void evalSinCos(beta, order) | ^ mulLocal.c:94:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | double sinB(sum) | ^ mulLocal.c:104:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | double cosB(sum) | ^ mulLocal.c:118:15: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 118 | int terms = multerms(order); /* the number of non-zero moments */ | ^ mulLocal.c:119:12: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | int ct = costerms(order); /* the number of non-zero cos (bar) moments */ | ^ mulLocal.c:129:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | CALLOC(mat, terms, double*, ON, AM2L); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:131:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | CALLOC(mat[i], terms, double, ON, AM2L); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:134:3: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | xyz2sphere(x, y, z, xp, yp, zp, &rho, &cosA, &beta); | ^ mulLocal.c:137:3: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | evalLegendre(cosA, tleg, 2*order); /* multi->loc needs 2x legendres */ | ^ mulLocal.c:165: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] 165 | *facFrA[j+n-abs(m-k)][n+m]*iPwr(abs(k-m)-k-m); | ^ mulLocal.c:113:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | double **mulMulti2Local(x, y, z, xp, yp, zp, order) | ^ mulLocal.c:207:15: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | int terms = multerms(order); /* the number of non-zero moments */ | ^ mulLocal.c:208:12: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | int ct = costerms(order); /* the number of non-zero cos (bar) moments */ | ^ mulLocal.c:218:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | CALLOC(mat, terms, double*, ON, AL2L); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:220:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | CALLOC(mat[i], terms, double, ON, AL2L); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:223:3: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | xyz2sphere(x, y, z, xc, yc, zc, &rho, &cosA, &beta); | ^ mulLocal.c:226:3: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | evalLegendre(cosA, tleg, 2*order); /* local->local needs 2x legendres */ | ^ mulLocal.c:254: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] 254 | *facFrA[0][n-j+abs(m-k)]*iPwr(m-k-abs(m-k))*rhoFac; | ^ mulLocal.c:256: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] 256 | *facFrA[0][n-j+m+k]*iPwr(2*k)*rhoFac; | ^ mulLocal.c:258: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] 258 | *facFrA[0][n-j+k]*iPwr(2*k)*rhoFac; | ^ mulLocal.c:202:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | double **mulLocal2Local(x, y, z, xc, yc, zc, order) | ^ mulLocal.c:310:16: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | int cterms = costerms(order), terms = multerms(order); | ^ mulLocal.c:310:41: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | int cterms = costerms(order), terms = multerms(order); | ^ mulLocal.c:316:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | CALLOC(mat, terms, double*, ON, AQ2L); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:318:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | CALLOC(mat[i], numchgs, double, ON, AQ2L); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:325:5: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | xyz2sphere(chgs[j]->x, chgs[j]->y, chgs[j]->z, | ^ mulLocal.c:329:5: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | evalLegendre(cosA, tleg, order); /* write moments to temporary array */ | ^ mulLocal.c:372: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] 372 | if(m == 0) mat[CINDEX(n, m)][j] *= fact(n); /* j! part of bar(N)j^0 */ | ^ mulLocal.c:374: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] 374 | temp = 2.0*fact(n-m); /* find the factorial for moment */ | ^ mulLocal.c:304:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | double **mulQ2Local(chgs, numchgs, is_dummy, x, y, z, order) | ^ mulLocal.c:416:16: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | int cterms = costerms(order), terms = multerms(order); | ^ mulLocal.c:416:41: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 416 | int cterms = costerms(order), terms = multerms(order); | ^ mulLocal.c:418:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | CALLOC(mat, numchgs, double*, ON, AL2P); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:420:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | CALLOC(mat[i], terms, double, ON, AL2P); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulLocal.c:425:5: warning: call to undeclared function 'xyz2sphere'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 425 | xyz2sphere(chgs[i]->x, chgs[i]->y, chgs[i]->z, | ^ mulLocal.c:429:5: warning: call to undeclared function 'evalLegendre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 429 | evalLegendre(cosTh, mat[i], order); /* wr moms to 1st (cos) half of row */ | ^ mulLocal.c:457: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] 457 | for(i = 0; i < numchgs; i++) mat[i][CINDEX(n, m)] /= fact(n+m); | ^ mulLocal.c:406:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | double **mulLocal2P(x, y, z, chgs, numchgs, order) | ^ 40 warnings generated. --- find_nonuni_path.o --- find_nonuni_path.c:15:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | GP_PANIC("path_through_nonuni_gp: nodein->gp_node == NULL!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:20:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | GP_PANIC("path_through_nonuni_gp: nodeout->gp_node == NULL!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:23:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | GP_PANIC("path_through_nonuni_gp: Path starts and ends at same node!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:33:3: warning: call to undeclared function 'clear_nonuni_marks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | clear_nonuni_marks(gp->nodelist); | ^ find_nonuni_path.c:34:27: warning: passing arguments to 'get_a_nonuni_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | path = get_a_nonuni_path(in, out, gp, NULL); | ^ find_nonuni_path.c:38:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | GP_PANIC("find_non_uni_gp: You haven't added z-segs to path"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:4:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | SPATH *path_through_nonuni_gp(nodein, nodeout, plane) | ^ find_nonuni_path.c:44:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 44 | clear_nonuni_marks(node) | ^ | int find_nonuni_path.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] find_nonuni_path.c:51:1: warning: non-void function does not return a value [-Wreturn-type] 51 | } | ^ find_nonuni_path.c:63:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | get_nonuni_coords(xg, yg, zg, gp, &x, &y, &z); | ^ find_nonuni_path.c:66:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | nearest = get_containing_cell(x, y, gp->root_cell); | ^ find_nonuni_path.c:68:8: warning: call to undeclared function 'is_in_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | if (!is_in_cell(x,y,nearest)) | ^ find_nonuni_path.c:72:32: warning: passing arguments to 'find_nearest_edge_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | return find_nearest_edge_node(x, y, nearest); | ^ find_nonuni_path.c:54:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | G_nodes *find_nearest_nonuni_node(xg, yg, zg, gp) | ^ In file included from find_nonuni_path.c:1: ./gp.h:233:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 233 | G_nodes *find_nearest_nonuni_node(); | ^ find_nonuni_path.c:92:35: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | distance_to_goal = get_node_dist(node_goal->x, node_goal->y, node); | ^ find_nonuni_path.c:100:29: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | new_dist = get_node_dist(node_goal->x, node_goal->y, neighbor); | ^ find_nonuni_path.c:101:34: warning: passing arguments to 'add_nonuni_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | nchoices += add_nonuni_choice(&choices[nchoices], nodes_so_far, | ^ find_nonuni_path.c:107:29: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | new_dist = get_node_dist(node_goal->x, node_goal->y, neighbor); | ^ find_nonuni_path.c:108:34: warning: passing arguments to 'add_nonuni_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | nchoices += add_nonuni_choice(&choices[nchoices], nodes_so_far, | ^ find_nonuni_path.c:114:29: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | new_dist = get_node_dist(node_goal->x, node_goal->y, neighbor); | ^ find_nonuni_path.c:115:34: warning: passing arguments to 'add_nonuni_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | nchoices += add_nonuni_choice(&choices[nchoices], nodes_so_far, | ^ find_nonuni_path.c:121:29: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | new_dist = get_node_dist(node_goal->x, node_goal->y, neighbor); | ^ find_nonuni_path.c:122:34: warning: passing arguments to 'add_nonuni_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | nchoices += add_nonuni_choice(&choices[nchoices], nodes_so_far, | ^ find_nonuni_path.c:128:3: warning: call to undeclared function 'sort_nonuni_choices'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | sort_nonuni_choices(choices, nchoices); | ^ find_nonuni_path.c:131:33: warning: passing arguments to 'add_ptr_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | nodes_so_far = add_ptr_to_list( (void *)node, nodes_so_far); | ^ find_nonuni_path.c:136:29: warning: passing arguments to 'add_seg_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | path = add_seg_to_list(sptr, path); | ^ find_nonuni_path.c:145:24: warning: passing arguments to 'add_seg_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | path = add_seg_to_list(sptr,path); | ^ find_nonuni_path.c:76:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | SPATH *get_a_nonuni_path(node, node_goal, plane, nodes_so_far) | ^ In file included from find_nonuni_path.c:1: ./gp.h:237: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] 237 | SPATH *get_a_nonuni_path(); | ^ find_nonuni_path.c:164:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 164 | sort_nonuni_choices(choices, num) | ^ | int find_nonuni_path.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:178:1: warning: non-void function does not return a value [-Wreturn-type] 178 | } | ^ find_nonuni_path.c:187:33: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | new_llist = (Llist *)gp_malloc(sizeof(Llist)); | ^ find_nonuni_path.c:181:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | Llist *add_ptr_to_list(ptr, list) | ^ In file included from find_nonuni_path.c:1: ./gp.h:238: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] 238 | Llist *add_ptr_to_list(); | ^ find_nonuni_path.c:203:24: warning: call to undeclared function 'is_ptr_in_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | if (segs != NULL && !is_ptr_in_list((void *)node, nodes_so_far) | ^ find_nonuni_path.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 add_nonuni_choice(choice, nodes_so_far, segs, node, delta) | ^ In file included from find_nonuni_path.c:1: ./gp.h:239:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 239 | int add_nonuni_choice(); | ^ find_nonuni_path.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 215 | is_ptr_in_list(ptr, list) | ^ | int find_nonuni_path.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:239:34: warning: passing arguments to 'get_containing_bi_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | return get_containing_bi_cell( x, y, cell); | ^ find_nonuni_path.c:242:36: warning: passing arguments to 'get_containing_grid_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | return get_containing_grid_cell( x, y, cell ); | ^ find_nonuni_path.c:245:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | GP_PANIC("Unknown child type in set_cell_coords") | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:229:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | Gcell *get_containing_cell(x, y, cell) | ^ In file included from find_nonuni_path.c:1: ./gp.h:234: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] 234 | Gcell *get_containing_cell(); | ^ find_nonuni_path.c:251:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Gcell *get_containing_grid_cell( x, y, cell ) | ^ In file included from find_nonuni_path.c:1: ./gp.h:235: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] 235 | Gcell *get_containing_grid_cell(); | ^ find_nonuni_path.c:312:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | GP_PANIC("get_containing bi_kids: Unknown bi_type!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:287:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | Gcell *get_containing_bi_cell( x, y, cell) | ^ In file included from find_nonuni_path.c:1: ./gp.h:236: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] 236 | Gcell *get_containing_bi_cell(); | ^ find_nonuni_path.c:315:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 315 | is_in_cell(x, y, cell) | ^ | int find_nonuni_path.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:343:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | GP_PANIC("find_nearest_edge_node: This isn't a leaf cell!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:396:19: warning: passing arguments to 'scan_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | return scan_edge(x, y, nodes[quad], direction); | ^ find_nonuni_path.c:327:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | G_nodes *find_nearest_edge_node(x, y, cell) | ^ In file included from find_nonuni_path.c:1: ./gp.h:240:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 240 | G_nodes *find_nearest_edge_node(); | ^ find_nonuni_path.c:409:23: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | dist = get_node_dist(x,y,node); | ^ find_nonuni_path.c:414:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | GP_PANIC("scan_edge: adjacent[dir] == NULL!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:416:30: warning: passing arguments to 'get_node_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | while( (tmp = get_node_dist(x,y,node->adjacent[dir])) < dist) { | ^ find_nonuni_path.c:399:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | G_nodes *scan_edge(x, y, node, dir) | ^ In file included from find_nonuni_path.c:1: ./gp.h:241:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 241 | G_nodes *scan_edge(); | ^ find_nonuni_path.c:428:18: warning: passing arguments to 'get_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | return get_dist(x - node->x, y - node->y); | ^ find_nonuni_path.c:424:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | double get_node_dist(x,y,node) | ^ In file included from find_nonuni_path.c:1: ./gp.h:242: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] 242 | double get_node_dist(); | ^ find_nonuni_path.c:431:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | double get_dist(x,y) | ^ In file included from find_nonuni_path.c:1: ./gp.h:243: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] 243 | double get_dist(); | ^ find_nonuni_path.c:444:3: warning: call to undeclared function 'make_children_meshes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 444 | make_children_meshes(plane->nonuni->root_cell, pMlist, &counter); | ^ find_nonuni_path.c:447:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | GP_PANIC("make_nonuni_Mlist: z_mesh function not written!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:453:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | GP_PANIC("make_nonuni_Mlist: number of meshes too big!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:437:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | int make_nonuni_Mlist(plane, pMlist) | ^ find_nonuni_path.c:458:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 458 | make_children_meshes(cell, pMlist, pcount) | ^ | int find_nonuni_path.c:465:16: warning: call to undeclared function 'make_leaf_mesh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | *pcount += make_leaf_mesh(cell, &(pMlist[*pcount])); | ^ find_nonuni_path.c:472:5: warning: call to undeclared function 'make_grid_children_meshes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 472 | make_grid_children_meshes( (Grid_2d *)cell->children, pMlist, pcount); | ^ find_nonuni_path.c:475:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | GP_PANIC("make_children_meshes: Unknown child type!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | make_children_meshes(cell, pMlist, pcount) | ^ find_nonuni_path.c:478:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 478 | } | ^ find_nonuni_path.c:480:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 480 | make_grid_children_meshes( grid, pMlist, pcount) | ^ | int find_nonuni_path.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:490:1: warning: non-void function does not return a value [-Wreturn-type] 490 | } | ^ find_nonuni_path.c:492:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 492 | make_leaf_mesh(cell, pMlist) | ^ | int find_nonuni_path.c:502:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | GP_PANIC("make_leaf_mesh: not a leaf"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:512:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 512 | GP_PANIC("make_leaf_mesh: NULL segments bordering non-hole cell!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:529:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 529 | GP_PANIC("make_leaf_mesh: Adjacent hole cells not allowed!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:536:36: warning: passing arguments to 'add_edge_segs_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | *pMlist = add_edge_segs_to_list(nodes[SW], nodes[NW], N, 1, *pMlist); | ^ find_nonuni_path.c:537:36: warning: passing arguments to 'add_edge_segs_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | *pMlist = add_edge_segs_to_list(nodes[NW], nodes[NE], E, 1, *pMlist); | ^ find_nonuni_path.c:538:36: warning: passing arguments to 'add_edge_segs_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | *pMlist = add_edge_segs_to_list(nodes[SE], nodes[NE], N, -1, *pMlist); | ^ find_nonuni_path.c:539:36: warning: passing arguments to 'add_edge_segs_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | *pMlist = add_edge_segs_to_list(nodes[SW], nodes[SE], E, -1, *pMlist); | ^ find_nonuni_path.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | make_leaf_mesh(cell, pMlist) | ^ find_nonuni_path.c:563:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | GP_PANIC("add_edge_segs_to_list: bad dir"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:565:26: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | melem = make_melement(fil->filnumber, fil, signofelem); | ^ find_nonuni_path.c:566:27: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | plist = insert_in_list(melem, plist); | ^ find_nonuni_path.c:546:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | MELEMENT *add_edge_segs_to_list(node0, node1, dir, signofelem, mfirst) | ^ In file included from find_nonuni_path.c:1: ./gp.h:244:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 244 | MELEMENT *add_edge_segs_to_list(); | ^ find_nonuni_path.c:598:35: warning: passing arguments to 'get_nonuni_node_from_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | node = get_nonuni_node_from_list(nonuni_node, node_list); | ^ find_nonuni_path.c:605:37: warning: passing arguments to 'make_new_node_with_nonuni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | return make_new_node_with_nonuni(nonuni_node,name, index, | ^ find_nonuni_path.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 | NODES *get_or_make_nearest_node(name, index, x, y, z, indsys, gp, node_list) | ^ In file included from find_nonuni_path.c:1: In file included from ./gp.h:6: ./induct.h:616: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] 616 | NODES *get_or_make_nearest_node(); | ^ find_nonuni_path.c:623:18: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | node = makenode(name, index, x, y, z, NORMAL, indsys); | ^ find_nonuni_path.c:611:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | NODES *make_new_node_with_nonuni(nonuni_node, name, index, x, y, z, indsys, gp) | ^ In file included from find_nonuni_path.c:1: ./gp.h:247: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] 247 | NODES *make_new_node_with_nonuni(); | ^ find_nonuni_path.c:633:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | NODES *get_nonuni_node_from_list(nonuni_node, nodeL) | ^ In file included from find_nonuni_path.c:1: ./gp.h:246: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] 246 | NODES *get_nonuni_node_from_list(); | ^ find_nonuni_path.c:657:7: warning: call to undeclared function 'intersection'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 657 | if (intersection(x0,y0,x1,y1,cell->x0,cell->y0,cell->x1,cell->y1) == FALSE) | ^ find_nonuni_path.c:663:30: warning: passing arguments to 'which_nodes_inside' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | return which_nodes_inside(x0,y0,x1,y1,cell, endoflist); | ^ find_nonuni_path.c:665:36: warning: passing arguments to 'bi_get_nodes_inside_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | return bi_get_nodes_inside_rect( x0, y0, x1, y1, cell, endoflist); | ^ find_nonuni_path.c:668:38: warning: passing arguments to 'grid_get_nodes_inside_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | return grid_get_nodes_inside_rect( x0, y0, x1, y1, cell, endoflist); | ^ find_nonuni_path.c:671:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | GP_PANIC("Unknown child type in set_cell_coords") | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:649:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | Llist *get_nodes_inside_rect(x0, y0, x1, y1, cell, endoflist) | ^ In file included from find_nonuni_path.c:1: ./gp.h:248: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] 248 | Llist *get_nodes_inside_rect(); | ^ find_nonuni_path.c:695:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 695 | GP_PANIC("bi_get_nodes_inside_rect: oneend is not end of list!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:676:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | Llist *bi_get_nodes_inside_rect( x0, y0, x1, y1, cell, endoflist) | ^ In file included from find_nonuni_path.c:1: ./gp.h:249: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] 249 | Llist *bi_get_nodes_inside_rect(); | ^ find_nonuni_path.c:727:3: warning: call to undeclared function 'get_grid_indices'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 727 | get_grid_indices(cell, x0, y1, &row_start, &col_start); /* top left */ | ^ find_nonuni_path.c:708:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Llist *grid_get_nodes_inside_rect( x0, y0, x1, y1, cell, endoflist) | ^ In file included from find_nonuni_path.c:1: ./gp.h:250: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] 250 | Llist *grid_get_nodes_inside_rect(); | ^ find_nonuni_path.c:748:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 748 | get_grid_indices(cell, x, y, pi, pj) | ^ | int find_nonuni_path.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:774:1: warning: non-void function does not return a value [-Wreturn-type] 774 | } | ^ find_nonuni_path.c:778:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 778 | intersection(x0,y0,x1,y1,cx0,cy0,cx1,cy1) | ^ | int find_nonuni_path.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:798:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 798 | GP_PANIC("which_nodes_inside: non-leaf cell!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ find_nonuni_path.c:790:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | Llist *which_nodes_inside(x0,y0,x1,y1,cell, endoflist) | ^ In file included from find_nonuni_path.c:1: ./gp.h:251: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] 251 | Llist *which_nodes_inside(); | ^ find_nonuni_path.c:831:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 831 | free_Llist(list) | ^ | int find_nonuni_path.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] find_nonuni_path.c:841:1: warning: non-void function does not return a value [-Wreturn-type] 841 | } | ^ 128 warnings generated. --- zbuf --- mv zbuf ../../bin/zbuf --- fasthenry --- --- Precond.o --- Precond.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | indPrecond(sys, indsys, w) | ^ | int Precond.c:98:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | CALLOC(filcount, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:99:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | CALLOC(filcount2, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:100:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | CALLOC(is_partial, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:101:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | CALLOC(maxfilcount, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:102:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | CALLOC(indx, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:103:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | CALLOC(findx, num_fils, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:104:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | CALLOC(is_in_nc, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:116:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | concat4(outfname,"Ls",indsys->opts->suffix,".mat"); | ^ Precond.c:148:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | MALLOC(mat, maxsize, double*, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ Precond.c:149:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | MALLOC(fillist, maxsize, int, ON, IND); /* filament numbers IND stuff */ | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ Precond.c:151:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | MALLOC(mat[i], maxsize, double, ON, AMSC); | ^ ./mulGlobal.h:217:36: note: expanded from macro 'MALLOC' 217 | else if(((PNTR)=(TYPE*)MALCORE((unsigned)((NUM)*sizeof(TYPE))))==NULL) { \ | ^ Precond.c:198:34: warning: passing arguments to 'shift_mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | shiftval = shift_mutual(nc_pc[i]->fil, nc_pc[j]->fil, sys); | ^ Precond.c:236:38: warning: passing arguments to 'shift_mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | shiftval = shift_mutual(nc_pc[i]->fil, nnbr_pc[j]->fil, | ^ Precond.c:353:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | CALLOC(meshnum, meshsize + 10, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:354:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | CALLOC(meshmat, meshsize + 10, CX*, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:356:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | CALLOC(meshmat[i], meshsize + 10, CX, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:357:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | CALLOC(is_dup, meshsize + 10, DUPS, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:448:7: warning: call to undeclared function 'mark_dup_mesh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | mark_dup_mesh(Mlist, meshnum, meshsize, is_dup, findx); | ^ Precond.c:454:2: warning: call to undeclared function 'savecmplx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | savecmplx(fp, "before", meshmat, meshsize, meshsize); | ^ Precond.c:468:7: warning: call to undeclared function 'cx_invert_dup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | cx_invert_dup(meshmat, meshsize, is_dup); | ^ Precond.c:471:2: warning: call to undeclared function 'savecmplx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | savecmplx(fp, "after", meshmat, meshsize, meshsize); | ^ Precond.c:488:6: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | CALLOC(Precond[realmrow], 1, PRE_ELEMENT, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:494:8: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | CALLOC(pre, 1, PRE_ELEMENT, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:534:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | CALLOC(Precond[i], 1, PRE_ELEMENT, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:592:5: warning: call to undeclared function 'dumpPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | dumpPrecond(Precond, num_mesh, indsys->opts->suffix); | ^ Precond.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | indPrecond(sys, indsys, w) | ^ Precond.c:601:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 601 | } | ^ Precond.c:605:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 605 | multPrecond(Precond, x, result, size) | ^ | int Precond.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Precond.c:622:1: warning: non-void function does not return a value [-Wreturn-type] 622 | } | ^ Precond.c:626:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | MELEMENT *getnext(mel, findx) | ^ Precond.c:639:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 639 | cx_invert_dup(mat, size, is_dup) | ^ | int Precond.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Precond.c:672:1: warning: non-void function does not return a value [-Wreturn-type] 672 | } | ^ Precond.c:684:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 684 | mark_dup_mesh(Mlist, meshnum, meshsize, is_dup, findx) | ^ | int Precond.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] Precond.c:724:1: warning: non-void function does not return a value [-Wreturn-type] 724 | } | ^ Precond.c:726:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 726 | dumpPrecond(Precond, size, suffix) | ^ | int Precond.c:741:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | CALLOC(temprow, cols, double, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:743:3: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 743 | concat4(outfname,"Pre",suffix,".mat"); | ^ Precond.c:762:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | savemat_mod(fp, machine+100, "Pre", rows, cols, 1, temprow, | ^ Precond.c:772:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | savemat_mod(fp, machine+100, "Pre", rows, cols, 1, temprow, | ^ Precond.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | dumpPrecond(Precond, size, suffix) | ^ Precond.c:778:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 778 | } | ^ Precond.c:782:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 782 | indPrecond_direct(sys, indsys, w) | ^ | int Precond.c:805:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | CALLOC(filcount, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:806:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | CALLOC(is_in_nc, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:807:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | CALLOC(maxfilcount, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:808:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | CALLOC(indx, num_mesh, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:861:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | CALLOC(meshnum, meshsize + 10, int, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:862:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | CALLOC(meshmat, meshsize + 10, CX*, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:864:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | CALLOC(meshmat[i], meshsize + 10, CX, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:892:7: warning: call to undeclared function 'savecmplx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 892 | savecmplx(fp, "before", meshmat, meshsize, meshsize); | ^ Precond.c:899:5: warning: call to undeclared function 'cx_invert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 899 | cx_invert(meshmat, meshsize); | ^ Precond.c:902:7: warning: call to undeclared function 'savecmplx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 902 | savecmplx(fp, "after", meshmat, meshsize, meshsize); | ^ Precond.c:916:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | CALLOC(Precond[realmrow], 1, PRE_ELEMENT, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:922:6: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | CALLOC(pre, 1, PRE_ELEMENT, ON, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ Precond.c:782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | indPrecond_direct(sys, indsys, w) | ^ Precond.c:980:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 980 | } | ^ 60 warnings generated. --- induct.o --- induct.c:7:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern double asinh(); | ^ induct.c:8:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 8 | extern double atanh(); | ^ induct.c:94:28: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | indsys = (SYS *)MattAlloc(1, sizeof(SYS)); | ^ induct.c:101:36: warning: passing arguments to 'Parse_Command_Line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | indsys->opts = Parse_Command_Line(argc, argv); | ^ induct.c:139:9: warning: call to undeclared function 'readGeom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | err = readGeom(fp, indsys); | ^ induct.c:150:5: warning: call to undeclared function 'regurgitate'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | regurgitate(indsys); | ^ induct.c:163:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | concat4(outfname,"zbuffile",opts->suffix,""); | ^ induct.c:165:5: warning: call to undeclared function 'writefastcap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | writefastcap(outfname, outfname2, indsys); | ^ induct.c:174:3: warning: call to undeclared function 'fill_Gquad'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | fill_Gquad(); | ^ induct.c:177:3: warning: call to undeclared function 'init_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 177 | init_table(); | ^ induct.c:184:23: warning: passing arguments to 'assignFil' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | chgend = assignFil(seg, &num_fils, chgend); | ^ induct.c:201:19: warning: passing arguments to 'SetupMulti' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | sys = SetupMulti(chglist, indsys); | ^ induct.c:218:3: warning: call to undeclared function 'make_trees'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | make_trees(indsys); | ^ induct.c:221:3: warning: call to undeclared function 'clear_marks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | clear_marks(indsys); | ^ induct.c:226:3: warning: call to undeclared function 'find_hole_meshes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 226 | find_hole_meshes(indsys); | ^ induct.c:231:26: warning: call to undeclared function 'pick_subset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | = pick_subset(opts->portlist, indsys); | ^ induct.c:239:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 239 | concat4(outfname,"Zc",opts->suffix,".mat"); /* put filnames together */ | ^ induct.c:272:20: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (getrealnode(node) == node) { | ^ induct.c:315:56: warning: passing arguments to 'count_tree_meshes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | tree_meshes = indsys->tree_meshes = count_tree_meshes(indsys->trees); | ^ induct.c:327:31: warning: passing arguments to 'count_externals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | num_extern = count_externals(indsys->externals); | ^ induct.c:362:30: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | indsys->Z = MatrixAlloc(num_fils, num_fils, sizeof(double)); | ^ induct.c:365:5: warning: '/*' within block comment [-Wcomment] 365 | /* indsys->MtZM = (CX **)MatrixAlloc(num_mesh, num_mesh, sizeof(CX)); */ | ^ induct.c:367:38: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | indsys->FinalY = (CX **)MatrixAlloc(num_extern, num_sub_extern, sizeof(CX)); | ^ induct.c:368:22: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | b = (CX *)MattAlloc(num_mesh,sizeof(CX)); | ^ induct.c:369:23: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | x0 = (CX *)MattAlloc(num_mesh,sizeof(CX)); | ^ induct.c:370:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | indsys->R = (double *)MattAlloc(num_fils,sizeof(double)); | ^ induct.c:371:38: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | indsys->meshsect = (int *)MattAlloc((num_extern+nonp+1),sizeof(int)); | ^ induct.c:372:25: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | vect = (CX *)MattAlloc(num_mesh,sizeof(CX)); | ^ induct.c:373:27: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | pvect = (CX **)MattAlloc(num_mesh,sizeof(CX *)); | ^ induct.c:374:41: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | indsys->Mlist = (MELEMENT **)MattAlloc(num_mesh,sizeof(MELEMENT *)); | ^ induct.c:375:42: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | indsys->Mtrans = (MELEMENT **)MattAlloc(num_fils,sizeof(MELEMENT *)); | ^ induct.c:376:38: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | indsys->m_info = (Minfo *)MattAlloc(num_mesh,sizeof(Minfo)); | ^ induct.c:377:46: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | indsys->Precond = (PRE_ELEMENT **)MattAlloc(num_mesh, sizeof(PRE_ELEMENT *)); | ^ induct.c:379:33: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | indsys->resids = MatrixAlloc(num_sub_extern,user_maxiters, sizeof(double)); | ^ induct.c:380:37: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | indsys->resid_real = MatrixAlloc(num_sub_extern, user_maxiters, | ^ induct.c:382:37: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | indsys->resid_imag = MatrixAlloc(num_sub_extern, user_maxiters, | ^ induct.c:384:41: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | indsys->niters = (double *)MattAlloc(num_sub_extern, sizeof(double)); | ^ induct.c:406:8: warning: passing arguments to 'fillM' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | fillM(indsys); /* expects hole meshes to be marked */ | ^ induct.c:411:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 411 | concat4(outfname,"zbuffile2",opts->suffix,""); | ^ induct.c:417:5: warning: call to undeclared function 'writefastcap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | writefastcap(outfname, outfname2, indsys); | ^ induct.c:432:38: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | indsys->MtZM = (CX **)MatrixAlloc(num_mesh, num_mesh, sizeof(CX)); | ^ induct.c:438:7: warning: call to undeclared function 'dump_mesh_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 438 | dump_mesh_coords(indsys); | ^ induct.c:440:7: warning: call to undeclared function 'dump_ascii_mesh_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 440 | dump_ascii_mesh_coords(indsys); | ^ induct.c:443:3: warning: call to undeclared function 'formMtrans'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | formMtrans(indsys); /* Form M transpose by row*/ | ^ induct.c:446:8: warning: passing arguments to 'fillZ' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | fillZ(indsys); | ^ induct.c:458:5: warning: call to undeclared function 'get_table_mem'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 458 | get_table_mem()); | ^ induct.c:461:3: warning: call to undeclared function 'destroy_table'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | destroy_table(); | ^ induct.c:464:3: warning: call to undeclared function 'choose_and_setup_precond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | choose_and_setup_precond(indsys); | ^ induct.c:468:5: warning: call to undeclared function 'savemats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | savemats(indsys); | ^ induct.c:485:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 485 | concat4(outfname,"Ycond",opts->suffix,".mat"); | ^ induct.c:496:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 496 | concat4(outfname,"b",opts->suffix,".mat"); | ^ induct.c:507:5: warning: call to undeclared function 'createMRMt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | createMRMt(&MRMt, indsys); | ^ induct.c:509:20: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | B = MatrixAlloc(num_mesh, num_extern, sizeof(double)); | ^ induct.c:510:20: warning: passing arguments to 'MatrixAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | C = MatrixAlloc(num_mesh, num_extern, sizeof(double)); | ^ induct.c:528:7: warning: call to undeclared function 'formMLMt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 528 | formMLMt(indsys); /*form (M^t)*(L)*M and store in indys->MtZM*/ | ^ induct.c:531:22: warning: call to undeclared function 'ArnoldiROM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | actual_order = ArnoldiROM(B, C, (double **)NULL, MRMt, num_mesh, | ^ induct.c:536:22: warning: call to undeclared function 'ArnoldiROM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | actual_order = ArnoldiROM(B, C, (double **)NULL, MRMt, num_mesh, | ^ induct.c:554:7: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 554 | concat4(outfname,"rom",opts->suffix,".m"); | ^ induct.c:560:7: warning: call to undeclared function 'dumpROM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 560 | dumpROM(fROM, indsys->Ar, indsys->Br, indsys->Cr, indsys->Dr, | ^ induct.c:567:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | concat4(outfname,"equiv_circuitROM",opts->suffix,".spice"); | ^ induct.c:572:5: warning: call to undeclared function 'dumpROMequiv_circuit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | dumpROMequiv_circuit(fROM, indsys->Ar, indsys->Br, indsys->Cr, indsys->Dr, | ^ induct.c:598:7: warning: call to undeclared function 'formMZMt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 598 | formMZMt(indsys); /*form transpose(M)*(R+jL)*M (no w) */ | ^ induct.c:603:13: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 603 | concat4(outfname,"MZMt",opts->suffix,".mat"); | ^ induct.c:610:6: warning: call to undeclared function 'savecmplx2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 610 | savecmplx2(fp2,"MZMt",indsys->MtZM, indsys->num_mesh,indsys->num_mesh); | ^ induct.c:614:13: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 614 | concat4(outfname,"MZMt",opts->suffix,".dat"); | ^ induct.c:620:6: warning: call to undeclared function 'cx_dumpMat_totextfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 620 | cx_dumpMat_totextfile(fp2, indsys->MtZM, | ^ induct.c:645:4: warning: call to undeclared function 'indPrecond_direct'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | indPrecond_direct(sys, indsys, 2*PI*freq); | ^ induct.c:647:4: warning: call to undeclared function 'indPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 647 | indPrecond(sys, indsys, 2*PI*freq); | ^ induct.c:656:2: warning: call to undeclared function 'fill_spPre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 656 | fill_spPre(sys, indsys, 2*PI*freq); | ^ induct.c:661:6: warning: call to undeclared function 'spElementCount'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 661 | spElementCount(indsys->sparMatrix)); | ^ induct.c:664:10: warning: call to undeclared function 'spOrderAndFactor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 664 | err = spOrderAndFactor(indsys->sparMatrix, NULL, 1e-3, 0.0, 1); | ^ induct.c:668:6: warning: call to undeclared function 'spFillinCount'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | spFillinCount(indsys->sparMatrix)); | ^ induct.c:671:10: warning: call to undeclared function 'spFactor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 671 | err = spFactor(indsys->sparMatrix); | ^ induct.c:682:9: warning: call to undeclared function 'cx_ludecomp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 682 | cx_ludecomp(MtZM, num_mesh, FALSE); | ^ induct.c:687:9: warning: call to undeclared function 'create_sparMatrix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | create_sparMatrix(indsys); | ^ induct.c:689:9: warning: call to undeclared function 'fill_diagR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 689 | fill_diagR(indsys); | ^ induct.c:694:11: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | concat4(outfname,"MZMt",indsys->opts->suffix,".mat"); | ^ induct.c:695:15: warning: call to undeclared function 'spFileMatrix'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 695 | if (spFileMatrix(indsys->sparMatrix, outfname, "MZMt", 0, 1, 1) == 0) | ^ induct.c:701:18: warning: call to undeclared function 'spElementCount'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 701 | spElementCount(indsys->sparMatrix)); | ^ induct.c:709:15: warning: call to undeclared function 'spOrderAndFactor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 709 | err = spOrderAndFactor(indsys->sparMatrix, NULL, 1e-3, 0.0, 1); | ^ induct.c:714:18: warning: call to undeclared function 'spFillinCount'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | spFillinCount(indsys->sparMatrix)); | ^ induct.c:730:27: warning: passing arguments to 'get_next_ext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | for(ext = get_next_ext(indsys->externals), i=0; ext != NULL; | ^ induct.c:731:43: warning: passing arguments to 'get_next_ext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | ext = get_next_ext(ext->next),i++) { | ^ induct.c:732:57: warning: passing arguments to 'get_a_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | printf("conductor %d from node %s\n",i, get_a_name(ext->source)); | ^ induct.c:738:7: warning: call to undeclared function 'fill_b'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 738 | fill_b(ext, b); | ^ induct.c:742:2: warning: call to undeclared function 'savecmplx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | savecmplx(fb, fname, &b, 1, num_mesh); | ^ induct.c:753:9: warning: passing arguments to 'gmres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | gmres(MtZM, b, x0, inner, SetupComputePsi, num_mesh, maxiters, tol, | ^ induct.c:756:9: warning: passing arguments to 'gmres' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | gmres(MtZM, b, x0, inner, directmatvec, num_mesh, maxiters, tol, | ^ induct.c:760:4: warning: call to undeclared function 'multPrecond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 760 | multPrecond(indsys->Precond, x0, vect, num_mesh); | ^ induct.c:765:4: warning: call to undeclared function 'spSolve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 765 | spSolve(indsys->sparMatrix, x0, x0); | ^ induct.c:770:11: warning: call to undeclared function 'cx_lu_solve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 770 | cx_lu_solve(MtZM, x0, b, num_mesh); | ^ induct.c:772:11: warning: call to undeclared function 'spSolve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | spSolve(indsys->sparMatrix, b, x0); | ^ induct.c:776:2: warning: call to undeclared function 'makegrids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 776 | makegrids(indsys, x0, ext->Yindex, m); | ^ induct.c:779:7: warning: call to undeclared function 'extractYcol'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 779 | extractYcol(indsys->FinalY, x0, ext, indsys->externals); | ^ induct.c:807:7: warning: call to undeclared function 'dump_to_Ycond'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 807 | dump_to_Ycond(fp, m, indsys); | ^ induct.c:814:7: warning: call to undeclared function 'cx_invert'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 814 | cx_invert(indsys->FinalY, num_extern); | ^ induct.c:820:5: warning: call to undeclared function 'cx_dumpMat_totextfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 820 | cx_dumpMat_totextfile(fp3, indsys->FinalY, num_extern, num_sub_extern); | ^ induct.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | main(argc, argv) | ^ induct.c:897:41: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | seg->filaments = (FILAMENT *)MattAlloc(Hinc*Winc,sizeof(FILAMENT)); | ^ induct.c:899:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | ctemp = (charge *)MattAlloc(Hinc*Winc, sizeof(charge)); | ^ induct.c:905:35: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | dummysurf = (surface *)MattAlloc(1, sizeof(surface)); | ^ induct.c:864:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | charge *assignFil(seg, num_fils, chgptr) | ^ In file included from induct.c:3: ./induct.h:650:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 650 | charge *assignFil(); | ^ induct.c:1143:30: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | temp = (double **)MattAlloc(rows,sizeof(double *)); | ^ induct.c:1150:34: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | temp[i] = (double *)MattAlloc(cols,size); | ^ induct.c:1136:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | double **MatrixAlloc(rows, cols, size) | ^ In file included from induct.c:3: ./induct.h:632:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 632 | double **MatrixAlloc(); | ^ induct.c:1168:41: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | indsys->Alist = (MELEMENT **)MattAlloc(indsys->num_real_nodes, | ^ induct.c:1171:3: warning: call to undeclared function 'pick_ground_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1171 | pick_ground_nodes(indsys); | ^ induct.c:1177:24: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | node1 = getrealnode(seg->node[0]); | ^ induct.c:1178:24: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | node2 = getrealnode(seg->node[1]); | ^ induct.c:1189:57: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | Alist[node1->index] = insert_in_list(make_melement(fil->filnumber, | ^ induct.c:1189:43: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | Alist[node1->index] = insert_in_list(make_melement(fil->filnumber, | ^ induct.c:1192:57: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | Alist[node2->index] = insert_in_list(make_melement(fil->filnumber, | ^ induct.c:1192:43: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | Alist[node2->index] = insert_in_list(make_melement(fil->filnumber, | ^ induct.c:1159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | void fillA(indsys) | ^ In file included from induct.c:3: ./induct.h:634:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 634 | void fillA(); | ^ induct.c:1211:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | void old_fillM(indsys) | ^ induct.c:1246:40: warning: passing arguments to 'selfterm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | Z[filnum_m][filnum_m] = selfterm(fil_m); /* do self-inductance */ | ^ induct.c:1256:37: warning: passing arguments to 'mutual' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | = Z[filnum_j][filnum_m] = mutual(fil_j, fil_m); | ^ induct.c:1216:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | void fillZ(indsys) | ^ In file included from induct.c:3: ./induct.h:636:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 636 | void fillZ(); | ^ induct.c:1293:41: warning: passing arguments to 'selfterm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | Z[filnum_j][filnum_j] = selfterm(fil_j) + | ^ induct.c:1368:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | double resistance(fil, sigma) | ^ In file included from induct.c:3: ./induct.h:637: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] 637 | double resistance(); | ^ induct.c:1378:8: warning: declaration of 'struct exception' will not be visible outside of this function [-Wvisibility] 1378 | struct exception *exc; | ^ induct.c:1377:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | int matherr(exc) | ^ induct.c:1393:22: warning: passing arguments to 'notblankline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | if ( notblankline(temp) ) count++; | ^ induct.c:1385:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | int countlines(fp) | ^ induct.c:1402:28: warning: call to undeclared library function 'isspace' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1402 | while( *string!='\0' && isspace(*string)) | ^ induct.c:1402:28: note: include the header or explicitly provide a declaration for 'isspace' induct.c:1399:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | static int notblankline(string) | ^ induct.c:14: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] 14 | static int notblankline(); | ^ induct.c:1411:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1411 | savemats(indsys) | ^ | int induct.c:1432:29: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | Mrow = (double *)MattAlloc(num_fils,sizeof(double)); | ^ induct.c:1439:11: warning: call to undeclared function 'nnz_inM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1439 | nnz = nnz_inM(indsys->Mlist, num_mesh); | ^ induct.c:1442:7: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1442 | concat4(outfname,"M",opts->suffix,".dat"); | ^ induct.c:1448:7: warning: call to undeclared function 'dump_M_to_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1448 | dump_M_to_text(fp2, Mlist, num_mesh, nnz); | ^ induct.c:1453:7: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1453 | concat4(outfname,"M",opts->suffix,".mat"); | ^ induct.c:1459:7: warning: call to undeclared function 'dump_M_to_matlab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1459 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, "M"); | ^ induct.c:1471:11: warning: call to undeclared function 'nnz_inM'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1471 | nnz = nnz_inM(indsys->Alist, num_real_nodes); | ^ induct.c:1479:7: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1479 | concat4(outfname,"A",opts->suffix,".dat"); | ^ induct.c:1485:7: warning: call to undeclared function 'dump_M_to_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1485 | dump_M_to_text(fp2, &Alist[1], num_real_nodes - 1, nnz - nnz0); | ^ induct.c:1490:7: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1490 | concat4(outfname,"A",opts->suffix,".mat"); | ^ induct.c:1496:7: warning: call to undeclared function 'dump_M_to_matlab'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1496 | dump_M_to_matlab(fp, &Alist[1], num_real_nodes - 1, nnz - nnz0,"A"); | ^ induct.c:1521:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1521 | concat4(outfname,"R",opts->suffix,".dat"); | ^ induct.c:1528:5: warning: call to undeclared function 'dumpVec_totextfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1528 | dumpVec_totextfile(fp2, R, num_fils); | ^ induct.c:1542:7: warning: call to undeclared function 'dumpMat_totextfile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1542 | dumpMat_totextfile(fp2, Z, num_fils, num_fils); | ^ induct.c:1558:5: warning: call to undeclared function 'concat4'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1558 | concat4(outfname,"RL",opts->suffix,".mat"); | ^ induct.c:1593:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | savemat_mod(fp, machine+100, "R", 1, num_fils, 0, R, (double *)NULL, | ^ induct.c:1599:13: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1599 | savemat_mod(fp, machine+100, "L", num_fils, num_fils, 0, Z[i], | ^ induct.c:1620:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | savemat_mod(fp, machine+0, "areas", num_fils, 1, 0, dumb, (double *)NULL,0, | ^ induct.c:1622:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | savemat_mod(fp, machine+0, "pos", num_fils, 3, 0, dumbx, (double *)NULL, 0, | ^ induct.c:1624:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | savemat_mod(fp, machine+0, "pos", num_fils, 3, 0, dumby, (double *)NULL, 1, | ^ induct.c:1626:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | savemat_mod(fp, machine+0, "pos", num_fils, 3, 0, dumbz, (double *)NULL, 1, | ^ induct.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | savemats(indsys) | ^ induct.c:1636:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1636 | } | ^ induct.c:1638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1638 | savecmplx(fp, name, Z, rows, cols) | ^ | int induct.c:1655:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | savemat_mod(fp, machine+100, name, rows, cols, 1, &Z[i][j].real, | ^ induct.c:1661:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | savemat_mod(fp, machine+100, name, rows, cols, 0, &Z[i][j].imag, | ^ induct.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | savecmplx(fp, name, Z, rows, cols) | ^ induct.c:1663:1: warning: non-void function does not return a value [-Wreturn-type] 1663 | } | ^ induct.c:1666:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1666 | savecmplx2(fp, name, Z, rows, cols) | ^ | int induct.c:1691:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | savemat_mod(fp, machine+100, name, rows, cols, 1, temp, | ^ induct.c:1699:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | savemat_mod(fp, machine+100, name, rows, cols, 0, temp, | ^ induct.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | savecmplx2(fp, name, Z, rows, cols) | ^ induct.c:1702:1: warning: non-void function does not return a value [-Wreturn-type] 1702 | } | ^ induct.c:1705:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1705 | formMZMt(indsys) | ^ | int induct.c:1736:31: warning: passing arguments to 'MattAlloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | tcol = (double *)MattAlloc(rows, sizeof(double)); | ^ induct.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | formMZMt(indsys) | ^ induct.c:1767:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1767 | } | ^ induct.c:1769:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1769 | oldformMZMt(indsys) | ^ | int induct.c:1769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:1855:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1855 | } | ^ induct.c:1864:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1864 | CALLOC(blah, number*size, char, OFF, IND); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ induct.c:1857:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | char* MattAlloc(number, size) | ^ In file included from induct.c:3: ./induct.h:633:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 633 | char *MattAlloc(); | ^ induct.c:1878:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1878 | formMtrans(indsys) | ^ | int induct.c:1900:25: warning: passing arguments to 'make_melement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | mt = make_melement(j, NULL, m->sign); | ^ induct.c:1901:43: warning: passing arguments to 'insert_in_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1901 | Mtrans[m->filindex] = insert_in_list(mt,Mtrans[m->filindex]); | ^ induct.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | formMtrans(indsys) | ^ induct.c:1948:1: warning: non-void function does not return a value [-Wreturn-type] 1948 | } | ^ induct.c:1950:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1950 | compare_meshes(mesh1, mesh2) | ^ | int induct.c:1950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:1963:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1963 | } | ^ induct.c:1965:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1965 | cx_dumpMat_totextfile(fp, Z, rows, cols) | ^ | int induct.c:1965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:1980:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1980 | dumpMat_totextfile(fp, A, rows, cols) | ^ | int induct.c:1980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:1995:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1995 | dumpVec_totextfile(fp2, Vec, size) | ^ | int induct.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:2001:1: warning: non-void function does not return a value [-Wreturn-type] 2001 | } | ^ induct.c:2003:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2003 | fillMrow(Mlist, mesh, Mrow) | ^ | int induct.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:2018:1: warning: non-void function does not return a value [-Wreturn-type] 2018 | } | ^ induct.c:2020:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2020 | dump_to_Ycond(fp, cond, indsys) | ^ | int induct.c:2037:3: warning: call to undeclared function 'saveCarray'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2037 | saveCarray(fp, fname, indsys->resids, indsys->num_sub_extern, maxiters); | ^ induct.c:2020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | dump_to_Ycond(fp, cond, indsys) | ^ induct.c:2051:1: warning: non-void function does not return a value [-Wreturn-type] 2051 | } | ^ induct.c:2053:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2053 | saveCarray(fp, fname, Arr, rows, cols) | ^ | int induct.c:2068:16: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | savemat_mod(fp, machine+100, fname, rows, cols, 0, Arr[i], (double *)NULL, | ^ induct.c:2053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2053 | saveCarray(fp, fname, Arr, rows, cols) | ^ induct.c:2071:1: warning: non-void function does not return a value [-Wreturn-type] 2071 | } | ^ induct.c:2073:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | int nnz_inM(Mlist, num_mesh) | ^ induct.c:2089:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2089 | dump_M_to_text(fp, Mlist, num_mesh, nnz) | ^ | int induct.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:2108:1: warning: non-void function does not return a value [-Wreturn-type] 2108 | } | ^ induct.c:2110:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2110 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, mname) | ^ | int induct.c:2128:18: warning: passing arguments to 'savemat_mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | savemat_mod(fp, machine+100, mname, nnz, 3, 0, onerow, | ^ induct.c:2110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2110 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, mname) | ^ induct.c:2135:1: warning: non-void function does not return a value [-Wreturn-type] 2135 | } | ^ induct.c:2138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2138 | pick_ground_nodes(indsys) | ^ | int induct.c:2150:25: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | node = getrealnode(((SEGMENT *)atree->loops->path->seg.segp)->node[0]); | ^ induct.c:2152:25: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | node = getrealnode(((PSEUDO_SEG *)atree->loops->path->seg.segp)->node[0]); | ^ induct.c:2138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2138 | pick_ground_nodes(indsys) | ^ induct.c:2160:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2160 | } | ^ induct.c:2181:37: warning: passing arguments to 'get_external_from_portname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | ext = get_external_from_portname(oneport->str,indsys); | ^ induct.c:2162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2162 | int pick_subset(portlist, indsys) | ^ induct.c:2195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2195 | concat4(s1,s2,s3,s4) | ^ | int induct.c:2195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] induct.c:2202:1: warning: non-void function does not return a value [-Wreturn-type] 2202 | } | ^ 220 warnings generated. --- read_tree.o --- read_tree.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | process_plane(grndp, fp, indsys) | ^ | int read_tree.c:22:30: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | gp = (Nonuni_gp *)gp_malloc(sizeof(Nonuni_gp)); | ^ read_tree.c:30:9: warning: call to undeclared function 'readTree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | if (readTree(fp, gp) != 0) | ^ read_tree.c:34:30: warning: passing arguments to 'new_Gcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | gp->root_cell = new_Gcell(CLEAR); | ^ read_tree.c:48:3: warning: call to undeclared function 'set_gp_coord_system'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | set_gp_coord_system(grndp, gp); | ^ read_tree.c:54:34: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | gp->z_pts = (double *)gp_malloc(1*sizeof(double)); | ^ read_tree.c:58:3: warning: call to undeclared function 'process_tree'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | process_tree(gp); | ^ read_tree.c:65:9: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | if (strncmp("initial",contactp->func,7) == 0) { | ^ read_tree.c:65:9: note: include the header or explicitly provide a declaration for 'strncmp' read_tree.c:66:7: warning: call to undeclared function 'make_contacts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | make_contacts(contactp, gp); | ^ read_tree.c:76:9: warning: call to undeclared function 'make_contacts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | make_contacts(contactp, gp); | ^ read_tree.c:85:9: warning: call to undeclared function 'make_contacts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | make_contacts(contactp, gp); | ^ read_tree.c:91:5: warning: call to undeclared function 'dump_leaf_cells_to_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | dump_leaf_cells_to_file(gp->root_cell, "hier.qui"); | ^ read_tree.c:94:3: warning: call to undeclared function 'generate_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | generate_segs(gp, indsys); | ^ read_tree.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | process_plane(grndp, fp, indsys) | ^ read_tree.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | set_gp_coord_system(grndp, gp) | ^ | int read_tree.c:138:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | GP_PANIC("How can nonuni magx and length1 be different?"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:141:3: warning: call to undeclared function 'set_cell_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | set_cell_coords(gp->root_cell, 0.0, 0.0, magx, magy); | ^ read_tree.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | set_gp_coord_system(grndp, gp) | ^ read_tree.c:152:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 152 | } | ^ read_tree.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | get_nonuni_coords(x, y, z, gp, xr, yr, zr) | ^ | int read_tree.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:171:1: warning: non-void function does not return a value [-Wreturn-type] 171 | } | ^ read_tree.c:174:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 174 | get_global_coords(x, y, z, gp, xg, yg, zg) | ^ | int read_tree.c:181:3: warning: call to undeclared function 'get_global_vec'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | get_global_vec(x, y, z, gp, &xv, &yv, &zv); | ^ read_tree.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 | get_global_coords(x, y, z, gp, xg, yg, zg) | ^ read_tree.c:187:1: warning: non-void function does not return a value [-Wreturn-type] 187 | } | ^ read_tree.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 190 | get_global_vec(x, y, z, gp, xg, yg, zg) | ^ | int read_tree.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:197:1: warning: non-void function does not return a value [-Wreturn-type] 197 | } | ^ read_tree.c:233:21: warning: passing arguments to 'new_Gcells' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | cells = new_Gcells(num_cells, CLEAR); | ^ read_tree.c:252:43: 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] 252 | if (numread != 5 && !(numread == 2 && strcmp(typename,"NONE") == 0)) { | ^ read_tree.c:252:43: note: include the header or explicitly provide a declaration for 'strcmp' read_tree.c:290:41: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | cell->children = (void *)gp_malloc( sizeof(Bi) ); | ^ read_tree.c:199:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | int readTree(fp, gp) | ^ read_tree.c:334:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 334 | set_cell_coords(cell,x0,y0,x1,y1) | ^ | int read_tree.c:347:5: warning: call to undeclared function 'set_bi_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | set_bi_coords( (Bi *)cell->children, x0, y0, x1, y1 ); | ^ read_tree.c:350:5: warning: call to undeclared function 'set_grid_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | set_grid_coords( (Grid_2d *)cell->children, x0, y0, x1, y1); | ^ read_tree.c:353:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | GP_PANIC("Unknown child type in set_cell_coords") | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | set_cell_coords(cell,x0,y0,x1,y1) | ^ read_tree.c:357:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 357 | } | ^ read_tree.c:359:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 359 | set_bi_coords( two_kids, x0, y0, x1, y1) | ^ | int read_tree.c:376:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | GP_PANIC("Unknown bi child type in set_bi_coords"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | set_bi_coords( two_kids, x0, y0, x1, y1) | ^ read_tree.c:377:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 377 | } | ^ read_tree.c:379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 379 | set_grid_coords(grid, x0, y0, x1, y1) | ^ | int read_tree.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:397:1: warning: non-void function does not return a value [-Wreturn-type] 397 | } | ^ read_tree.c:400:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 400 | process_tree(gp) | ^ | int read_tree.c:409:3: warning: call to undeclared function 'resolve_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 409 | resolve_nodes(gp->root_cell, &info); | ^ read_tree.c:421:3: warning: call to undeclared function 'delete_dead_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 421 | delete_dead_nodes(gp); | ^ read_tree.c:428:3: warning: call to undeclared function 'determine_adjaceny'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | determine_adjaceny(gp->nodelist); | ^ read_tree.c:435:3: warning: call to undeclared function 'compute_z_fils'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | compute_z_fils(gp); | ^ read_tree.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | process_tree(gp) | ^ read_tree.c:437:1: warning: non-void function does not return a value [-Wreturn-type] 437 | } | ^ read_tree.c:441:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 441 | resolve_nodes(cell, info) | ^ | int read_tree.c:448:25: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | if (!is_leaf(cell)) GP_PANIC("Not a leaf!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:449:5: warning: call to undeclared function 'make_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 449 | make_nodes(cell, info); | ^ read_tree.c:454:5: warning: call to undeclared function 'resolve_bi_children'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 454 | resolve_bi_children(cell, info); | ^ read_tree.c:457:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | GP_PANIC("You haven't implemented this yet!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:461:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | GP_PANIC("Unknown child type in resolve_nodes"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | resolve_nodes(cell, info) | ^ read_tree.c:464:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 464 | } | ^ read_tree.c:469:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 469 | make_nodes(cell, info) | ^ | int read_tree.c:477:23: warning: passing arguments to 'make_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | node = make_new_node(cell->x1, cell->y1, SW, cell, ++gp->num_nodes); | ^ read_tree.c:479:34: warning: passing arguments to 'add_to_gnodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | gp->nodelist = add_to_gnodelist(node, gp->nodelist); | ^ read_tree.c:481:23: warning: passing arguments to 'make_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | node = make_new_node(cell->x1, cell->y0, NW, cell, ++gp->num_nodes); | ^ read_tree.c:483:34: warning: passing arguments to 'add_to_gnodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | gp->nodelist = add_to_gnodelist(node, gp->nodelist); | ^ read_tree.c:485:23: warning: passing arguments to 'make_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | node = make_new_node(cell->x0, cell->y0, NE, cell, ++gp->num_nodes); | ^ read_tree.c:487:34: warning: passing arguments to 'add_to_gnodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | gp->nodelist = add_to_gnodelist(node, gp->nodelist); | ^ read_tree.c:489:23: warning: passing arguments to 'make_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | node = make_new_node(cell->x0, cell->y1, SE, cell, ++gp->num_nodes); | ^ read_tree.c:491:34: warning: passing arguments to 'add_to_gnodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | gp->nodelist = add_to_gnodelist(node, gp->nodelist); | ^ read_tree.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | make_nodes(cell, info) | ^ read_tree.c:514:1: warning: non-void function does not return a value [-Wreturn-type] 514 | } | ^ read_tree.c:516:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | G_nodes *add_to_gnodelist(node, nodelist) | ^ In file included from read_tree.c:5: ./gp.h:222:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | G_nodes *add_to_gnodelist(); | ^ read_tree.c:531:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 531 | resolve_bi_children(cell, info) | ^ | int read_tree.c:555:33: warning: passing arguments to 'make_one_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | edges[NORTH] = make_one_edge(cell, two_kids->child1, NORTH); | ^ read_tree.c:556:33: warning: passing arguments to 'make_one_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | edges[SOUTH] = make_one_edge(cell, two_kids->child2, SOUTH); | ^ read_tree.c:557:32: warning: passing arguments to 'make_two_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | edges[EAST] = make_two_edge(cell, two_kids->child1, two_kids->child2, | ^ read_tree.c:559:32: warning: passing arguments to 'make_two_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | edges[WEST] = make_two_edge(cell, two_kids->child1, two_kids->child2, | ^ read_tree.c:562:5: warning: call to undeclared function 'Combine_edges'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 562 | Combine_edges(two_kids->child1, SOUTH, two_kids->child2, NORTH); | ^ read_tree.c:565:32: warning: passing arguments to 'make_one_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | edges[EAST] = make_one_edge(cell, two_kids->child1, EAST); | ^ read_tree.c:566:32: warning: passing arguments to 'make_one_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | edges[WEST] = make_one_edge(cell, two_kids->child2, WEST); | ^ read_tree.c:567:33: warning: passing arguments to 'make_two_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | edges[NORTH] = make_two_edge(cell, two_kids->child1, | ^ read_tree.c:569:33: warning: passing arguments to 'make_two_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | edges[SOUTH] = make_two_edge(cell, two_kids->child1, | ^ read_tree.c:572:5: warning: call to undeclared function 'Combine_edges'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 572 | Combine_edges(two_kids->child1, WEST, two_kids->child2, EAST); | ^ read_tree.c:575:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | GP_PANIC("UNKNOWN child type in resolve_bi_children"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | resolve_bi_children(cell, info) | ^ read_tree.c:582:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 582 | } | ^ read_tree.c:591:30: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | edge = (G_edges *)gp_malloc(sizeof(G_edges)); | ^ read_tree.c:596:39: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | edge->children = (Gcell **)gp_malloc(1*sizeof(Gcell *)); | ^ read_tree.c:584:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | G_edges *make_one_edge(owner_cell, child_cell, dir) | ^ In file included from read_tree.c:5: ./gp.h:223:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | G_edges *make_one_edge(); | ^ read_tree.c:612:30: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | edge = (G_edges *)gp_malloc(sizeof(G_edges)); | ^ read_tree.c:617:39: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | edge->children = (Gcell **)gp_malloc(edge->num_children*sizeof(Gcell *)); | ^ read_tree.c:605:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | G_edges *make_two_edge(owner_cell, child1, child2, dir) | ^ In file included from read_tree.c:5: ./gp.h:224:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 224 | G_edges *make_two_edge(); | ^ read_tree.c:635:27: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | new = (Gcell *)gp_malloc(num*sizeof(Gcell)); | ^ read_tree.c:628:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | Gcell *new_Gcells(num, flag) | ^ In file included from read_tree.c:5: ./gp.h:226: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] 226 | Gcell *new_Gcells(); | ^ read_tree.c:653:27: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | new = (Gcell *)gp_malloc(sizeof(Gcell)); | ^ read_tree.c:648:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | Gcell *new_Gcell(flag) | ^ In file included from read_tree.c:5: ./gp.h:227: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] 227 | Gcell *new_Gcell(); | ^ read_tree.c:665:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 665 | init_Gcell(cell) | ^ | int read_tree.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:677:1: warning: non-void function does not return a value [-Wreturn-type] 677 | } | ^ read_tree.c:685:29: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | new = (G_nodes *)gp_malloc(sizeof(G_nodes)); | ^ read_tree.c:679:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | G_nodes *new_Gnode(flag) | ^ In file included from read_tree.c:5: ./gp.h:228:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 228 | G_nodes *new_Gnode(); | ^ read_tree.c:698:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | G_nodes *make_new_node(x, y, cell_dir, cell, index) | ^ In file included from read_tree.c:5: ./gp.h:229:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 229 | G_nodes *make_new_node(); | ^ read_tree.c:727:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 727 | GP_PANIC("Couldn't get space!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:719:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | void *gp_malloc(size) | ^ In file included from read_tree.c:5: ./gp.h:230:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 230 | void *gp_malloc(); | ^ read_tree.c:745:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 745 | Combine_edges(cell1, dir1, cell2, dir2) | ^ | int read_tree.c:760:5: warning: call to undeclared function 'combine_node_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 760 | combine_node_info(cell1, dir1, cell2, dir2); | ^ read_tree.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | Combine_edges(cell1, dir1, cell2, dir2) | ^ read_tree.c:776:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 776 | } | ^ read_tree.c:778:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 778 | combine_node_info(cell1, dir1, cell2, dir2) | ^ | int read_tree.c:806:3: warning: call to undeclared function 'give_cell_adjaceny'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 806 | give_cell_adjaceny(leafcell, leafdir, nonleafcell, nonleafdir, | ^ read_tree.c:810:3: warning: call to undeclared function 'combine_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 810 | combine_nodes(leafcell, leafdir, fareast_north, farwest_south); | ^ read_tree.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | combine_node_info(cell1, dir1, cell2, dir2) | ^ read_tree.c:812:1: warning: non-void function does not return a value [-Wreturn-type] 812 | } | ^ read_tree.c:816:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 816 | give_cell_adjaceny(leaf, leafdir, nonleaf, nonleafdir, | ^ | int read_tree.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:867:1: warning: non-void function does not return a value [-Wreturn-type] 867 | } | ^ read_tree.c:870:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 870 | combine_nodes(leafcell, leafdir, fareast_north, farwest_south) | ^ | int read_tree.c:877:5: warning: call to undeclared function 'replace_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | replace_node(leafcell->bndry.nodes[NW], farwest_south); | ^ read_tree.c:881:5: warning: call to undeclared function 'replace_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 881 | replace_node(leafcell->bndry.nodes[SW], farwest_south); | ^ read_tree.c:885:5: warning: call to undeclared function 'replace_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 885 | replace_node(leafcell->bndry.nodes[SE], farwest_south); | ^ read_tree.c:889:5: warning: call to undeclared function 'replace_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 889 | replace_node(leafcell->bndry.nodes[SW], farwest_south); | ^ read_tree.c:893:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 893 | GP_PANIC("combine_nodes: Unknown direction"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | combine_nodes(leafcell, leafdir, fareast_north, farwest_south) | ^ read_tree.c:894:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 894 | } | ^ read_tree.c:898:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 898 | replace_node(old_node, new_node) | ^ | int read_tree.c:910:4: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 910 | GP_PANIC("In replace_node: Can't combine conflicting cell info!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:929:3: warning: call to undeclared function 'kill_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 929 | kill_node(old_node); | ^ read_tree.c:898:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | replace_node(old_node, new_node) | ^ read_tree.c:930:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 930 | } | ^ read_tree.c:932:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 932 | kill_node(node) | ^ | int read_tree.c:941:3: warning: call to undeclared function 'remove_and_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 941 | remove_and_free(node); | ^ read_tree.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | kill_node(node) | ^ read_tree.c:942:1: warning: non-void function does not return a value [-Wreturn-type] 942 | } | ^ read_tree.c:945:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 945 | delete_first_node(gp) | ^ | int read_tree.c:954:5: warning: call to undeclared function 'free_g_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 954 | free_g_node(node); | ^ read_tree.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | delete_first_node(gp) | ^ read_tree.c:956:1: warning: non-void function does not return a value [-Wreturn-type] 956 | } | ^ read_tree.c:959:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 959 | delete_dead_nodes(gp) | ^ | int read_tree.c:977:7: warning: call to undeclared function 'free_g_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 977 | free_g_node(free_me); | ^ read_tree.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | delete_dead_nodes(gp) | ^ read_tree.c:982:1: warning: non-void function does not return a value [-Wreturn-type] 982 | } | ^ read_tree.c:984:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 984 | remove_and_free(node) | ^ | int read_tree.c:996:3: warning: call to undeclared function 'free_g_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 996 | free_g_node(node); | ^ read_tree.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | remove_and_free(node) | ^ read_tree.c:997:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 997 | } | ^ read_tree.c:999:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 999 | free_g_node(node) | ^ | int read_tree.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1003:1: warning: non-void function does not return a value [-Wreturn-type] 1003 | } | ^ read_tree.c:1005:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1005 | determine_adjaceny(nodelist) | ^ | int read_tree.c:1014:44: warning: passing arguments to 'get_adjacent_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | node->adjacent[N] = get_adjacent_node(node, node->cells[NE], SW, WEST, | ^ read_tree.c:1019:44: warning: passing arguments to 'get_adjacent_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | node->adjacent[E] = get_adjacent_node(node, node->cells[NE], SW, SOUTH, | ^ read_tree.c:1024:44: warning: passing arguments to 'get_adjacent_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | node->adjacent[S] = get_adjacent_node(node, node->cells[SE], NW, WEST, | ^ read_tree.c:1028:44: warning: passing arguments to 'get_adjacent_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | node->adjacent[W] = get_adjacent_node(node, node->cells[NW], SE, SOUTH, | ^ read_tree.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | determine_adjaceny(nodelist) | ^ read_tree.c:1031:1: warning: non-void function does not return a value [-Wreturn-type] 1031 | } | ^ read_tree.c:1046:28: warning: passing arguments to 'get_other_gnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | node1 = get_other_gnode(cell1, edge_dir1, node_dir1); | ^ read_tree.c:1049:28: warning: passing arguments to 'get_other_gnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | node2 = get_other_gnode(cell2, edge_dir2, node_dir2); | ^ read_tree.c:1063:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1063 | GP_PANIC("Impossible! can't determine node adjacency!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1036:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | G_nodes *get_adjacent_node(node, cell1, node_dir1, edge_dir1, cell2, | ^ In file included from read_tree.c:5: ./gp.h:231:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 231 | G_nodes *get_adjacent_node(); | ^ read_tree.c:1074:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1074 | GP_PANIC("get_other_gnode given a null cell!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1077:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1077 | GP_PANIC("get_other_gnode requested other node of a nonleaf node!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1105:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1105 | GP_PANIC("get_other_node: bad edge_dir, node_dir combination"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1067:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | G_nodes *get_other_gnode(cell, edge_dir, node_dir) | ^ In file included from read_tree.c:5: ./gp.h:225:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | G_nodes *get_other_gnode(); | ^ read_tree.c:1107:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1107 | } | ^ read_tree.c:1109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1109 | compute_z_fils(gp) | ^ | int read_tree.c:1129:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1129 | GP_PANIC("first and last z_pts should be 0 and 1"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | compute_z_fils(gp) | ^ read_tree.c:1150:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1150 | } | ^ read_tree.c:1154:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1154 | generate_segs(gp, indsys) | ^ | int read_tree.c:1160:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1160 | static complain = 0; | ~~~~~~ ^ | int read_tree.c:1161:10: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1161 | static complain2 = 0; | ~~~~~~ ^ | int read_tree.c:1171:7: warning: call to undeclared function 'get_width_and_shift'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1171 | get_width_and_shift(X_DIR, node, node->cells[NW], node->cells[NE], | ^ read_tree.c:1175:9: warning: call to undeclared function 'make_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1175 | make_segs(N, node, node->adjacent[N], x_width, x_shift, 0.0, gp, indsys); | ^ read_tree.c:1180:7: warning: call to undeclared function 'get_width_and_shift'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1180 | get_width_and_shift(Y_DIR, node, node->cells[SE], node->cells[NE], | ^ read_tree.c:1183:9: warning: call to undeclared function 'make_segs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1183 | make_segs(E, node, node->adjacent[E], y_width, 0.0, y_shift, gp, indsys); | ^ read_tree.c:1198:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1198 | GP_PANIC("Z-directed segs not supported!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | generate_segs(gp, indsys) | ^ read_tree.c:1205:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1205 | } | ^ read_tree.c:1209:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1209 | get_width_and_shift(width_dir, node, leftcell, rightcell, ret_width, | ^ | int read_tree.c:1222:5: warning: call to undeclared function 'get_x_cell_vals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1222 | get_x_cell_vals(leftcell, node, rightcell, &x_min, &x_max); | ^ read_tree.c:1227:5: warning: call to undeclared function 'get_y_cell_vals'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1227 | get_y_cell_vals(leftcell, node, rightcell, &x_min, &x_max); | ^ read_tree.c:1231:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1231 | GP_PANIC("Bad width_dir in get_width_and_center()"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | get_width_and_shift(width_dir, node, leftcell, rightcell, ret_width, | ^ read_tree.c:1241:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1241 | } | ^ read_tree.c:1243:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1243 | get_x_cell_vals(left, node, right, x_left, x_right) | ^ | int read_tree.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1265:1: warning: non-void function does not return a value [-Wreturn-type] 1265 | } | ^ read_tree.c:1268:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1268 | get_y_cell_vals(left, node, right, y_min, y_max) | ^ | int read_tree.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1290:1: warning: non-void function does not return a value [-Wreturn-type] 1290 | } | ^ read_tree.c:1292:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1292 | make_segs(direction, node, othernode, width, x_shift, y_shift, gp, indsys) | ^ | int read_tree.c:1327:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1327 | GP_PANIC("make_segs: bad direction"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1338:19: warning: passing arguments to 'make_one_seg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | make_one_seg(node->x + x_shift, node->y + y_shift, z_c[i], | ^ read_tree.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | make_segs(direction, node, othernode, width, x_shift, y_shift, gp, indsys) | ^ read_tree.c:1344:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1344 | } | ^ read_tree.c:1363:19: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | node0 = makenode(name, indsys->num_nodes, xg, yg, zg, GPTYPE, indsys); | ^ read_tree.c:1368:19: warning: passing arguments to 'makenode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | node1 = makenode(name, indsys->num_nodes, xg, yg, zg, GPTYPE, indsys); | ^ read_tree.c:1383:17: warning: passing arguments to 'makeseg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | return makeseg(name, node0, node1, height, width, gp->grndp->sigma, | ^ read_tree.c:1346:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | SEGMENT *make_one_seg(x0,y0,z0,x1,y1,z1, width, height, wx, wy, wz, gp, indsys, | ^ In file included from read_tree.c:5: ./gp.h:232:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 232 | SEGMENT *make_one_seg(); | ^ read_tree.c:1392:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1392 | draw_one_seg(direction, | ^ | int read_tree.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1548:1: warning: non-void function does not return a value [-Wreturn-type] 1548 | } | ^ read_tree.c:1550:21: warning: parameter 'cell' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1550 | print_cell_and_kids(cell) | ^ 1551 | { read_tree.c:1550:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1550 | print_cell_and_kids(cell) | ^ | int read_tree.c:1552:3: warning: call to undeclared function 'fprint_cell_and_kids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1552 | fprint_cell_and_kids(cell, stdout); | ^ read_tree.c:1550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | print_cell_and_kids(cell) | ^ read_tree.c:1553:1: warning: non-void function does not return a value [-Wreturn-type] 1553 | } | ^ read_tree.c:1555:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1555 | fprint_cell_and_kids(cell, fp) | ^ | int read_tree.c:1559:3: warning: call to undeclared function 'dump_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1559 | dump_cell(cell, fp); | ^ read_tree.c:1565:5: warning: call to undeclared function 'fprint_bi_kids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1565 | fprint_bi_kids( (Bi *)cell->children, fp); | ^ read_tree.c:1568:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1568 | GP_PANIC("print_cell_and_kids:You haven't implemented grid_2d yet") | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1571:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1571 | GP_PANIC("Unknown child type in print_cell_and_kids") | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | fprint_cell_and_kids(cell, fp) | ^ read_tree.c:1574:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1574 | } | ^ read_tree.c:1576:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1576 | fprint_bi_kids(two_kids, fp) | ^ | int read_tree.c:1576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1582:1: warning: non-void function does not return a value [-Wreturn-type] 1582 | } | ^ read_tree.c:1584:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1584 | dump_cell(cell, fp) | ^ | int read_tree.c:1602:5: warning: call to undeclared function 'print_bi_addresses'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1602 | print_bi_addresses( (Bi *)cell->children, fp); | ^ read_tree.c:1605:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1605 | GP_PANIC("Not implemented GRID_2D in dump_cell"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1608:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1608 | GP_PANIC("Unknown child type in dump_cell"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ read_tree.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | dump_cell(cell, fp) | ^ read_tree.c:1620:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1620 | } | ^ read_tree.c:1622:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1622 | print_bi_addresses(two_kids, fp) | ^ | int read_tree.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1627:1: warning: non-void function does not return a value [-Wreturn-type] 1627 | } | ^ read_tree.c:1629:17: warning: parameter 'node' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1629 | print_node_list(node) | ^ 1630 | { read_tree.c:1629:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1629 | print_node_list(node) | ^ | int read_tree.c:1631:3: warning: call to undeclared function 'fprint_node_list'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1631 | fprint_node_list(node, stdout); | ^ read_tree.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | print_node_list(node) | ^ read_tree.c:1632:1: warning: non-void function does not return a value [-Wreturn-type] 1632 | } | ^ read_tree.c:1634:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1634 | fprint_node_list(node, fp) | ^ | int read_tree.c:1639:5: warning: call to undeclared function 'dump_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1639 | dump_node(node, fp); | ^ read_tree.c:1634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | fprint_node_list(node, fp) | ^ read_tree.c:1642:1: warning: non-void function does not return a value [-Wreturn-type] 1642 | } | ^ read_tree.c:1644:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1644 | dump_node(node,fp) | ^ | int read_tree.c:1644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1666:1: warning: non-void function does not return a value [-Wreturn-type] 1666 | } | ^ read_tree.c:1669:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1669 | debug_func() | ^ | int read_tree.c:1674:1: warning: non-void function does not return a value [-Wreturn-type] 1674 | } | ^ read_tree.c:1676:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1676 | dump_leaf_cells_to_file(cell, fname) | ^ | int read_tree.c:1689:3: warning: call to undeclared function 'dump_leaf_cells'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1689 | dump_leaf_cells(cell, fp); | ^ read_tree.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | dump_leaf_cells_to_file(cell, fname) | ^ read_tree.c:1691:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1691 | } | ^ read_tree.c:1693:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1693 | dump_leaf_cells(cell, fp) | ^ | int read_tree.c:1699:5: warning: call to undeclared function 'print_leaf_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1699 | print_leaf_cell(cell, fp); | ^ read_tree.c:1706:5: warning: call to undeclared function 'dump_grid_leaf_cells'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1706 | dump_grid_leaf_cells( (Grid_2d *)cell->children, fp); | ^ read_tree.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | dump_leaf_cells(cell, fp) | ^ read_tree.c:1713:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1713 | } | ^ read_tree.c:1715:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1715 | dump_grid_leaf_cells( grid, fp ) | ^ | int read_tree.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1724:1: warning: non-void function does not return a value [-Wreturn-type] 1724 | } | ^ read_tree.c:1726:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1726 | print_leaf_cell(cell, fp) | ^ | int read_tree.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1733:1: warning: non-void function does not return a value [-Wreturn-type] 1733 | } | ^ read_tree.c:1735:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1735 | dump_nonuni_plane_currents(gp, Ib, fp) | ^ | int read_tree.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] read_tree.c:1768:1: warning: non-void function does not return a value [-Wreturn-type] 1768 | } | ^ read_tree.c:1774:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | double get_perimeter(node) | ^ In file included from read_tree.c:5: ./gp.h:245: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] 245 | double get_perimeter(); | ^ 272 warnings generated. --- mulMulti.o --- mulMulti.c:22:10: warning: call to undeclared function 'costerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | return(costerms(order) + sinterms(order)); | ^ mulMulti.c:22:28: warning: call to undeclared function 'sinterms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 22 | return(costerms(order) + sinterms(order)); | ^ mulMulti.c:19:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | int multerms(order) | ^ mulMulti.c:28:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | int costerms(order) | ^ mulMulti.c:37:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | int sinterms(order) | ^ mulMulti.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 xyz2sphere(x, y, z, x0, y0, z0, rho, cosA, beta) | ^ mulMulti.c:119:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | double iPwr(e) | ^ mulMulti.c:137:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | double fact(x) | ^ mulMulti.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 evalFactFac(array, order) | ^ mulMulti.c:201:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | CALLOC(Rho, maxchgs, double, ON, AMSC); /* rho array */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:202:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | CALLOC(Rhon, maxchgs, double, ON, AMSC); /* rho^n array */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:203:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | CALLOC(Beta, maxchgs, double, ON, AMSC); /* beta array */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:204:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | CALLOC(Betam, maxchgs, double, ON, AMSC); /* beta*m array */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:205:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | CALLOC(Irn, maxchgs, double, ON, AMSC); /* (1/r)^n+1 vector */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:206:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | CALLOC(Ir, maxchgs, double, ON, AMSC); /* 1/r vector */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:207:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | CALLOC(Mphi, maxchgs, double, ON, AMSC); /* m*phi vector */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:208:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | CALLOC(phi, maxchgs, double, ON, AMSC); /* phi vector */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:210:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | CALLOC(tleg, costerms(2*order), double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:212:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | CALLOC(factFac, order+1, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:214:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | CALLOC(factFac[x], order+1, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:250:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | CALLOC(facFrA, 2*order+1, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:252:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | CALLOC(facFrA[x], 2*order+1, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:255:3: warning: call to undeclared function 'evalFacFra'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | evalFacFra(facFrA, order); | ^ mulMulti.c:256:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | CALLOC(sinmkB, 2*order+1, double, ON, AMSC); /* sin[(m+-k)beta] */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:257:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | CALLOC(cosmkB, 2*order+1, double, ON, AMSC); /* cos[(m+-k)beta] */ | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void mulMultiAlloc(maxchgs, order, depth) | ^ mulMulti.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 evalLegendre(cosA, vector, order) | ^ mulMulti.c:329:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | CALLOC(mat, terms, double*, ON, AQ2M); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:331:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | CALLOC(mat[i], numchgs, double, ON, AQ2M); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:318:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | double **mulQ2Multi(chgs, is_dummy, numchgs, x, y, z, order) | ^ mulMulti.c:422:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | CALLOC(mat, terms, double*, ON, AM2M); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:423:28: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | for(r=0; r < terms; r++) CALLOC(mat[r], terms, double, ON, AM2M); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:411:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | double **mulMulti2Multi(x, y, z, xp, yp, zp, order) | ^ mulMulti.c:527:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | CALLOC(mat, numchgs, double*, ON, AM2P); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:529:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | CALLOC(mat[i], terms, double, ON, AM2P); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulMulti.c:515:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | double **mulMulti2P(x, y, z, chgs, numchgs, order) | ^ 36 warnings generated. --- contact.o --- contact.c:59:35: warning: passing arguments to 'make_contact_connection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | return make_contact_connection(head, line, units, relx, rely, relz, skip); | ^ contact.c:61:36: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | contactp = (ContactList *)Gmalloc(sizeof(ContactList)); | ^ contact.c:63:35: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | contactp->func = (char *)Gmalloc((strlen(name) + 1)*sizeof(char)); | ^ contact.c:75:37: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | contactp->name = (char *)Gmalloc((strlen(nname) + 1)*sizeof(char)); | ^ contact.c:86:5: warning: call to undeclared function 'contact_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 86 | contact_error("Values for contact must start with '('",line,contactp); | ^ contact.c:92:27: warning: call to undeclared function 'eos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | while(*linep != ')' && !eos(*linep)) { | ^ contact.c:94:30: warning: call to undeclared function 'is_one_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | while(isspace(*linep) || is_one_of(*linep, "1234567890.e+-")) | ^ contact.c:101:37: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | contactp->vals = (double *)Gmalloc(contactp->numvals*sizeof(double)); | ^ contact.c:115:16: warning: call to undeclared function 'skipspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | linep += skipspace(linep); | ^ contact.c:24:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | ContactList *make_contactlist(head, line, units, relx, rely, relz, skip) | ^ In file included from contact.c:2: ./induct.h:615:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 615 | ContactList *make_contactlist(); | ^ contact.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | contact_error(errstr, line, contactp) | ^ | int contact.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | contact_error2(errstr, line, nametype) | ^ | int contact.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:153:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 153 | contact_warning(errstr, contactp) | ^ | int contact.c:159:3: warning: call to undeclared function 'regurg_contact'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | regurg_contact(stderr, contactp); | ^ contact.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | contact_warning(errstr, contactp) | ^ contact.c:160:1: warning: non-void function does not return a value [-Wreturn-type] 160 | } | ^ contact.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | regurg_contact(fp, contactp) | ^ | int contact.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:174:1: warning: non-void function does not return a value [-Wreturn-type] 174 | } | ^ contact.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | make_contacts(contactp, gp) | ^ | int contact.c:187:5: warning: call to undeclared function 'contact_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | contact_rect(contactp, gp, relx, rely, relz, units); | ^ contact.c:189:5: warning: call to undeclared function 'contact_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | contact_line(contactp, gp, relx, rely, relz, units); | ^ contact.c:191:5: warning: call to undeclared function 'contact_point'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | contact_point(contactp, gp, relx, rely, relz, units); | ^ contact.c:193:5: warning: call to undeclared function 'contact_decay_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 193 | contact_decay_rect(contactp, gp, relx, rely, relz, units); | ^ contact.c:195:5: warning: call to undeclared function 'contact_equiv_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | contact_equiv_rect(contactp, gp, relx, rely, relz, units); | ^ contact.c:197:5: warning: call to undeclared function 'contact_initial_grid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | contact_initial_grid(contactp, gp, relx, rely, relz, units); | ^ contact.c:199:5: warning: call to undeclared function 'contact_initial_mesh_grid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 199 | contact_initial_mesh_grid(contactp, gp, relx, rely, relz, units); | ^ contact.c:201:5: warning: call to undeclared function 'contact_trace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 201 | contact_trace(contactp, gp, relx, rely, relz, units); | ^ contact.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | make_contacts(contactp, gp) | ^ contact.c:204:1: warning: non-void function does not return a value [-Wreturn-type] 204 | } | ^ contact.c:208:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 208 | contact_point(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:222:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, | ^ contact.c:225:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | contain = get_containing_cell(xc, yc, gp->root_cell); | ^ contact.c:227:8: warning: call to undeclared function 'is_in_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 227 | if (!is_in_cell(xc,yc,contain)) | ^ contact.c:234:11: warning: passing arguments to 'cut_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | cut_cell(xc, yc, vals[3]*units, vals[4]*units, contain, gp); | ^ contact.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | contact_point(contactp, gp, relx, rely, relz, units) | ^ contact.c:236:1: warning: non-void function does not return a value [-Wreturn-type] 236 | } | ^ contact.c:241:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 241 | contact_line(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:256:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, | ^ contact.c:263:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | contain = get_containing_cell(x0, y0, gp->root_cell); | ^ contact.c:265:8: warning: call to undeclared function 'is_in_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | if (!is_in_cell(x0,y0,contain)) | ^ contact.c:268:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | contain = get_containing_cell(x1, y1, gp->root_cell); | ^ contact.c:278:3: warning: call to undeclared function 'walk_along_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | walk_along_line(x0, y0, z0, x1, y1, z1, vals[6]*units, vals[7]*units, gp); | ^ contact.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | contact_line(contactp, gp, relx, rely, relz, units) | ^ contact.c:280:1: warning: non-void function does not return a value [-Wreturn-type] 280 | } | ^ contact.c:283:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 283 | walk_along_line(x0, y0, z0, x1, y1, z1, max_x, max_y, gp) | ^ | int contact.c:299:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | contain = get_containing_cell(x, y, gp->root_cell); | ^ contact.c:303:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | GP_PANIC("walk_along_line: contain==NULL. line out of plane, probably"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:306:25: warning: passing arguments to 'cut_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | smallcell = cut_cell(x, y, max_x, max_y, contain, gp); | ^ contact.c:309:40: warning: passing arguments to 'find_next_cell_along_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | contain = find_next_cell_along_line(x, y, xv, yv, smallcell, | ^ contact.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | walk_along_line(x0, y0, z0, x1, y1, z1, max_x, max_y, gp) | ^ contact.c:315:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 315 | } | ^ contact.c:327:3: warning: call to undeclared function 'get_new_x_y'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | get_new_x_y(x, y, xv, yv, cell, ret_x, ret_y, &node, &dir); | ^ contact.c:334:39: warning: passing arguments to 'pick_cell_based_on_vec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | newcell = pick_cell_based_on_vec(node, xv, yv); | ^ contact.c:343:41: warning: passing arguments to 'pick_cell_based_on_vec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | newcell = pick_cell_based_on_vec(node, xv, yv); | ^ contact.c:356:39: warning: passing arguments to 'pick_cell_based_on_vec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | newcell = pick_cell_based_on_vec(node, xv, yv); | ^ contact.c:365:41: warning: passing arguments to 'pick_cell_based_on_vec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | newcell = pick_cell_based_on_vec(node, xv, yv); | ^ contact.c:376:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | GP_PANIC("bad dir!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:317:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | Gcell *find_next_cell_along_line(x,y,xv,yv, cell, ret_x, ret_y) | ^ In file included from contact.c:3: ./gp.h:255: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] 255 | Gcell *find_next_cell_along_line(); | ^ contact.c:384:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 384 | get_new_x_y(x,y,xv,yv, cell, ret_x, ret_y, pnode, dir) | ^ | int contact.c:399:24: warning: passing arguments to 'edge_coord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | east_y = edge_coord(x1, x, y, xv, yv); | ^ contact.c:400:24: warning: passing arguments to 'edge_coord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | west_y = edge_coord(x0, x, y, xv, yv); | ^ contact.c:407:25: warning: passing arguments to 'edge_coord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | north_x = edge_coord(y1, y, x, yv, xv); | ^ contact.c:408:25: warning: passing arguments to 'edge_coord' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | south_x = edge_coord(y0, y, x, yv, xv); | ^ contact.c:443:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | GP_PANIC("get_new_x_y: Vector never hits edge of box?"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | get_new_x_y(x,y,xv,yv, cell, ret_x, ret_y, pnode, dir) | ^ contact.c:445:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 445 | } | ^ contact.c:450:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | double edge_coord(x_final, x_initial, y_initial, xv, yv) | ^ In file included from contact.c:3: ./gp.h:256: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] 256 | double edge_coord(); | ^ contact.c:479:7: warning: call to undeclared function 'break_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 479 | break_cell(cell, EW, gp); | ^ contact.c:483:31: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | cell = get_containing_cell(x,y,cell); | ^ contact.c:459:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | Gcell *cut_cell(x, y, max_x, max_y, cell, gp) | ^ In file included from contact.c:3: ./gp.h:257: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] 257 | Gcell *cut_cell(); | ^ contact.c:492:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 492 | break_cell(cell, dir, gp) | ^ | int contact.c:499:3: warning: call to undeclared function 'make_two_kids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | make_two_kids(cell, dir, gp); | ^ contact.c:502:3: warning: call to undeclared function 'set_cell_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | set_cell_coords(cell, cell->x0, cell->y0, cell->x1, cell->y1); | ^ contact.c:505:3: warning: call to undeclared function 'update_bi_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | update_bi_nodes(cell, gp); | ^ contact.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | break_cell(cell, dir, gp) | ^ contact.c:506:1: warning: non-void function does not return a value [-Wreturn-type] 506 | } | ^ contact.c:508:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 508 | update_bi_nodes(cell, gp) | ^ | int contact.c:536:5: warning: call to undeclared function 'find_or_make_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 536 | find_or_make_node(cell, c1, c2, SW, NW, c1->x0, c1->y0, gp); | ^ contact.c:545:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 545 | else if (type = EW) { | ~~~~~^~~~ contact.c:545:17: note: place parentheses around the assignment to silence this warning 545 | else if (type = EW) { | ^ | ( ) contact.c:545:17: note: use '==' to turn this assignment into an equality comparison 545 | else if (type = EW) { | ^ | == contact.c:553:5: warning: call to undeclared function 'find_or_make_node'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 553 | find_or_make_node(cell, c1, c2, NW, NE, c1->x0, c1->y1, gp); | ^ contact.c:563:3: warning: call to undeclared function 'fix_node_cell_ptrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | fix_node_cell_ptrs(c1); | ^ contact.c:565:3: warning: call to undeclared function 'clear_edge_ptrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | clear_edge_ptrs(cell); | ^ contact.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | update_bi_nodes(cell, gp) | ^ contact.c:566:1: warning: non-void function does not return a value [-Wreturn-type] 566 | } | ^ contact.c:569:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 569 | clear_edge_ptrs(cell) | ^ | int contact.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:576:1: warning: non-void function does not return a value [-Wreturn-type] 576 | } | ^ contact.c:579:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 579 | fix_node_cell_ptrs(cell) | ^ | int contact.c:591:3: warning: call to undeclared function 'set_edge_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | set_edge_nodes(corners[SW], corners[NW], N, NE, SE, cell); | ^ contact.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | fix_node_cell_ptrs(cell) | ^ contact.c:596:1: warning: non-void function does not return a value [-Wreturn-type] 596 | } | ^ contact.c:599:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 599 | set_edge_nodes(node1, node2, adj_dir, dir1, dir2, cell) | ^ | int contact.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:611:1: warning: non-void function does not return a value [-Wreturn-type] 611 | } | ^ contact.c:613:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 613 | find_or_make_node(cell, kid1, kid2, node_start, node_end, x, y, gp) | ^ | int contact.c:632:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 632 | GP_PANIC("find_or_make_node: Unknown combo of start and end!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:635:23: warning: passing arguments to 'find_mid_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | node = find_mid_node(cell->bndry.nodes[node_start], adj_dir, | ^ contact.c:643:25: warning: passing arguments to 'make_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | node = make_new_node(x, y, opposite_dir(node_start), | ^ contact.c:652:36: warning: passing arguments to 'add_to_gnodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | gp->nodelist = add_to_gnodelist(node, gp->nodelist); | ^ contact.c:653:5: warning: call to undeclared function 'fix_adjacency'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 653 | fix_adjacency(cell->bndry.nodes[node_start], adj_dir, | ^ contact.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | find_or_make_node(cell, kid1, kid2, node_start, node_end, x, y, gp) | ^ contact.c:656:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 656 | } | ^ contact.c:658:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 658 | fix_adjacency(begin_node, adj_dir, node, end_node) | ^ | int contact.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:668:1: warning: non-void function does not return a value [-Wreturn-type] 668 | } | ^ contact.c:671:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | G_nodes *find_mid_node(begin_node, adj_dir, end_node) | ^ In file included from contact.c:3: ./gp.h:254:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 254 | G_nodes *find_mid_node(); | ^ contact.c:703:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 703 | make_two_kids(cell, dir, gp) | ^ | int contact.c:711:20: warning: passing arguments to 'new_Gcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | cell1 = new_Gcell(NOCLEAR); | ^ contact.c:712:20: warning: passing arguments to 'new_Gcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | cell2 = new_Gcell(NOCLEAR); | ^ contact.c:715:37: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | cell->children = (void *)gp_malloc( sizeof(Bi)); | ^ contact.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | make_two_kids(cell, dir, gp) | ^ contact.c:728:1: warning: non-void function does not return a value [-Wreturn-type] 728 | } | ^ contact.c:739:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 739 | contact_rect(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:756:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 756 | get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, | ^ contact.c:804:3: warning: call to undeclared function 'cut_inside_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 804 | cut_inside_rect(x0, y0, z0, rect_x_width, rect_y_width, max_cell_x, | ^ contact.c:739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | contact_rect(contactp, gp, relx, rely, relz, units) | ^ contact.c:807:1: warning: non-void function does not return a value [-Wreturn-type] 807 | } | ^ contact.c:815:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 815 | cut_inside_rect(x, y, z, rect_x_width, rect_y_width, max_cell_x, max_cell_y, | ^ | int contact.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:846:1: warning: non-void function does not return a value [-Wreturn-type] 846 | } | ^ contact.c:853:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 853 | contact_decay_rect(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:871:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, | ^ contact.c:933:3: warning: call to undeclared function 'do_decay_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 933 | do_decay_rect(x0, y0, z0, rect_x_width, rect_y_width, max_cell_x, | ^ contact.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | contact_decay_rect(contactp, gp, relx, rely, relz, units) | ^ contact.c:936:1: warning: non-void function does not return a value [-Wreturn-type] 936 | } | ^ contact.c:938:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 938 | do_decay_rect(x, y, z, rect_x_width, rect_y_width, max_cell_x, max_cell_y, | ^ | int contact.c:956:3: warning: call to undeclared function 'limit_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 956 | limit_box(x,y,rect_x_width, rect_y_width, x_min, x_max, y_min, y_max, | ^ contact.c:972:5: warning: call to undeclared function 'compute_new_widths'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | compute_new_widths(&rect_x_width, &rect_y_width, &max_cell_x, &max_cell_y); | ^ contact.c:977:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 977 | GP_PANIC("do_decay_rect: width less than 0!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:938:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | do_decay_rect(x, y, z, rect_x_width, rect_y_width, max_cell_x, max_cell_y, | ^ contact.c:995:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 995 | } | ^ contact.c:997:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 997 | limit_box(x, y, x_wid, y_wid, xl_min, xr_max, yl_min, yr_max, xl, yl, xr, yr) | ^ | int contact.c:997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:1016:1: warning: non-void function does not return a value [-Wreturn-type] 1016 | } | ^ contact.c:1034:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1034 | compute_new_widths(x_rect, y_rect, x_cell, y_cell) | ^ | int contact.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:1058:1: warning: non-void function does not return a value [-Wreturn-type] 1058 | } | ^ contact.c:1064:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1064 | contact_equiv_rect(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:1081:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1081 | get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, | ^ contact.c:1084:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | contain = get_containing_cell(x0, y0, gp->root_cell); | ^ contact.c:1086:8: warning: call to undeclared function 'is_in_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1086 | if (!is_in_cell(x0,y0,contain)) | ^ contact.c:1092:3: warning: call to undeclared function 'make_equiv_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1092 | make_equiv_rect(x0, y0, z0, rect_x_width, rect_y_width, gp, contactp->name); | ^ contact.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | contact_equiv_rect(contactp, gp, relx, rely, relz, units) | ^ contact.c:1094:1: warning: non-void function does not return a value [-Wreturn-type] 1094 | } | ^ contact.c:1099:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1099 | make_equiv_rect(x0, y0, z0, x_width, y_width, gp, name) | ^ | int contact.c:1132:39: warning: passing arguments to 'get_nodes_inside_rect' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | inside_nodes = get_nodes_inside_rect(xl, yb, xr, yt, gp->root_cell, &endl); | ^ contact.c:1142:3: warning: call to undeclared function 'get_global_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1142 | get_global_coords(center->x, center->y, z0, gp, &xg, &yg, &zg); | ^ contact.c:1155:36: warning: passing arguments to 'get_nonuni_node_from_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | cnode = get_nonuni_node_from_list(center, grndp->usernodes); | ^ contact.c:1160:28: warning: passing arguments to 'make_fastH_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | cnode = make_fastH_node(center, grndp, gp, xg, yg, zg, templine); | ^ contact.c:1164:3: warning: call to undeclared function 'append_pnlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1164 | append_pnlist(create_pn(name, cnode), indsys); | ^ contact.c:1164:26: warning: passing arguments to 'create_pn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | append_pnlist(create_pn(name, cnode), indsys); | ^ contact.c:1166:26: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | realcnode = getrealnode(cnode); | ^ contact.c:1171:41: warning: passing arguments to 'get_nonuni_node_from_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | node = get_nonuni_node_from_list(gnode, grndp->usernodes); | ^ contact.c:1176:29: warning: passing arguments to 'make_fastH_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | node = make_fastH_node(gnode, grndp, gp, x, y, z, templine); | ^ contact.c:1181:22: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | if (getrealnode(node) != realcnode) { | ^ contact.c:1191:7: warning: call to undeclared function 'make_equiv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1191 | make_equiv(node, realcnode); | ^ contact.c:1194:3: warning: call to undeclared function 'free_Llist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1194 | free_Llist(inside_nodes); | ^ contact.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | make_equiv_rect(x0, y0, z0, x_width, y_width, gp, name) | ^ contact.c:1208:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1208 | } | ^ contact.c:1214:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1214 | walk_along_edge(xl, yb, xr, yt, gp, which_edge, cnode, name, z0) | ^ | int contact.c:1300:29: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | cell = get_containing_cell(x,y,gp->root_cell); | ^ contact.c:1303:3: warning: call to undeclared function 'equiv_nodes_on_edge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1303 | equiv_nodes_on_edge(cell->bndry.nodes[start_node], travel_dir, | ^ contact.c:1316:22: warning: passing arguments to 'scan_edge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | anode = scan_edge(x, y, cell->bndry.nodes[end_node], scan_dir); | ^ contact.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | walk_along_edge(xl, yb, xr, yt, gp, which_edge, cnode, name, z0) | ^ contact.c:1350:1: warning: non-void function does not return a value [-Wreturn-type] 1350 | } | ^ contact.c:1355:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1355 | equiv_nodes_on_edge(node1, dir, node2, cnode, gp, name, z0) | ^ | int contact.c:1371:26: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | realcnode = getrealnode(cnode); | ^ contact.c:1376:37: warning: passing arguments to 'get_nonuni_node_from_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | node = get_nonuni_node_from_list(gnode, grndp->usernodes); | ^ contact.c:1378:7: warning: call to undeclared function 'get_global_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1378 | get_global_coords(gnode->x, gnode->y, z0, gp, &x, &y, &z); | ^ contact.c:1381:29: warning: passing arguments to 'make_fastH_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | node = make_fastH_node(gnode, grndp, gp, x, y, z, templine); | ^ contact.c:1386:22: warning: passing arguments to 'getrealnode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | if (getrealnode(node) != realcnode) { | ^ contact.c:1396:7: warning: call to undeclared function 'make_equiv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1396 | make_equiv(node, realcnode); | ^ contact.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | equiv_nodes_on_edge(node1, dir, node2, cnode, gp, name, z0) | ^ contact.c:1402:1: warning: non-void function does not return a value [-Wreturn-type] 1402 | } | ^ contact.c:1416:36: warning: passing arguments to 'make_new_node_with_nonuni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | cnode = make_new_node_with_nonuni(node, pseudoname, | ^ contact.c:1423:25: warning: passing arguments to 'make_new_fake_segs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | = make_new_fake_segs(cnode, grndp->usernodes, grndp->fake_seg_list); | ^ contact.c:1424:38: warning: passing arguments to 'add_node_to_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | grndp->usernodes = add_node_to_list(cnode, grndp->usernodes); | ^ contact.c:1407:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | NODES *make_fastH_node(node, grndp, gp, xg, yg, zg, pseudoname) | ^ In file included from contact.c:3: ./gp.h:259: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] 259 | NODES *make_fastH_node(); | ^ contact.c:1433:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1433 | contact_initial_grid(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:1453:3: warning: call to undeclared function 'make_initial_grid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1453 | make_initial_grid(gp, (int)vals[0], (int)vals[1]); | ^ contact.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | contact_initial_grid(contactp, gp, relx, rely, relz, units) | ^ contact.c:1454:1: warning: non-void function does not return a value [-Wreturn-type] 1454 | } | ^ contact.c:1456:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1456 | make_initial_grid(gp, x_cells, y_cells) | ^ | int contact.c:1468:3: warning: call to undeclared function 'make_grid_kids'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1468 | make_grid_kids(root, x_cells, y_cells, gp); | ^ contact.c:1471:3: warning: call to undeclared function 'set_cell_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1471 | set_cell_coords(root, root->x0, root->y0, root->x1, root->y1); | ^ contact.c:1474:3: warning: call to undeclared function 'update_grid_nodes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1474 | update_grid_nodes(root, gp); | ^ contact.c:1456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | make_initial_grid(gp, x_cells, y_cells) | ^ contact.c:1476:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1476 | } | ^ contact.c:1480:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1480 | update_grid_nodes(cell, gp) | ^ | int contact.c:1491:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1491 | GP_PANIC("update_grid_nodes: not a grid_2d cell!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:1531:32: warning: passing arguments to 'add_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | nodeNE = add_new_node(onekid->x1, onekid->y1, SW, onekid, | ^ contact.c:1549:32: warning: passing arguments to 'add_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | nodeSW = add_new_node(onekid->x0, onekid->y0, NE, onekid, | ^ contact.c:1561:30: warning: passing arguments to 'add_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | nodeSE = add_new_node(onekid->x1, onekid->y0, NW, onekid, | ^ contact.c:1566:7: warning: call to undeclared function 'set_node_and_cell_info'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1566 | set_node_and_cell_info(nodeNW, NW, onekid); | ^ contact.c:1571:7: warning: call to undeclared function 'set_cell_node_adjacency'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1571 | set_cell_node_adjacency(onekid); | ^ contact.c:1480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1480 | update_grid_nodes(cell, gp) | ^ contact.c:1575:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1575 | } | ^ contact.c:1578:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1578 | set_node_and_cell_info(node, dir, cell) | ^ | int contact.c:1578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:1585:1: warning: non-void function does not return a value [-Wreturn-type] 1585 | } | ^ contact.c:1588:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1588 | set_cell_node_adjacency(cell) | ^ | int contact.c:1593:3: warning: call to undeclared function 'point_at_each_other'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1593 | point_at_each_other(nodes[NE], S, nodes[SE]); | ^ contact.c:1588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1588 | set_cell_node_adjacency(cell) | ^ contact.c:1598:1: warning: non-void function does not return a value [-Wreturn-type] 1598 | } | ^ contact.c:1600:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1600 | point_at_each_other(node1, dir, node2) | ^ | int contact.c:1612:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1612 | GP_PANIC("point_at_each_other: node1->adjacent != NULL and != node2"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:1617:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1617 | GP_PANIC("point_at_each_other: node2->adjacent != NULL and != node1"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:1600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1600 | point_at_each_other(node1, dir, node2) | ^ contact.c:1618:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1618 | } | ^ contact.c:1632:23: warning: passing arguments to 'make_new_node' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | node = make_new_node(x, y, cell_dir, cell, index); | ^ contact.c:1633:34: warning: passing arguments to 'add_to_gnodelist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | gp->nodelist = add_to_gnodelist(node, gp->nodelist); | ^ contact.c:1623:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | G_nodes *add_new_node(x, y, cell_dir, cell, index, gp) | ^ In file included from contact.c:3: ./gp.h:258:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 258 | G_nodes *add_new_node(); | ^ contact.c:1638:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1638 | make_grid_kids(parent, x_cells, y_cells, gp) | ^ | int contact.c:1647:30: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | grid = (Grid_2d *)gp_malloc(sizeof(Grid_2d)); | ^ contact.c:1652:36: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | grid->kids = (Gcell ***)gp_malloc( y_cells*sizeof(Gcell **)); | ^ contact.c:1656:40: warning: passing arguments to 'gp_malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | grid->kids[i] = (Gcell **)gp_malloc( x_cells*sizeof(Gcell *)); | ^ contact.c:1658:23: warning: passing arguments to 'new_Gcell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | cell = new_Gcell(NOCLEAR); | ^ contact.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | make_grid_kids(parent, x_cells, y_cells, gp) | ^ contact.c:1672:1: warning: non-void function does not return a value [-Wreturn-type] 1672 | } | ^ contact.c:1678:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1678 | contact_initial_mesh_grid(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:1700:3: warning: call to undeclared function 'poke_holes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1700 | poke_holes(gp); | ^ contact.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | contact_initial_mesh_grid(contactp, gp, relx, rely, relz, units) | ^ contact.c:1701:1: warning: non-void function does not return a value [-Wreturn-type] 1701 | } | ^ contact.c:1706:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1706 | poke_holes(gp) | ^ | int contact.c:1713:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1713 | GP_PANIC("poke_holes: ground plane does not have an initial grid!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | poke_holes(gp) | ^ contact.c:1722:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1722 | } | ^ contact.c:1766:37: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | con_decay = (ContactList *)Gmalloc(sizeof(ContactList)); | ^ contact.c:1767:37: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | con_equiv = (ContactList *)Gmalloc(sizeof(ContactList)); | ^ contact.c:1769:36: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | con_decay->func = (char *)Gmalloc((strlen("decay_rect") + 1)*sizeof(char)); | ^ contact.c:1770:36: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | con_equiv->func = (char *)Gmalloc((strlen("equiv_rect") + 1)*sizeof(char)); | ^ contact.c:1787:36: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | con_equiv->name = (char *)Gmalloc((strlen(nname) + 1)*sizeof(char)); | ^ contact.c:1803:27: warning: call to undeclared function 'eos'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1803 | while(*linep != ')' && !eos(*linep)) { | ^ contact.c:1805:30: warning: call to undeclared function 'is_one_of'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1805 | while(isspace(*linep) || is_one_of(*linep, "1234567890.e+-")) | ^ contact.c:1816:38: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | con_equiv->vals = (double *)Gmalloc(5*sizeof(double)); | ^ contact.c:1818:38: warning: passing arguments to 'Gmalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | con_decay->vals = (double *)Gmalloc(9*sizeof(double)); | ^ contact.c:1840:16: warning: call to undeclared function 'skipspace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1840 | linep += skipspace(linep); | ^ contact.c:1731:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | ContactList *make_contact_connection(head, line, units, relx, rely, relz, skip) | ^ In file included from contact.c:3: ./gp.h:260:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 260 | ContactList *make_contact_connection(); | ^ contact.c:1887:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1887 | contact_trace(contactp, gp, relx, rely, relz, units) | ^ | int contact.c:1902:3: warning: call to undeclared function 'get_nonuni_coords'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1902 | get_nonuni_coords(vals[0]*units + relx, vals[1]*units + rely, | ^ contact.c:1909:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | contain = get_containing_cell(x0, y0, gp->root_cell); | ^ contact.c:1911:8: warning: call to undeclared function 'is_in_cell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1911 | if (!is_in_cell(x0,y0,contain)) | ^ contact.c:1914:32: warning: passing arguments to 'get_containing_cell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | contain = get_containing_cell(x1, y1, gp->root_cell); | ^ contact.c:1924:3: warning: call to undeclared function 'do_trace'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1924 | do_trace(x0, y0, z0, x1, y1, z1, vals[6]*units, vals[7], gp); | ^ contact.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | contact_trace(contactp, gp, relx, rely, relz, units) | ^ contact.c:1927:1: warning: non-void function does not return a value [-Wreturn-type] 1927 | } | ^ contact.c:1933:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1933 | do_trace(x0, y0, z0, x1, y1, z1, width, factor, gp) | ^ | int contact.c:1933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] contact.c:2003:1: warning: non-void function does not return a value [-Wreturn-type] 2003 | } | ^ contact.c:2035:7: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2035 | GP_PANIC("pick_cell_based_on_vec(): xv == yv == 0!") | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:2054:5: warning: call to undeclared function 'debug_func'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2054 | GP_PANIC("pick_cell_based_on_vec(): No condition met!"); | ^ ./gp.h:274:94: note: expanded from macro 'GP_PANIC' 274 | #define GP_PANIC(str) { fprintf(stderr,"Internal error in nonuniform plane code: %s\n",str); debug_func(); exit(1); } | ^ contact.c:2006:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | Gcell *pick_cell_based_on_vec(node, xv, yv) | ^ In file included from contact.c:3: ./gp.h:261: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] 261 | Gcell *pick_cell_based_on_vec(); | ^ 264 warnings generated. --- mulSetup.o --- mulSetup.c:21:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:26:16: warning: call to undeclared function 'placeq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | sys->depth = placeq(autom, sys, charges, indsys, pseudo_lev); /*create cubes, put in charges*/ | ^ mulSetup.c:33:3: warning: call to undeclared function 'getrelations'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | getrelations(sys); /* Get all the prnts and kids for each cube. */ | ^ mulSetup.c:35:3: warning: call to undeclared function 'removeabandoned'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | removeabandoned(sys); /* remove abandoned cubes. MK 7/92 */ | ^ mulSetup.c:37:3: warning: call to undeclared function 'setPosition'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | setPosition(sys); /* Figures out position of cube center. */ | ^ mulSetup.c:38:3: warning: call to undeclared function 'indexkid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | indexkid(sys, sys->cubes[0][0][0][0], &qindex, &cindex); | ^ mulSetup.c:42:3: warning: call to undeclared function 'setExact'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^ mulSetup.c:42:17: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^ mulSetup.c:51:3: warning: call to undeclared function 'getnbrs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | getnbrs(sys); /* Get all the nearest neighbors. At bot level | ^ mulSetup.c:53:3: warning: call to undeclared function 'linkcubes'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | linkcubes(sys); /* Make linked-lists of direct, multis, and | ^ mulSetup.c:55:3: warning: call to undeclared function 'set_vector_masks'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | set_vector_masks(sys); /* set up sys->is_dummy and sys->is_dielec */ | ^ mulSetup.c:56:3: warning: call to undeclared function 'setMaxq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | setMaxq(sys); /* Calculates the max # chgs in cubes treated | ^ mulSetup.c:58:3: warning: call to undeclared function 'getAllInter'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | getAllInter(sys); /* Get the interaction lists at all levels. */ | ^ mulSetup.c:11:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | ssystem *mulInit(autom, depth, order, charges, indsys, pseudo_lev) | ^ mulSetup.c:86: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] 86 | int xindex, yindex, zindex, limit = multerms(sys->order), compflag; | ^ mulSetup.c:107:21: warning: passing arguments to 'multerms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | limit = multerms(sys->order)*sqrt(3.0); /* multerms = (order + 1)^2 */ | ^ mulSetup.c:142: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] 142 | length = tilelength(nextq); | ^ mulSetup.c:169:5: warning: call to undeclared function 'DivideSegs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | DivideSegs((1.01*length0)/pow(2.0,(double)indsys->opts->init_refine), | ^ mulSetup.c:184:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:188:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:190:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:192:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:216:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | CALLOC(cubes[i], side, cube***, OFF, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:222:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | CALLOC(cubes[i][j], side, cube**, OFF, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:228:6: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:252:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | CALLOC(nextc, 1, cube, OFF, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:260:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:269:8: warning: call to undeclared function 'is_gp_charge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | if (is_gp_charge(nextq) == TRUE) | ^ mulSetup.c:278:8: warning: call to undeclared function 'is_gp_charge'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 278 | if (is_gp_charge(nextq) == TRUE) | ^ mulSetup.c:303:35: warning: passing arguments to 'OneCubeCost' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Precond_Cost += OneCubeCost(cubes,i,j,k,l,side, &Direct_Cost); | ^ mulSetup.c:321:38: warning: passing arguments to 'ratio_of_divided_segs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | to_be_broken = ratio_of_divided_segs(length/2.0,charges,indsys); | ^ mulSetup.c:381:5: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:383:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:385:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:387:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:411:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | CALLOC(nextc, 1, cube, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:414:2: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:432:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:433:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:436:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:439:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:452:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:453:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:78:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | int placeq(flag, sys, charges, indsys, pseudo_lev) | ^ mulSetup.c:513:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 513 | static placeqold(sys, charges) | ~~~~~~ ^ | int mulSetup.c:542:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:543:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:565:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | CALLOC(nextc, 1, cube, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:568:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:583:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:584:4: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:594: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] 594 | if(tilelength(nextq) > length) { | ^ mulSetup.c:513:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | static placeqold(sys, charges) | ^ mulSetup.c:607:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 607 | } | ^ mulSetup.c:612:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 612 | getrelations(sys) | ^ | int mulSetup.c:626:8: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:639:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | CALLOC(parent, 1, cube, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | getrelations(sys) | ^ mulSetup.c:649:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 649 | } | ^ mulSetup.c:653:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 653 | removeabandoned(sys) | ^ | int mulSetup.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mulSetup.c:691:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 691 | } | ^ mulSetup.c:696:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 696 | setPosition(sys) | ^ | int mulSetup.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mulSetup.c:723:1: warning: non-void function does not return a value [-Wreturn-type] 723 | } | ^ mulSetup.c:733:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 733 | indexkid(sys, dad, pqindex, pcindex) | ^ | int mulSetup.c:742:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | CALLOC(dad->upvects, 1, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:743:7: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | indexkid(sys, dad, pqindex, pcindex) | ^ mulSetup.c:759:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 759 | } | ^ mulSetup.c:771:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 771 | setExact(sys, numterms) | ^ | int mulSetup.c:804: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] 804 | nc->multisize = multerms(sys->order); | ^ mulSetup.c:813: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] 813 | nc->localsize = multerms(sys->order); | ^ mulSetup.c:841: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] 841 | nc->multisize = multerms(sys->order); | ^ mulSetup.c:848:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | CALLOC(nc->upvects, 1, double*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:849:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | CALLOC(nc->upnumeles, 1, int, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:852:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:860:6: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:876: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] 876 | nc->localsize = multerms(sys->order); | ^ mulSetup.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | setExact(sys, numterms) | ^ mulSetup.c:894:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 894 | } | ^ mulSetup.c:901:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 901 | getnbrs(sys) | ^ | int mulSetup.c:945:26: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | getnbrs(sys) | ^ mulSetup.c:952:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 952 | } | ^ mulSetup.c:957:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | int cntDwnwdChg(cp, depth) | ^ mulSetup.c:977:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 977 | linkcubes(sys) | ^ | int mulSetup.c:982:48: warning: call to undeclared function 'multerms'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 982 | int dindex, side, depth=sys->depth, numterms=multerms(sys->order); | ^ mulSetup.c:985:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:986:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:1000:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | CALLOC(nc->multi, numterms, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:1012:3: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | CALLOC(nc->local, numterms, double, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | linkcubes(sys) | ^ mulSetup.c:1027:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1027 | } | ^ mulSetup.c:1032:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1032 | setMaxq(sys) | ^ | int mulSetup.c:1032: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:1120:1: warning: non-void function does not return a value [-Wreturn-type] 1120 | } | ^ mulSetup.c:1125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1125 | markUp(child, flag) | ^ | int mulSetup.c:1125: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:1136:1: warning: non-void function does not return a value [-Wreturn-type] 1136 | } | ^ mulSetup.c:1143:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1143 | getInter(child,sys) | ^ | int mulSetup.c:1206:17: warning: passing arguments to 'ualloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); | ^ ./mulGlobal.h:175:29: note: expanded from macro 'CALLOC' 175 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulGlobal.h:83:34: note: expanded from macro 'CALCORE' 83 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^ mulSetup.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | getInter(child,sys) | ^ mulSetup.c:1215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1215 | getAllInter(sys) | ^ | int mulSetup.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] mulSetup.c:1230:1: warning: non-void function does not return a value [-Wreturn-type] 1230 | } | ^ mulSetup.c:1237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1237 | set_vector_masks(sys) | ^ | int mulSetup.c:1237: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:1252:1: warning: non-void function does not return a value [-Wreturn-type] 1252 | } | ^ 109 warnings generated. --- fasthenry --- cc -o fasthenry -O2 -pipe -fcommon -DNO_SBRK -fstack-protector-strong -fno-strict-aliasing -DFOUR induct.o gmres.o savemat_mod.o readGeom.o joelself.o writefastcap.o SetupMulti.o calcp.o SetupComputePsi.o mulSetup.o BreakupSeg.o Precond.o addgroundplane.o findpaths.o fillM.o cx_ludecomp.o parse_command_line.o default_opts.o Prec_cost.o hole.o dist_betw_fils.o mutual.o newPrecond.o deg_mutual.o barnoldi.o regurgitate.o mulGlobal.o mulDo.o mulMulti.o mulLocal.o mulMats.o direct.o uglieralloc.o capsolve.o find_nonuni_path.o read_tree.o contact.o sparse/sparse.a -lm mv fasthenry ../../bin/fasthenry =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for fasthenry-3.0.w.021113_1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/bin/fasthenry /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/bin/ install -s -m 555 /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/bin/zbuf /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/bin /bin/cat /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/README /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/README.mit > /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/share/doc/fasthenry/readme /bin/cat /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/doc/manual_*.ps > /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/share/doc/fasthenry/manual.ps /bin/cat /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/doc/nonuniform_manual_*.ps > /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/share/doc/fasthenry/nonuniform_manual.ps install -m 0644 /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/doc/ms_thesis.ps /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/share/doc/fasthenry /usr/bin/gzip -nf -9 /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/share/doc/fasthenry/* install -m 0644 /wrkdirs/usr/ports/science/fasthenry/work/fasthenry-3.0wr/examples/* /wrkdirs/usr/ports/science/fasthenry/work/stage/usr/local/share/examples/fasthenry ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-02-20T03:12:15+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=162f181fecf0' '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 fasthenry-3.0.w.021113_1 ===> Building fasthenry-3.0.w.021113_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for fasthenry-3.0.w.021113_1 build of science/fasthenry | fasthenry-3.0.w.021113_1 ended at Thu Feb 19 22:12:27 EST 2026 build time: 00:00:13