=>> Building biology/mapm3 build started at Thu Dec 11 03:52:51 EST 2025 port directory: /usr/ports/biology/mapm3 package name: mapm3-3.0_1 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: tphilipp@potion-studios.com Makefile datestamp: -rw-r--r-- 1 root wheel 1178 Aug 27 2024 /usr/ports/biology/mapm3/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: fb16dfecae4a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- tphilipp@potion-studios.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/biology/mapm3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/biology/mapm3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/biology/mapm3/work/.cache HOME=/wrkdirs/usr/ports/biology/mapm3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/biology/mapm3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/biology/mapm3/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/biology/mapm3/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/biology/mapm3/work XDG_CACHE_HOME=/wrkdirs/usr/ports/biology/mapm3/work/.cache HOME=/wrkdirs/usr/ports/biology/mapm3/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/biology/mapm3/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/biology/mapm3/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " CSTD=gnu89 BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mapm3" EXAMPLESDIR="share/examples/mapm3" DATADIR="share/mapm3" WWWDIR="www/mapm3" ETCDIR="etc/mapm3" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mapm3 DOCSDIR=/usr/local/share/doc/mapm3 EXAMPLESDIR=/usr/local/share/examples/mapm3 WWWDIR=/usr/local/www/mapm3 ETCDIR=/usr/local/etc/mapm3 --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mapm3-3.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> mapm3-3.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mapm3-3.0_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mapm3-3.0_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mapm3-3.0_1 for building => SHA256 Checksum OK for mapm3-source.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by mapm3-3.0_1 for building ===> Extracting for mapm3-3.0_1 => SHA256 Checksum OK for mapm3-source.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for mapm3-3.0_1 ===> Applying FreeBSD patches for mapm3-3.0_1 from /usr/ports/biology/mapm3/files cp -f /wrkdirs/usr/ports/biology/mapm3/work/mapm3-3.0_1/sun/* /wrkdirs/usr/ports/biology/mapm3/work/mapm3-3.0_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> mapm3-3.0_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. ===> mapm3-3.0_1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of mapm3-3.0_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 mapm3-3.0_1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for mapm3-3.0_1 cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/memlib.c -o ./lib/memlib.o In file included from ./lib/memlib.c:19: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/memlib.c:41:19: 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] 41 | else if (num<=0) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/memlib.c:51:28: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 51 | sf(ps_,ALLOC_FAIL_MSG,num,cell_sizeof,n_alloced); | ~~~~~~~~~~~~~~ ^~~ ./lib/memlib.c:51:32: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 51 | sf(ps_,ALLOC_FAIL_MSG,num,cell_sizeof,n_alloced); | ~~~~~~~~~~~~~~ ^~~~~~~~~~~ ./lib/memlib.c:52:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | print(ps_); | ^ ./lib/memlib.c:59:29: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 59 | sprintf(ps_,ALLOC_MSG,num,cell_sizeof,((long)p),n_alloced); | ~~~~~~~~~ ^~~ ./lib/memlib.c:59:33: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 59 | sprintf(ps_,ALLOC_MSG,num,cell_sizeof,((long)p),n_alloced); | ~~~~~~~~~ ^~~~~~~~~~~ ./lib/memlib.c:60:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | print(ps_); | ^ ./lib/memlib.c:33:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | CALLOC_PTR_TO *xalloc(num,cell_sizeof) | ^ ./lib/memlib.c:21:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | CALLOC_PTR_TO *xalloc(); /* INTERNAL USE ONLY! */ | ^ ./lib/memlib.c:75:7: 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] 75 | array(p,i,real**); | ^ ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/memlib.c:77:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | for (z=0; z10000); } else if (msg!=num) { sender(msg); } else | ^ ./lib/memlib.c:82:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./lib/memlib.c:68:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | real ***alloc_real_3d_matrix(i,j,k) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:113: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] 113 | real ***alloc_real_3d_matrix(); /* args: int i,j,k; */ | ^ ./lib/memlib.c:89:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | void free_real_3d_matrix(p,i,j) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:114:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | void free_real_3d_matrix(); /* args: real ***ptr; int i,j; */ | ^ ./lib/memlib.c:107:7: 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] 107 | array(p,i,char**); | ^ ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/memlib.c:109:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | for (z=0; z10000); } else if (msg!=num) { sender(msg); } else | ^ ./lib/memlib.c:114:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./lib/memlib.c:100:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | char ***alloc_char_3d_matrix(i,j,k) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:115: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] 115 | char ***alloc_char_3d_matrix(); | ^ ./lib/memlib.c:121:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | void free_char_3d_matrix(p,i,j) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | void free_char_3d_matrix(); | ^ ./lib/memlib.c:139:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | print(n); print(":\n"); | ^ ./lib/memlib.c:139:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | print(n); print(":\n"); | ^ ./lib/memlib.c:140:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | print(" [i][0] [i][1] [i][2] "); | ^ ./lib/memlib.c:141:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | print("[i][3] [i][4] [i][5]\n"); | ^ ./lib/memlib.c:143:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | sprintf(ps,"%2d %2d ",i,0); print(ps); | ^ ./lib/memlib.c:145:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | sprintf(ps,"%10.2le ",x[i][j]); print(ps); | ^ ./lib/memlib.c:148:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | print(ps); | ^ ./lib/memlib.c:151:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/memlib.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | void pmat_r(n,x,a,b) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:120:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | void pmat_r(); | ^ ./lib/memlib.c:163:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | print(n); print(":\n [i]\n"); | ^ ./lib/memlib.c:163:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | print(n); print(":\n [i]\n"); | ^ ./lib/memlib.c:165:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | sprintf(ps,"%2d %10.2le\n",i,x[i]); print(ps); | ^ ./lib/memlib.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 pary_r(n,x,a) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:121:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void pary_r(); | ^ ./lib/memlib.c:177:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | print(n); print(":\n"); | ^ ./lib/memlib.c:177:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | print(n); print(":\n"); | ^ ./lib/memlib.c:178:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | print(" [0][0] [0][1] [1][0] [1][1]\n"); | ^ ./lib/memlib.c:182:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | print(ps); | ^ ./lib/memlib.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void pary_r2x2(n,x,a) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:122:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void pary_r2x2(); | ^ ./lib/memlib.c:193:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | print(n); print(":\n"); | ^ ./lib/memlib.c:193:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | print(n); print(":\n"); | ^ ./lib/memlib.c:194:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | print(" [0] [1] [2] [3]\n"); | ^ ./lib/memlib.c:198:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | print(ps); | ^ ./lib/memlib.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 pary_r4(n,x,a) | ^ In file included from ./lib/memlib.c:19: In file included from ./lib/system.h:561: ./lib/memlib.h:123:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | void pary_r4(); | ^ 55 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/mathlib.c -o ./lib/mathlib.o In file included from ./lib/mathlib.c:22: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/mathlib.c:24:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | real sq(r) real r; { return(r*r); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:34: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] 34 | real sq(); /* arg: real x; returns x squared */ | ^ ./lib/mathlib.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | real rmaxf(r,s) real r,s; { return(r>=s ? r : s); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:90:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | real rmaxf(); /* args: real r,s; returns largest of r and s */ | ^ ./lib/mathlib.c:26:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | real rminf(r,s) real r,s; { return(r<=s ? r : s); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:91:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | real rminf(); /* args: real r,s; returns smallest of r and s */ | ^ ./lib/mathlib.c:33:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (i<0 || i>LONGBITS) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:28:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | long lpow2(i) /* Return 2 to the i-th power for 0<=i<=LONGBITS (31) */ | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:50: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] 50 | long lpow2(); /* arg: int i; returns 2 to the i, for i<=31*/ | ^ ./lib/mathlib.c:43: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] 43 | if (i<0 || i>INTBITS) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int ipow2(i) /* Return 2 to the i-th power 0<=i<=INTBITS (15) */ | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:51: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] 51 | int ipow2(); /* arg: int i; returns 2 to the i, for i<=15*/ | ^ ./lib/mathlib.c:54:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | if (i<0 || i>LONGBITS) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | long lpow(x,i) /* Return x to the i-th power */ | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:48: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] 48 | long lpow(); /* arg: int x,i; returns x to the i, for i<=31*/ | ^ ./lib/mathlib.c:64: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] 64 | if (i<0 || i>INTBITS) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.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 ipow(x,i) /* Return 2 to the i-th power 0<=i<=INTBITS (15) */ | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:49: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] 49 | int ipow(); /* arg: int x,i; returns x to the i, for small x,i */ | ^ ./lib/mathlib.c:74:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (k>n || n<1 || k<1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:69:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | int ichoose(n,k) /* Best algorithm for small k */ | ^ ./lib/mathlib.c:82:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | int imaxf(r,s) int r,s; { return(r>=s ? r : s); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:92:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | int imaxf(); /* args: int i,j; returns largest of i and j */ | ^ ./lib/mathlib.c:83:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | int iminf(r,s) int r,s; { return(r<=s ? r : s); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | int iminf(); /* args: int i,j; returns smallest of i and j */ | ^ ./lib/mathlib.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | long lmaxf(r,s) long r,s; { return(r>=s ? r : s); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | long lmaxf(); /* args: long i,j; returns largest of i and j */ | ^ ./lib/mathlib.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 | long lminf(r,s) long r,s; { return(r<=s ? r : s); } | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:552: ./lib/mathlib.h:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | long lminf(); /* args: long i,j; returns smallest of i and j */ | ^ ./lib/mathlib.c:90:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | int icomp(x,y) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:54: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] 54 | int icomp(), lcomp(), scomp(), rcomp(), inv_icomp(), inv_rcomp(); | ^ ./lib/mathlib.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | int lcomp(x,y) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:54: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] 54 | int icomp(), lcomp(), scomp(), rcomp(), inv_icomp(), inv_rcomp(); | ^ ./lib/mathlib.c:99:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | int rcomp(x,y) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:54:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int icomp(), lcomp(), scomp(), rcomp(), inv_icomp(), inv_rcomp(); | ^ ./lib/mathlib.c:104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | int scomp(x,y) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:54:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int icomp(), lcomp(), scomp(), rcomp(), inv_icomp(), inv_rcomp(); | ^ ./lib/mathlib.c:108:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | int inv_icomp(x,y) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:54:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int icomp(), lcomp(), scomp(), rcomp(), inv_icomp(), inv_rcomp(); | ^ ./lib/mathlib.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | int inv_rcomp(x,y) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:54:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | int icomp(), lcomp(), scomp(), rcomp(), inv_icomp(), inv_rcomp(); | ^ ./lib/mathlib.c:137:11: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | run { array(bucket, num_buckets, int); } | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/mathlib.c:137: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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:138:9: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | except_when (NOMEMORY) return(FALSE); | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./lib/mathlib.c:144:13: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (!irange(&index,0,num_buckets-1)) send(CRASH); | ^ ./lib/mathlib.c:144:39: 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] 144 | if (!irange(&index,0,num_buckets-1)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:155:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | sf(ps,"%6.3lf | ",((real)j)*scale+(scale/2.0)+min_data); print(ps); | ^ ./lib/mathlib.c:157:8: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | irange(&stars,0,max_stars); | ^ ./lib/mathlib.c:158:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (bucket[j]>0 && stars<1) print(":"); | ^ ./lib/mathlib.c:159:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | else for (i=0; i=length) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:288:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | total_prob+= prob[i]= (*prob_func)(d); | ^ ./lib/mathlib.c:308:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./lib/mathlib.c:266:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | DISTRIBUTION *make_distribution(sigma,inc,limit,mean,prob_func) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:130:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | DISTRIBUTION *make_distribution(); | ^ ./lib/mathlib.c:315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | real pick_from_distribution(dist,prob) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:141: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] 141 | real pick_from_distribution(); /* args: DISTRIBUTION *dist; real *prob; | ^ ./lib/mathlib.c:352:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (row==size) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:357:27: warning: passing arguments to 'eliminate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | if (row!=col) eliminate(row,col,col,m_inverse,twice_size); | ^ ./lib/mathlib.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | void mat_invert(m,size,m_inverse) /* Invert square matrix by Gauss' method */ | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:107:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | void mat_invert(); /* args: real **m; int size; real **m_inverse; */ | ^ ./lib/mathlib.c:387:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | if (m[row_to_sub][col]==0.0) send(CRASH); /* used to send(SINGMAT) */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/mathlib.c:375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | void eliminate(row,col,row_to_sub,m,n_cols) | ^ ./lib/mathlib.c:330: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] 330 | void eliminate(); /* defined below */ | ^ ./lib/mathlib.c:395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | void mat_mult(m,m2,size,result) /* NEEDS TESTING */ | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | void mat_mult(); /* args: real **m, **m2; int size; real **m_times_m2; */ | ^ ./lib/mathlib.c:411:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | void array_times_matrix(a,b,rows,columns,c) | ^ In file included from ./lib/mathlib.c:22: In file included from ./lib/system.h:573: ./lib/misclib.h:117:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | void array_times_matrix(); /* real *a, **m; int rows, columns; real *result; */ | ^ 94 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/iolib.c -o ./lib/iolib.o In file included from ./lib/iolib.c:20: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/iolib.c:74:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | int lookup_fp(fp,name,modechar) | ^ ./lib/iolib.c:31:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | int lookup_fp(); | ^ ./lib/iolib.c:109:28: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | if (ioline!=NULL) nstrcpy(IOERROR_linecopy,ioline,64); | ^ ./lib/iolib.c:112:3: 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] 112 | send(IOERROR); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void ioerror(errmsg,fp,ioline) | ^ ./lib/iolib.c:30: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] 30 | void ioerror(); | ^ ./lib/iolib.c:128:23: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (!make_filename(str,force_ext,ext)) return(FALSE); | ^ ./lib/iolib.c:133:11: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | if (strin(PATH_DIR_SEPARATORS,str[i])) break; | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/iolib.c:162:12: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | despace(dir); if (count_tokens(dir)!=1) return(FALSE); | ^ ./lib/iolib.c:162:35: warning: passing arguments to 'count_tokens' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | despace(dir); if (count_tokens(dir)!=1) return(FALSE); | ^ ./lib/iolib.c:163:34: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | if (PATH_UPPERCASE) uppercase(dir); | ^ ./lib/iolib.c:165:11: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (strin(PATH_DIR_CHARS,dir[i])) dir[j++]=dir[i]; | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/iolib.c:167:24: warning: passing arguments to 'strdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | if (has_dir) strdel(str,dir_chars); | ^ ./lib/iolib.c:168:14: warning: passing arguments to 'maxstrcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | maxstrcat(dir,PATH_DIR_FILE_INSERT,PATH_LENGTH); | ^ ./lib/iolib.c:169:14: warning: passing arguments to 'maxstrins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | maxstrins(str,dir,PATH_LENGTH); | ^ ./lib/iolib.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | bool make_filename_in_dir(str,force_ext,ext,add_dir_mode,dir) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:273: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] 273 | bool make_filename_in_dir(); | ^ ./lib/iolib.c:183:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | if (nullstr(str) || ext==NULL) send(CRASH); | ^ ./lib/iolib.c:183:36: 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] 183 | if (nullstr(str) || ext==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:186:12: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | despace(str); truncstr(str,PATH_LENGTH); | ^ ./lib/iolib.c:186:27: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | despace(str); truncstr(str,PATH_LENGTH); | ^ ./lib/iolib.c:187:34: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | if (PATH_UPPERCASE) uppercase(str); | ^ ./lib/iolib.c:188:21: warning: passing arguments to 'count_tokens' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if (count_tokens(str)!=1) return(FALSE); | ^ ./lib/iolib.c:190:11: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (strin(PATH_OK_CHARS,str[i])) str[j++]=str[i]; | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/iolib.c:193:12: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | despace(ext); if (ext[0]=='.') ext++; | ^ ./lib/iolib.c:194:34: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if (PATH_UPPERCASE) uppercase(ext); | ^ ./lib/iolib.c:195:21: warning: passing arguments to 'count_tokens' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | if (count_tokens(ext)!=1) return(FALSE); | ^ ./lib/iolib.c:197:11: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if (strin(PATH_OK_CHARS,ext[i])) ext[j++]=ext[i]; | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/iolib.c:206:11: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (strin(PATH_DIR_SEPARATORS,str[i])) break; | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/iolib.c:225:29: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | if (!has_ext && !nullstr(ext)) { | ^ ./lib/iolib.c:226:10: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | truncstr(str,PATH_LENGTH-2); /* then add a dot */ | ^ ./lib/iolib.c:228:11: warning: passing arguments to 'maxstrcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | maxstrcat(str+len(str),ext,PATH_LENGTH); | ^ ./lib/iolib.c:233:10: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | truncstr(str,PATH_LENGTH-2); | ^ ./lib/iolib.c:234:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (!nullstr(ext)) strcat(str,"."); | ^ ./lib/iolib.c:235:11: warning: passing arguments to 'maxstrcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | maxstrcat(str+len(str),ext,PATH_LENGTH); | ^ ./lib/iolib.c:175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | bool make_filename(str,force_ext,ext) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:265: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] 265 | bool make_filename(); /* args: char *name; int mode; char *extension; | ^ ./lib/iolib.c:252:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | nstrcpy(CANTOPEN_path,name,PATH_LENGTH); | ^ ./lib/iolib.c:254:5: 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] 254 | send(CANTOPEN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:258:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | nstrcpy(files[n]->name,name,PATH_LENGTH); | ^ ./lib/iolib.c:242:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | FILE *open_file(name,mode) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:282:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 282 | FILE *open_file(); /* args: char *name, *mode; on failure sends CANTOPEN */ | ^ ./lib/iolib.c:272:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | if (n==-1) send(CANTCLOSE); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:273:29: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if (dos_output) lib_puts(fp,"\015"); /* ctrl-Z at end of DOS files */ | ^ ./lib/iolib.c:274:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if (!xclose(fp)) send(CANTCLOSE); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:264:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | void close_file(fp) /* ignore NULL fp */ | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:286: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] 286 | void close_file(); /* args: FILE *fp; */ | ^ ./lib/iolib.c:283:10: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | { _filter(str); lib_puts(fp,str); } /* DO NOTHING FANCY */ | ^ ./lib/iolib.c:283:25: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | { _filter(str); lib_puts(fp,str); } /* DO NOTHING FANCY */ | ^ ./lib/iolib.c:280:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | void fwrite(fp,str) | ^ ./lib/iolib.h:296:25: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/iolib.h:295: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] 295 | void do_fwrite(); /* args: FILE *fp; char *string; no processing happens */ | ^ ./lib/iolib.c:288:10: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | { _filter(str); lib_puts(fp,str); } /* JUST FOR NOW - GET FANCIER LATER */ | ^ ./lib/iolib.c:288:25: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | { _filter(str); lib_puts(fp,str); } /* JUST FOR NOW - GET FANCIER LATER */ | ^ ./lib/iolib.c:285:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | void fprint(fp,str) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:294: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] 294 | void fprint(); /* args: FILE *fp; char *string; processes output */ | ^ ./lib/iolib.c:296:27: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | if (fp==stdin) { input("? ",str,length); return; } | ^ ./lib/iolib.c:297:19: warning: passing arguments to 'file_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if (!file_gets(fp,str,length)) send(ENDOFILE); | ^ ./lib/iolib.c:297:36: 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] 297 | if (!file_gets(fp,str,length)) send(ENDOFILE); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:298:12: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | _filter(str); | ^ ./lib/iolib.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | void finput(fp,str,length) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:302: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] 302 | void finput(); /* args: FILE *fp; char *str; int max_input_chars; */ | ^ ./lib/iolib.c:305:27: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (fp==stdin) { getln("? "); return; } | ^ ./lib/iolib.c:307:19: warning: passing arguments to 'file_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | if (!file_gets(fp,ln,MAXLINE)) send(ENDOFILE); | ^ ./lib/iolib.c:307:36: 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] 307 | if (!file_gets(fp,ln,MAXLINE)) send(ENDOFILE); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:308:12: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | _filter(ln); | ^ ./lib/iolib.c:302:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | void fgetln_(fp) /* ln is side-effected. */ | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:303: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] 303 | void fgetln_(); /* args: FILE *fp; side-effects global char *ln; | ^ ./lib/iolib.c:319:27: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if (fp==stdin) { getln("? "); if (count!=NULL) ++*count; return; } | ^ ./lib/iolib.c:322:23: warning: passing arguments to 'file_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | if (!file_gets(fp,ln,MAXLINE)) send(ENDOFILE); | ^ ./lib/iolib.c:322:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | if (!file_gets(fp,ln,MAXLINE)) send(ENDOFILE); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:326:12: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | _filter(ln); | ^ ./lib/iolib.c:312:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | void fgetdataln(fp,count) /* ln is side-effected */ | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:309: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] 309 | void fgetdataln(); /* args: FILE *fp; int *count; side-effects global ln; | ^ ./lib/iolib.c:330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | bool end_of_file(fp) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:288: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] 288 | bool end_of_file(); /* args: FILE *fp; returns TRUE if finput() or fgetln_() | ^ ./lib/iolib.c:340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | bool end_of_text(fp) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:290: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] 290 | bool end_of_text(); /* args: FILE *fp; Like an end-of-file test, except it also | ^ ./lib/iolib.c:360:27: warning: passing arguments to 'maxstrcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | if (holding) maxstrcat(held[hold_count],linebuf,LINE+1); | ^ ./lib/iolib.c:361:45: warning: passing arguments to 'dump_to_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | else { kill_temp_print(); dump_to_screen(linebuf); } | ^ ./lib/iolib.c:363:26: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (logging) lib_puts(photo,linebuf); | ^ ./lib/iolib.c:364:13: warning: passing arguments to 'mem_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | mem_puts(linebuf); | ^ ./lib/iolib.c:375:7: 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] 375 | send(INTERRUPT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:417:21: warning: passing arguments to 'dump_to_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | if (!dump_to_screen(held[i])) return(FALSE); | ^ ./lib/iolib.c:432:13: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | lib_puts(out,str); | ^ ./lib/iolib.c:435:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | if (++lines_written>1000000) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:424:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | bool dump_to_screen(str) | ^ ./lib/iolib.c:50: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] 50 | bool dump_to_screen(); | ^ ./lib/iolib.c:452:15: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | do_highlight(TRUE); | ^ ./lib/iolib.c:454:10: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | lib_puts(out,"Hit RETURN for more or Q to quit..."); | ^ ./lib/iolib.c:455:22: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if (curses) lib_puts(out,"\n"); | ^ ./lib/iolib.c:457:14: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | do_highlight(FALSE); | ^ ./lib/iolib.c:458:15: warning: passing arguments to 'tty_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | if (!tty_gets(ln_,MAXLINE-10) && !ignore_eof) {nl(); send(ENDOINPUT);} | ^ ./lib/iolib.c:458:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | if (!tty_gets(ln_,MAXLINE-10) && !ignore_eof) {nl(); send(ENDOINPUT);} | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/iolib.c:458:55: 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] 458 | if (!tty_gets(ln_,MAXLINE-10) && !ignore_eof) {nl(); send(ENDOINPUT);} | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:461:36: 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] 461 | if (ln_[i]=='q' || ln_[i]=='Q') send(INTERRUPT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:464:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | } except_when(INTERRUPT) { | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./lib/iolib.c:479:14: warning: passing arguments to 'maxstrcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | maxstrcat(memory[memory_end],str,LINE+1); | ^ ./lib/iolib.c:472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | void mem_puts(str) | ^ ./lib/iolib.c:47: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] 47 | void mem_puts(); | ^ ./lib/iolib.c:494:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | if (nl_on_screen_also) { nl(); flush(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/iolib.c:496:27: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | if (logging) lib_puts(photo,"\n"); | ^ ./lib/iolib.c:488:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | void flush_and_force_nl(nl_on_screen_also) | ^ ./lib/iolib.c:46: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] 46 | void flush_and_force_nl(); | ^ ./lib/iolib.c:511:34: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | if (term==TERM_UNKNOWN) lib_puts(out,"\n"); | ^ ./lib/iolib.c:512:23: warning: passing arguments to 'do_cursor_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | else do_cursor_left(FAR_LEFT,""); | ^ ./lib/iolib.c:521:54: 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] 521 | if (more_break_pending) if (!really_do_more()) { send(INTERRUPT); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:539:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | if (nullstr(new_log_name)) { | ^ ./lib/iolib.c:530:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | int photo_to_file(new_log_name,new_log_mode) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:177: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] 177 | bool photo_to_file(); /* args: char *name, *mode; Returns TRUE if it succeeds, | ^ ./lib/iolib.c:570:20: 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] 570 | if (str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:559:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | void print(str) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:99:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | void print(); /* args: char *string; does lots of processing */ | ^ ./lib/iolib.c:669:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | if (nullstr(str)) { /* kill old temp print thing */ | ^ ./lib/iolib.c:671:40: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | if (term==TERM_UNKNOWN) { lib_puts(out,"\n"); fflush(out); } | ^ ./lib/iolib.c:672:25: warning: passing arguments to 'do_cursor_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | else do_cursor_left(FAR_LEFT,""); | ^ ./lib/iolib.c:679:36: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | if (term==TERM_UNKNOWN) { lib_puts(out,str); fflush(out); } | ^ ./lib/iolib.c:680:23: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | else { do_highlight(TRUE); lib_puts(out," "); lib_puts(out,str); | ^ ./lib/iolib.c:680:39: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | else { do_highlight(TRUE); lib_puts(out," "); lib_puts(out,str); | ^ ./lib/iolib.c:680:58: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | else { do_highlight(TRUE); lib_puts(out," "); lib_puts(out,str); | ^ ./lib/iolib.c:681:16: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | do_highlight(FALSE); } | ^ ./lib/iolib.c:688:18: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | { lib_puts(out,"\n"); temp_print_spaces=0; } | ^ ./lib/iolib.c:689:14: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | lib_puts(out,"."); fflush(out); temp_print_spaces++; | ^ ./lib/iolib.c:691:18: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | do_highlight(TRUE); do_cursor_left(FAR_LEFT,""); | ^ ./lib/iolib.c:691:40: warning: passing arguments to 'do_cursor_left' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | do_highlight(TRUE); do_cursor_left(FAR_LEFT,""); | ^ ./lib/iolib.c:692:14: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | lib_puts(out," "); lib_puts(out,str); do_highlight(FALSE); | ^ ./lib/iolib.c:692:33: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | lib_puts(out," "); lib_puts(out,str); do_highlight(FALSE); | ^ ./lib/iolib.c:692:56: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | lib_puts(out," "); lib_puts(out,str); do_highlight(FALSE); | ^ ./lib/iolib.c:654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | bool temp_print(simple_str,fancy_str) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:104:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | bool temp_print(); /* args: char *str; The string is printed out and flush()ed, | ^ ./lib/iolib.c:720:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | bool do_hold(start,more_on) | ^ ./lib/iolib.c:749:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | void space(n) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:130:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | void space(); /* args: int n; prints n spaces, regardless */ | ^ ./lib/iolib.c:754:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | bool to_column(num) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | bool to_column(); /* args: int num; (leftmost=0), returns FALSE if the cursor | ^ ./lib/iolib.c:775:57: warning: passing arguments to 'do_highlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | bool highlight(x) bool x; { flush(); return(do_highlight(x)); } | ^ ./lib/iolib.c:775:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | bool highlight(x) bool x; { flush(); return(do_highlight(x)); } | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:117:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | bool highlight(); /* args: bool val; sets highlighting (reverse video) mode- | ^ ./lib/iolib.c:785:52: 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] 785 | if (more_break_pending) if (!really_do_more()) send(INTERRUPT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:788:17: warning: passing arguments to 'temp_logging' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | temp_logging(FALSE,&old_photo); | ^ ./lib/iolib.c:799:23: warning: passing arguments to 'dump_memory_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | { dump_memory_lines(start,num); start=i; num=0; } | ^ ./lib/iolib.c:801:22: warning: passing arguments to 'dump_memory_lines' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | dump_memory_lines(start,num); | ^ ./lib/iolib.c:804:17: warning: passing arguments to 'prev_logging' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | prev_logging(old_photo); | ^ ./lib/iolib.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | void dump_memory_lines(start,num) /* internal */ | ^ ./lib/iolib.c:49: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] 49 | void dump_memory_lines(); | ^ ./lib/iolib.c:844:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | } except_when(CANTOPEN) retoin=FALSE; | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./lib/iolib.c:823:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | int redirect_input(fname,verbose) /* fname=NULL to interrupt */ | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:149: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] 149 | bool redirect_input(); /* args: char *filename; bool verbose; */ | ^ ./lib/iolib.c:870:26: warning: passing arguments to 'do_gnu_readline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | eof=!do_gnu_readline(prompt,str,length); /* see syscode.c */ | ^ ./lib/iolib.c:873:19: warning: passing arguments to 'tty_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | eof=!tty_gets(str, length); | ^ ./lib/iolib.c:877:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | if (interactive && ignore_eof) send(INTERRUPT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:878:13: 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] 878 | else send(ENDOINPUT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:880:13: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | _filter(str); despace(str); | ^ ./lib/iolib.c:880:27: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | _filter(str); despace(str); | ^ ./lib/iolib.c:883:24: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | if (logging) lib_puts(photo,prompt); | ^ ./lib/iolib.c:886:29: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | if (logging) { lib_puts(photo,str); lib_puts(photo,"\n"); } | ^ ./lib/iolib.c:886:50: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | if (logging) { lib_puts(photo,str); lib_puts(photo,"\n"); } | ^ ./lib/iolib.c:891:16: warning: passing arguments to 'file_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | if (!file_gets(in_fp[redirs], str, length)) { | ^ ./lib/iolib.c:897:9: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | _filter(str); despace(str); | ^ ./lib/iolib.c:897:23: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | _filter(str); despace(str); | ^ ./lib/iolib.c:860:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | void input(prompt,str,length) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:138: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] 138 | void input(); /* args: char *prompt, *string; int max_input_chars; | ^ ./lib/iolib.c:915:19: warning: passing arguments to 'do_gnu_edit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | eof= !do_gnu_edit(prompt,str,length,initial); | ^ ./lib/iolib.c:918:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | if (ignore_eof) send(INTERRUPT); else send(ENDOINPUT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:918:44: 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] 918 | if (ignore_eof) send(INTERRUPT); else send(ENDOINPUT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:920:13: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | _filter(str); despace(str); | ^ ./lib/iolib.c:920:27: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | _filter(str); despace(str); | ^ ./lib/iolib.c:923:11: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | lib_puts(photo,prompt); lib_puts(photo,str); | ^ ./lib/iolib.c:923:35: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | lib_puts(photo,prompt); lib_puts(photo,str); | ^ ./lib/iolib.c:924:11: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | lib_puts(photo,"\n"); | ^ ./lib/iolib.c:929:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | error("Unable to edit sequence from file input"); | ^ ./lib/iolib.c:905:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | bool edit_line(prompt,str,length,initial) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:425: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] 425 | bool edit_line(); /* make real decl above */ | ^ ./lib/iolib.c:936:50: warning: passing arguments to 'lowercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | { ln=lnptr; input(prompt,ln,MAXLINE-2); lowercase(ln); } | ^ ./lib/iolib.c:934:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | void getln(prompt) /* ln is side-effected, is filtered, despaced, lowercased */ | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:143: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] 143 | void getln(); /* args: char *prompt; side-effects global string ln */ | ^ ./lib/iolib.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 | bool temp_logging(new,old) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:206: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] 206 | bool temp_logging(); /* args logging, *save_state; turn logging on/off: | ^ ./lib/iolib.c:949:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | { if (old && !log_open) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:947:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | void prev_logging(old) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:211: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] 211 | void prev_logging(); /* args state; restore logging */ | ^ ./lib/iolib.c:952:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | bool temp_more_mode(new,old) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:213: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] 213 | bool temp_more_mode(); /* args new_more_mode,*save_state; turn more on/off */ | ^ ./lib/iolib.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 prev_more_mode(old) | ^ In file included from ./lib/iolib.c:20: In file included from ./lib/system.h:541: ./lib/iolib.h:214: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] 214 | void prev_more_mode(); /* args state; */ | ^ ./lib/iolib.c:986:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | array(ps,MAXLINE+3,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:986:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:987:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | array(ps_,MAXLINE+3,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:987:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:988:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | array(linebuf,LINE+3,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:988:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:989:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | array(ln,MAXLINE+3,char); lnptr= ln; | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:989:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:990:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | array(ln_,MAXLINE+3,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:990:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:992:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | parray(files,MAXFILES,FILE_INFO); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/iolib.c:992:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:992:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/iolib.c:992:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:994:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | array(files[i]->name,PATH_LENGTH+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:994:6: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:1001:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | array(in_fp,MAXREDIRECTS+1,FILE*); redirs= 0; | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/iolib.c:1001:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:1011:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | matrix(held,MAX_HOLD_LINES+1,LINE+3,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/iolib.c:1011:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:1011:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/iolib.c:1011:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:1015:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | matrix(memory,MEMORY_LINES,LINE+3,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/iolib.c:1015:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/iolib.c:1015:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/iolib.c:1015:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ 211 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/msglib.c -o ./lib/msglib.o In file included from ./lib/msglib.c:22: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/msglib.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 strmsg_default(str) char *str; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:73:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | void strmsg_default(); | ^ ./lib/msglib.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | void strmsg_MATHERROR(str) char *str; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void strmsg_MATHERROR(); | ^ ./lib/msglib.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 strmsg_NOMEMORY(str) char *str; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void strmsg_NOMEMORY(); | ^ ./lib/msglib.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void strmsg_CANTOPEN(str) char *str; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void strmsg_CANTOPEN(); | ^ ./lib/msglib.c:53:31: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | IOERROR_filename,truncstr(IOERROR_linecopy,60),IOERROR_errmsg); } | ^ ./lib/msglib.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 strmsg_IOERROR(str) char *str; | ^ ./lib/msglib.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void strmsg_SYSERROR(str) char *str; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | void strmsg_SYSERROR(); | ^ ./lib/msglib.c:68:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | matrix(mname,MSGS,TOKLEN+1,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.c:68:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:68:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/msglib.c:68:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:69:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | array(msgstr,MAXLINE+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:69:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:77:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | array(MATHERROR_type,LINE,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:77:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:78:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | array(CANTOPEN_path,PATH_LENGTH,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:78:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:79:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | array(IOERROR_errmsg,LINE,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:79:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:80:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | array(IOERROR_filename,PATH_LENGTH,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:80:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:81:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | array(IOERROR_linecopy,LINE,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:81:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:82:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | array(SYSERROR_errmsg,LINE,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:82:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:83:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | array(QUIT_errmsg,LINE,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.c:83:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:85:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | setmsg(RERUN,"attempt to RERUN failed",sender,strmsg_default); | ^ ./lib/msglib.c:86:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | setmsg(PUNT,"attempt to PUNT failed",sender,strmsg_default); | ^ ./lib/msglib.c:88:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | setmsg(CRASH,"internal software error",sender,strmsg_default); | ^ ./lib/msglib.c:89:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | setmsg(QUIT,"QUIT signal",sender,strmsg_default); | ^ ./lib/msglib.c:90:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | setmsg(NOMEMORY,"request for memory failed",sender,strmsg_NOMEMORY); | ^ ./lib/msglib.c:91:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | setmsg(ENDOINPUT,"end of input",sender,strmsg_default); | ^ ./lib/msglib.c:92:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | setmsg(INTERRUPT,"interrupt signal",sender,strmsg_default); | ^ ./lib/msglib.c:93:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | setmsg(SOFTABORT,"software abort message",sender,strmsg_default); | ^ ./lib/msglib.c:94:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | setmsg(MATHERROR,"math error",sender,strmsg_MATHERROR); | ^ ./lib/msglib.c:95:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | setmsg(IOERROR,"I/O error",sender,strmsg_IOERROR); | ^ ./lib/msglib.c:97:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | setmsg(ENDOFILE,"end of file",sender,strmsg_default); | ^ ./lib/msglib.c:98:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | setmsg(CANTOPEN,"unable to open file - maybe no write permission", | ^ ./lib/msglib.c:100:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | setmsg(SYSERROR,"segmentation violation or bus error",sender, | ^ ./lib/msglib.c:102:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | setmsg(BADEQN,"error in equation",sender,strmsg_default); | ^ ./lib/msglib.c:103:8: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | setmsg(CANTCLOSE,"unable to close file - disk may be full", | ^ ./lib/msglib.c:116:25: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | { if (nam!=NULL) nstrcpy(mname[var],nam,MSGNAMLEN); | ^ ./lib/msglib.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void setmsg(var,nam,action,disp) /* for a pre-assigned msg number */ | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:57:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | void setmsg(); /* sets up a message */ | ^ ./lib/msglib.c:127:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | void sender(num) | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:66: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] 66 | void sender(); | ^ ./lib/msglib.c:139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | void punter(num) int num; /* unused */ | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:68:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | void punter(); | ^ ./lib/msglib.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void trapper(num) int num; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:67: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] 67 | void trapper(); | ^ ./lib/msglib.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | void default_action(num) int num; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:69:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | void default_action(); /* DON'T USE */ | ^ ./lib/msglib.c:152:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | else send(INTERRUPT); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:149:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | SIGHANDLE handle_interrupt(n) int n; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:220: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] 220 | SIGHANDLE handle_interrupt(); | ^ ./lib/msglib.c:155:68: 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 | { sprintf(QUIT_errmsg,"received QUIT signal (#%d) from system",n); send(QUIT);} | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:154:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | SIGHANDLE handle_quit(n) int n; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:217: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] 217 | SIGHANDLE handle_quit(); | ^ ./lib/msglib.c:159:57: 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 | strcpy(MATHERROR_type,"unknown math error (SIGFPE)"); send(MATHERROR); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:157:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | SIGHANDLE handle_matherror(n) int n; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:218: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] 218 | SIGHANDLE handle_matherror(); | ^ ./lib/msglib.c:164:3: 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] 164 | send(SYSERROR); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:161:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | SIGHANDLE handle_buserror(n) int n; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:221: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] 221 | SIGHANDLE handle_buserror(); | ^ ./lib/msglib.c:168:51: 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] 168 | sprintf(SYSERROR_errmsg,"system signal #%d",n); send(SYSERROR); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/msglib.c:166:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | SIGHANDLE handle_weird_signal(n) int n; | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:219: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] 219 | SIGHANDLE handle_weird_signal(); | ^ ./lib/msglib.c:191:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | bool stack_check(var) | ^ In file included from ./lib/msglib.c:22: In file included from ./lib/system.h:557: ./lib/msglib.h:210: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] 210 | bool stack_check(); /* args: int *var; return TRUE if all is OK */ | ^ 76 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/strlib.c -o ./lib/strlib.o In file included from ./lib/strlib.c:18: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/strlib.c:24:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | void nstrcpy(to,from,n) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:46: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] 46 | void nstrcpy(); /* args: char *to, *from; int num; copy <=num chars */ | ^ ./lib/strlib.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | void maxstrcat(to,from,n) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:48: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] 48 | void maxstrcat(); /* args: char *to, *from; int max; length kept <=max chars */ | ^ ./lib/strlib.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 nstrcat(to,from,n) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:47: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] 47 | void nstrcat(); /* args: char *to, *from; int num; append <=num chars */ | ^ ./lib/strlib.c:59:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | void strins(to,from) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:66: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] 66 | void strins(); /* args: char *a, *b; insert string b at a */ | ^ ./lib/strlib.c:79:22: warning: passing arguments to 'iminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | num_to_ins= iminf(len(from),max_to_ins); | ^ ./lib/strlib.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | void nstrins(to,from,max_to_ins) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:67: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] 67 | void nstrins(); /* args: char *a, *b; int num; insert at most num chars */ | ^ ./lib/strlib.c:94:22: warning: passing arguments to 'iminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | num_to_ins= iminf(len(from),max_total_length-current_length); | ^ ./lib/strlib.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 maxstrins(to,from,max_total_length) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:68:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | void maxstrins(); /* args: char *a, *b; int max; length kept <= max */ | ^ ./lib/strlib.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void strdel(str,num_chars) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:59:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | void strdel(); /* args: char *s; int num; deletes num chars at s */ | ^ ./lib/strlib.c:119:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | array(foo,istrlen(str)+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:119:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:114:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | char *mkstrcpy(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:57:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | char *mkstrcpy(); /* args: char *s; returns an allocated copy */ | ^ ./lib/strlib.c:125:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | char *ptr_to(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:58:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | char *ptr_to(); /* args: constant character string - return a ptr to it */ | ^ ./lib/strlib.c:130:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | int nullstr(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | bool nullstr(); /* args: char *s; TRUE if s==NULL or is all whitespace */ | ^ ./lib/strlib.c:146:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | int strfinder(str,chr) /* index of chr, or -1 if can't find chr */ | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:62: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] 62 | int strfinder(); /* args: char *str, c; get index of c in str or NOT_FOUND */ | ^ ./lib/strlib.c:157:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | bool nmatches(s1,s2,n) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:79:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | bool nmatches(); /* args: char *s, *t; int num; */ | ^ ./lib/strlib.c:180:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | int xstreq(s1,s2) /* !!! currently broken !!! */ | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:87: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] 87 | int xstreq(); /* currently broken? */ | ^ ./lib/strlib.c:214:18: 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] 214 | { if (str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:211:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | char *truncstr(str,length) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:112:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | char *truncstr(); /* args: char *str; int max_chars; str side-effected */ | ^ ./lib/strlib.c:218:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | char *pad_to_len(str,length) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:113:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | char *pad_to_len(); /* args: char *str; int max_chars; adds spaces */ | ^ ./lib/strlib.c:232:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | char *append_spaces(str,num) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:114:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | char *append_spaces(); /* args: char *str; int num_spaces; also adds spaces */ | ^ ./lib/strlib.c:251: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] 251 | if (str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:244:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | char *despace(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:105:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | char *despace(); /* args: char *str; side-effected */ | ^ ./lib/strlib.c:274:20: 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] 274 | if (str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:268:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | char *lowercase(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:106:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | char *lowercase(); /* args: char *str; side-effected */ | ^ ./lib/strlib.c:282:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | char *_filter(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:108:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | char *_filter(); /* args: char *str; side-effected */ | ^ ./lib/strlib.c:294:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | char *filter_nonspaces(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:109:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | char *filter_nonspaces(); /* args: char *str; side-effected */ | ^ ./lib/strlib.c:307:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | char *crunch(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:110:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | char *crunch(); /* args: char *str; despace(_filter(lowercase())) */ | ^ ./lib/strlib.c:318: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] 318 | if (str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:312:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | char *uppercase(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:107:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | char *uppercase(); /* args: char *str; side-effected */ | ^ ./lib/strlib.c:337:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | bool get_token(str,tok,p_rest,length,truncated) | ^ ./lib/strlib.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | int get_token(); | ^ ./lib/strlib.c:376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | bool split_string(str,rest,divider) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:200: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] 200 | bool split_string(); /* args: char *str, **rest, divider; rest side-effected */ | ^ ./lib/strlib.c:397:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | int itoken(p_str,default_val,p_val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:168: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] 168 | int itoken(); /* int token */ | ^ ./lib/strlib.c:418:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | int ltoken(p_str,default_val,p_val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:169: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] 169 | int ltoken(); /* long int token */ | ^ ./lib/strlib.c:438:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | int rtoken(p_str,default_val,p_val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:170: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] 170 | int rtoken(); /* real token */ | ^ ./lib/strlib.c:461:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | int stok(p_str,default_val,val,num_chars,allow_truncation,ok_chars) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:172: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] 172 | int stok(); /* INTERNAL USE ONLY! */ | ^ ./lib/strlib.c:492:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | int stoken(p,def,val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:173: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] 173 | int stoken(); /* args: p,def,val; does stok(p,def,val,TOKLEN,TRUE,NULL) */ | ^ ./lib/strlib.c:497:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | int parse_char(p_str,ok_list,skip_whitespace,p_ch) /* see strlib.h for info */ | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:235: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] 235 | bool parse_char(); /* args shown above */ | ^ ./lib/strlib.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | void parse_whitespace(p_str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:236: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] 236 | void parse_whitespace(); /* args: char **p_str; *p_str is side-effected */ | ^ ./lib/strlib.c:528:18: 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] 528 | if (str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:523:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | int count_tokens(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:198: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] 198 | int count_tokens(); /* args: char *str; */ | ^ ./lib/strlib.c:541:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | bool is_a_token(str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:199: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] 199 | bool is_a_token(); /* args: char *str; must be despaced, or from stoken() */ | ^ ./lib/strlib.c:553:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | int field(p_str, length, val) /* OBSOLETE */ | ^ ./lib/strlib.c:568:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | int irange(p_var, min_val, max_val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:213: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] 213 | int irange(); /* integer range */ | ^ ./lib/strlib.c:577:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | int lrange(p_var, min_val, max_val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:214: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] 214 | int lrange(); /* long int range */ | ^ ./lib/strlib.c:586:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | int rrange(p_var, min_val, max_val) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:215: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] 215 | int rrange(); /* real range */ | ^ ./lib/strlib.c:595:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | char *binary(num,bits,str) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:303:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 303 | char *binary(); /* args: int num_to_print, num_bits; char *str; */ | ^ ./lib/strlib.c:645:44: 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] 645 | if (int_format > 99 || int_format < 0) send(CRASH); /* illegal format */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:647:18: 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] 647 | if (p==NULL) send(CRASH); /* illegal format */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:638:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | PRINT_INFO *lookup_print_info(format_num) | ^ ./lib/strlib.c:657:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | array(print_info, 100, PRINT_INFO*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:657:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:664:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | single(print_info[int_format], PRINT_INFO); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:664:6: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:666:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | array(p->pr_format_str, 9, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:666:6: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:667:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | array(p->prn_pos_format_str, 9, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:667:6: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:668:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | array(p->prd_format_str, 9, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:668:6: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:687:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | char *rs(format, number) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:297:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 297 | char *rs(); /* args: real format, num_to_print; */ | ^ ./lib/strlib.c:712:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | char *rsn(format, number) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:298:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 298 | char *rsn(); /* args: real format, num_to_print; */ | ^ ./lib/strlib.c:740:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | char *rsd(format, number) | ^ In file included from ./lib/strlib.c:18: In file included from ./lib/system.h:567: ./lib/strlib.h:299:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 299 | char *rsd(); /* args: real format, num_to_print; */ | ^ ./lib/strlib.c:768:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | array(tok,TOKLEN+1,char); tok[0]='\0'; | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:768:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:769:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | array(x,TOKLEN+1,char); x[0]='\0'; | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/strlib.c:769:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:773:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | matrix(tempstr,NUM_TEMP_STRINGS,TEMP_STRING_LEN,char); tempstr_n=0; | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/strlib.c:773:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/strlib.c:773:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/strlib.c:773:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ 112 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/shell.c -o ./lib/shell.o In file included from ./lib/shell.c:17: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/shell.c:98:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | print( | ^ ./lib/shell.c:100:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | print( | ^ ./lib/shell.c:103:16: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | print(centering("",FALSE)); | ^ ./lib/shell.c:103:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | print(centering("",FALSE)); | ^ ./lib/shell.c:104:16: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | print(centering(the_program,FALSE)); | ^ ./lib/shell.c:104:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | print(centering(the_program,FALSE)); | ^ ./lib/shell.c:105:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | if (!nullstr(the_version)) | ^ ./lib/shell.c:106:57: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | { sf(line,"(version %s)",the_version); print(centering(line,FALSE)); } | ^ ./lib/shell.c:106:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | { sf(line,"(version %s)",the_version); print(centering(line,FALSE)); } | ^ ./lib/shell.c:107:16: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | print(centering("",FALSE)); | ^ ./lib/shell.c:107:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | print(centering("",FALSE)); | ^ ./lib/shell.c:109:35: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | the_copyright); print(centering(line,FALSE)); | ^ ./lib/shell.c:109:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | the_copyright); print(centering(line,FALSE)); | ^ ./lib/shell.c:110:18: warning: passing arguments to 'gnu_copyright' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (gnu_copyright(line)) print(centering(line,TRUE)); | ^ ./lib/shell.c:110:41: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (gnu_copyright(line)) print(centering(line,TRUE)); | ^ ./lib/shell.c:110:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (gnu_copyright(line)) print(centering(line,TRUE)); | ^ ./lib/shell.c:112:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | print( | ^ ./lib/shell.c:115:1: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:116:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | print(TYPE_HELP_PLEASE); | ^ ./lib/shell.c:117:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | if (help_file==NULL) print(NO_HELP_FILE); | ^ ./lib/shell.c:127:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (nullstr(version_filename)) return(NULL); | ^ ./lib/shell.c:132:27: warning: passing arguments to 'make_filename_in_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (!make_filename_in_dir(name,FORCE_EXTENSION,WRS(".v"), | ^ ./lib/shell.c:133:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | FORCE_DIR,CODE_DIR)) send(CANTOPEN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:134:14: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | fp=open_file(name,READ); | ^ ./lib/shell.c:135:8: warning: passing arguments to 'finput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | finput(fp,ln_,MAXLINE); p=ln_; /* don't hack &ln_ */ | ^ ./lib/shell.c:136:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | close_file(fp); | ^ ./lib/shell.c:137:12: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | if (stoken(&p,sREQUIRED,str)) version=mkstrcpy(str); | ^ ./lib/shell.c:137:48: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | if (stoken(&p,sREQUIRED,str)) version=mkstrcpy(str); | ^ ./lib/shell.c:139:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | close_file(fp); /* Don't bother relaying messages */ | ^ ./lib/shell.c:121:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | char *get_version(version_filename) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:116:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | char *get_version(); /* args: char *version_file_name; (in source dir) */ | ^ ./lib/shell.c:150:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | lib_puts(photo, | ^ ./lib/shell.c:153:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | lib_puts(photo,ps); | ^ ./lib/shell.c:155:25: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | lib_puts(photo,centering("",FALSE)); | ^ ./lib/shell.c:155:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | lib_puts(photo,centering("",FALSE)); | ^ ./lib/shell.c:156:25: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | lib_puts(photo,centering(the_program,FALSE)); | ^ ./lib/shell.c:156:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | lib_puts(photo,centering(the_program,FALSE)); | ^ ./lib/shell.c:157:61: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | sf(ver,"(version %s)",the_version); lib_puts(photo,centering(ver,FALSE)); | ^ ./lib/shell.c:157:45: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | sf(ver,"(version %s)",the_version); lib_puts(photo,centering(ver,FALSE)); | ^ ./lib/shell.c:158:25: warning: passing arguments to 'centering' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | lib_puts(photo,centering("",FALSE)); | ^ ./lib/shell.c:158:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | lib_puts(photo,centering("",FALSE)); | ^ ./lib/shell.c:159:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | lib_puts(photo, | ^ ./lib/shell.c:161:9: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | lib_puts(photo,"\n"); | ^ ./lib/shell.c:162:50: 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] 162 | if (photo_banner_hook!=NULL) (*photo_banner_hook)(photo); | ^ ./lib/shell.c:168:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | char *centering(str,lineup) /* into global ps */ | ^ ./lib/shell.c:77:7: warning: a function declaration without a prototype is 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 | char *centering(); | ^ ./lib/shell.c:189:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | array(cmd, MAX_COMMANDS, COMMAND*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:189:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:190:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | array(matched, MAX_COMMANDS, bool); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:190:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:191:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | array(topic_name, MAX_COM_TOPICS+1, char*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:191:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:192:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | array(topic_code, MAX_COM_TOPICS+1, int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:192:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:193:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | array(topic_help_key, MAX_COM_TOPICS+1, long); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:193:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:194:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | matrix(tokens, MAX_COM_TOKENS, TOKLEN+1, char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/shell.c:194:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:194:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/shell.c:194:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:195:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | array(remaining, MAX_COM_TOKENS+1, char*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:195:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:196:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | array(args, ARGS_LEN+1, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:196:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:197:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | array(uncrunched_args, ARGS_LEN+1, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:197:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:200:26: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | the_program= mkstrcpy(program); | ^ ./lib/shell.c:201:26: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | the_version= mkstrcpy(version); | ^ ./lib/shell.c:202:28: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | the_copyright= mkstrcpy(copyright); | ^ ./lib/shell.c:206:28: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | topic_name[0]= mkstrcpy("TOPIC ZERO"); | ^ ./lib/shell.c:209:32: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | cmd_history= allocate_table(21,250,CANT_EXPAND,INDEX_BY_NUMBER); | ^ ./lib/shell.c:222:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | parray(menu, MAX_NUM_MENUS, MENU); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/shell.c:222:5: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:222:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/shell.c:222:5: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:224:7: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | array(menu[i]->title,MENU_ENTRY_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:224:7: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:229:29: warning: passing arguments to 'make_filename_in_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (make_filename_in_dir(help_filename,FORCE_EXTENSION,WRS(HELP_EXT), | ^ ./lib/shell.c:231:25: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | run help_file=open_file(help_filename,READ); | ^ ./lib/shell.c:232:4: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | except_when(CANTOPEN) {} | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./lib/shell.c:182:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | void shell_init(program,version,copyright,help_filename) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | void shell_init(); /* args: char *program, *version, *copyright, *help; */ | ^ ./lib/shell.c:237:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | char *default_prompt(s) | ^ ./lib/shell.c:25:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | char *default_prompt(); | ^ ./lib/shell.c:248:65: 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] 248 | if (num<=0 || num>MAX_COM_TOPICS || len(nam)>MAX_TOPIC_LEN) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:249:29: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | topic_name[num]=mkstrcpy(nam); topic_code[num]=code; | ^ ./lib/shell.c:242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | void mktopic(num,nam,code,description_index) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:120:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | void mktopic(); /* args: int num (>0); char *name; int code; (see below) */ | ^ ./lib/shell.c:262:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | single(cmd[command_num], COMMAND); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:262:5: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:263:18: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | str= mkstrcpy(name); crunch(str); truncstr(str,MAX_COM_NAME_LEN); | ^ ./lib/shell.c:263:32: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | str= mkstrcpy(name); crunch(str); truncstr(str,MAX_COM_NAME_LEN); | ^ ./lib/shell.c:263:47: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | str= mkstrcpy(name); crunch(str); truncstr(str,MAX_COM_NAME_LEN); | ^ ./lib/shell.c:264:37: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | cmd[command_num]->name= mkstrcpy(str); /* str itself => toks, below */ | ^ ./lib/shell.c:266:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | array(toks,MAX_COM_TOKENS,char*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:266:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:282:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | nstrcpy(cmd[command_num]->abbreviation,abbrev,MAX_ABBREV_LEN); | ^ ./lib/shell.c:283:11: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | crunch(cmd[command_num]->abbreviation); | ^ ./lib/shell.c:254:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | int mkcommand(name,abbrev,func,code) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:119:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | int mkcommand(); /* args: char *name, *abbrev; void (*f)(); int topic, code;*/ | ^ ./lib/shell.c:316:13: warning: passing arguments to 'parser' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | i=parser(cmd_name,&rest,TRUE); | ^ ./lib/shell.c:319:24: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if (i<0 || !nullstr(rest)) { | ^ ./lib/shell.c:322:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | cmd_name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:329:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:333:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:337:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:340:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | array(cmd[i]->cmd_help, MAX_COM_HELP_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:340:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:341:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | array(cmd[i]->def_help, MAX_ARG_HELP_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:341:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:342:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | array(cmd[i]->args_help,MAX_ARG_HELP_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/shell.c:342:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:344:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | nstrcpy(cmd[i]->cmd_help,description,MAX_COM_HELP_LEN); | ^ ./lib/shell.c:345:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | nstrcpy(cmd[i]->args_help,arguments,MAX_ARG_HELP_LEN); | ^ ./lib/shell.c:346:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | nstrcpy(cmd[i]->def_help,defaults,MAX_ARG_HELP_LEN); | ^ ./lib/shell.c:304:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | void mkhelp(cmd_name,abbrev,description_index,num_args_prefix,num_args, | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:121:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void mkhelp(); /* args: char *cmd_name; long help_file_index; | ^ ./lib/shell.c:364:18: warning: passing arguments to 'is_a_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (!is_a_token(str)) return(FALSE); | ^ ./lib/shell.c:365:7: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | if (strin(NAME_TAG_CHARS,str[0])) str++; | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/shell.c:366:8: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (!strin(NAME_FIRST_CHARS,str[0])) return(FALSE); | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/shell.c:367:36: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | for(i=1; str[i]!='\0'; i++) if (!strin(NAME_CHARS,str[i])) return(FALSE); | ^ ./lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./lib/shell.c:359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | bool valid_name(str) /* checks the syntax of names */ | ^ In file included from ./lib/shell.c:19: ./lib/table.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | bool valid_name(); /* args: char *name; */ | ^ ./lib/shell.c:372: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] 372 | void null_command() { send(CRASH); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:394:17: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | if (stoken(&line,sREQUIRED,tokens[n_tokens])) { | ^ ./lib/shell.c:401:43: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if (allowed_cmd(i,help_ok) && xstreq(tokens[0],cmd[i]->abbreviation)) | ^ ./lib/shell.c:404:17: warning: passing arguments to 'try_to_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | try_to_match(tokens,n_tokens,3,3,matched,&num_matched,&last_match,help_ok); | ^ ./lib/shell.c:407:17: warning: passing arguments to 'try_to_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | try_to_match(tokens,n_tokens,2,2,matched,&num_matched,&last_match,help_ok); | ^ ./lib/shell.c:409:17: warning: passing arguments to 'try_to_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | try_to_match(tokens,n_tokens,2,3,matched,&num_matched,&last_match,help_ok); | ^ ./lib/shell.c:412:17: warning: passing arguments to 'try_to_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | try_to_match(tokens,n_tokens,1,1,matched,&num_matched,&last_match,help_ok); | ^ ./lib/shell.c:414:17: warning: passing arguments to 'try_to_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | try_to_match(tokens,n_tokens,1,2,matched,&num_matched,&last_match,help_ok); | ^ ./lib/shell.c:416:17: warning: passing arguments to 'try_to_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | try_to_match(tokens,n_tokens,1,3,matched,&num_matched,&last_match,help_ok); | ^ ./lib/shell.c:378:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | int parser(line,rest,help_ok) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:22: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] 22 | int parser(); /* args: char *line, **rest; bool allow_help; */ | ^ ./lib/shell.c:433:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:437:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | (help_ok ? " or help topic":"")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:439:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (matched[j]) { print("\t"); print(cmd[j]->name); nl(); | ^ ./lib/shell.c:439:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (matched[j]) { print("\t"); print(cmd[j]->name); nl(); | ^ ./lib/shell.c:439:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (matched[j]) { print("\t"); print(cmd[j]->name); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:444:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:446:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | print(rest); print("'\n"); | ^ ./lib/shell.c:446:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | print(rest); print("'\n"); | ^ ./lib/shell.c:424:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | void print_parser_results(rest,help_ok) /* uses the global state */ | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:30: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] 30 | void print_parser_results(); /* args: char *rest; also uses global state */ | ^ ./lib/shell.c:467:14: warning: passing arguments to 'com_matches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | com_matches(token,cmd[i]->tokens,n_to_try,&exact)) { | ^ ./lib/shell.c:455:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | int try_to_match(token,n_tokens,n_to_try,n_word_command, | ^ ./lib/shell.c:74: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] 74 | int try_to_match(); | ^ ./lib/shell.c:484:12: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | if (!matches(in_tokens[i],com_tokens[i])) return(FALSE); | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/shell.c:477:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | int com_matches(in_tokens,com_tokens,num_to_match,exact) | ^ ./lib/shell.c:72: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] 72 | int com_matches(); | ^ ./lib/shell.c:506:16: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | if (!itoken(&line,iREQUIRED,&num)) return; | ^ ./lib/shell.c:509:27: warning: passing arguments to 'get_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | if (get_numbered_entry(num-1,&str,cmd_history)) { | ^ ./lib/shell.c:511:11: warning: passing arguments to 'maxstrins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | maxstrins(line,str,MAXLINE); | ^ ./lib/shell.c:512:9: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | despace(line); | ^ ./lib/shell.c:513:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | print("="); if (cmd_history_num>9) print("="); | ^ ./lib/shell.c:513:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | print("="); if (cmd_history_num>9) print("="); | ^ ./lib/shell.c:514:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | if (cmd_history_num>99) print("="); print("> "); | ^ ./lib/shell.c:514:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | if (cmd_history_num>99) print("="); print("> "); | ^ ./lib/shell.c:515:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | print(line); nl(); | ^ ./lib/shell.c:515:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | print(line); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:529:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | error(ps); return; /* never returns from here */ | ^ ./lib/shell.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | void expand_history_references(line) /* sends an error if need be */ | ^ ./lib/shell.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void expand_history_references(); | ^ ./lib/shell.c:559:18: 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] 559 | input((*prompt)(ps),uncrunched_args,ARGS_LEN-1); | ^ ./lib/shell.c:559:8: warning: passing arguments to 'input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | input((*prompt)(ps),uncrunched_args,ARGS_LEN-1); | ^ ./lib/shell.c:560:10: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | despace(uncrunched_args); /* should already be filtered */ | ^ ./lib/shell.c:562:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | if (!nullstr(uncrunched_args)) { | ^ ./lib/shell.c:564:25: warning: passing arguments to 'put_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | put_numbered_entry(uncrunched_args,cmd_history,&foo); | ^ ./lib/shell.c:568:43: warning: passing arguments to 'lowercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | strcpy(args,uncrunched_args); lowercase(args); | ^ ./lib/shell.c:573:20: 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] 573 | if (func==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:585:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | print("\n*** break ***\n"); | ^ ./lib/shell.c:587:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | print("\n\t...run cancelled...\n"); | ^ ./lib/shell.c:588:21: warning: passing arguments to 'redirect_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | redirect_input(NULL,FALSE); | ^ ./lib/shell.c:592:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | when NOMEMORY: print("\n*** out of memory ***\n"); nopunt; | ^ ./lib/shell.c:593:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | when MATHERROR: print("\n*** floating point error ***"); nopunt; | ^ ./lib/shell.c:594:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | when ENDOINPUT: toleft; print("\n\t...end of input...\n\n"); punt; | ^ ./lib/shell.c:536:32: note: expanded from macro 'toleft' 536 | #define toleft if (cursor!=0) nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:594:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | when ENDOINPUT: toleft; print("\n\t...end of input...\n\n"); punt; | ^ ./lib/shell.c:595:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | when QUIT: toleft; print("\n\t...goodbye...\n\n"); punt; | ^ ./lib/shell.c:536:32: note: expanded from macro 'toleft' 536 | #define toleft if (cursor!=0) nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:595:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | when QUIT: toleft; print("\n\t...goodbye...\n\n"); punt; | ^ ./lib/shell.c:618: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] 618 | void abort_command() { send(SOFTABORT); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:623:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | { print("error: "); print(errmsg); nl(); abort_command(); } | ^ ./lib/shell.c:623:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | { print("error: "); print(errmsg); nl(); abort_command(); } | ^ ./lib/shell.c:623:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | { print("error: "); print(errmsg); nl(); abort_command(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:621:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | void error(errmsg) /* guaranteed not to use ps */ | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:48: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] 48 | void error(); /* args: char *msg; prints "error: \n" and aborts */ | ^ ./lib/shell.c:631:15: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | if (stoken(&args,sREQUIRED,temp)) { | ^ ./lib/shell.c:634:22: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | else set_usage_error("either 'on' or 'off'"); | ^ ./lib/shell.c:636:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | sf(ps,"'%s' is %s.\n",com, *var ? "on" : "off"); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void maybe_set_bool(var) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:42: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] 42 | void maybe_set_bool(); /* args: bool *var; */ | ^ ./lib/shell.c:646:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | if (!nullstr(args)) { | ^ ./lib/shell.c:647:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | if (!rtoken(&args,rREQUIRED,&temp) || !rrange(&temp,lbound,hbound)) { | ^ ./lib/shell.c:647:47: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | if (!rtoken(&args,rREQUIRED,&temp) || !rrange(&temp,lbound,hbound)) { | ^ ./lib/shell.c:648:44: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | sf(ps,"a real number from %s to %s",rs(fmt,lbound),rs(fmt,hbound)); | ^ ./lib/shell.c:648:59: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | sf(ps,"a real number from %s to %s",rs(fmt,lbound),rs(fmt,hbound)); | ^ ./lib/shell.c:649:21: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | set_usage_error(ps); | ^ ./lib/shell.c:652:32: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | sf(ps,"'%s' is %s\n",com,rs(fmt,*var)); pr(); | ^ ./lib/shell.c:652:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | sf(ps,"'%s' is %s\n",com,rs(fmt,*var)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | void maybe_set_real(var,lbound,hbound,fmt) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:43: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] 43 | void maybe_set_real(); /* args: real *var, low_bound, high_bound, lf_format;*/ | ^ ./lib/shell.c:661:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | if (!nullstr(args)) { | ^ ./lib/shell.c:662:17: warning: passing arguments to 'ltoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | if (!ltoken(&args,lREQUIRED,&temp) || | ^ ./lib/shell.c:663:10: warning: passing arguments to 'lrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | !lrange(&temp,lbound,hbound)) { | ^ ./lib/shell.c:665:21: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | set_usage_error(ps); | ^ ./lib/shell.c:668:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | sf(ps,"'%s' is %ld\n",com,*var); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.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 maybe_set_long(var,lbound,hbound) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:44: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] 44 | void maybe_set_long(); /* args: long *var, low_bound, high_bound; */ | ^ ./lib/shell.c:677:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | if (!nullstr(args)) { | ^ ./lib/shell.c:678:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | if (!itoken(&args,iREQUIRED,&temp) || | ^ ./lib/shell.c:679:10: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | !irange(&temp,lbound,hbound)) { | ^ ./lib/shell.c:681:21: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | set_usage_error(ps); | ^ ./lib/shell.c:684:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | sf(ps,"'%s' is %d\n",com,*var); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:672:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | void maybe_set_int(var,lbound,hbound) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | void maybe_set_int(); /* args: long *var, low_bound, high_bound; */ | ^ ./lib/shell.c:690:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | { print("error: illegal value for '"); print(com); print("'\n"); | ^ ./lib/shell.c:690:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | { print("error: illegal value for '"); print(com); print("'\n"); | ^ ./lib/shell.c:690:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | { print("error: illegal value for '"); print(com); print("'\n"); | ^ ./lib/shell.c:692:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | { print("correct value: "); print(cmd[com_num]->args_help); print("\n"); } | ^ ./lib/shell.c:692:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | { print("correct value: "); print(cmd[com_num]->args_help); print("\n"); } | ^ ./lib/shell.c:692:70: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | { print("correct value: "); print(cmd[com_num]->args_help); print("\n"); } | ^ ./lib/shell.c:693:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | print("type '"); print(com); | ^ ./lib/shell.c:693:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | print("type '"); print(com); | ^ ./lib/shell.c:694:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | print("' alone to display current value\n"); | ^ ./lib/shell.c:695:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | print("type 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:695:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | print("type 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:695:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | print("type 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:688:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | void set_usage_error(com_args) /* guaranteed not to use ps */ | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:52:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | void set_usage_error(); /* args: char *msg */ | ^ ./lib/shell.c:708:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:711:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | if (!nullstr(cmd[com_num]->args_help)) | ^ ./lib/shell.c:712:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | { sf(ps,"expected: %s\n",cmd[com_num]->args_help); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:713:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | if (!nullstr(cmd[com_num]->def_help)) | ^ ./lib/shell.c:715:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | cmd[com_num]->def_help); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:719:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | { sf(ps,"type 'help %s' for details.\n",com); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:700:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | void usage_error(num) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:49: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] 49 | void usage_error(); /* args: int args; 1..n; -1 => unknown; use arg_num! */ | ^ ./lib/shell.c:734:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | if (nullstr(args)) return; /* all is OK, otherwise... */ | ^ ./lib/shell.c:741:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:743:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | if (!nullstr(cmd[com_num]->args_help)) | ^ ./lib/shell.c:744:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | { print("expected: "); print(cmd[com_num]->args_help); nl(); } | ^ ./lib/shell.c:744:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | { print("expected: "); print(cmd[com_num]->args_help); nl(); } | ^ ./lib/shell.c:744:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | { print("expected: "); print(cmd[com_num]->args_help); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:746:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | if (!nullstr(cmd[com_num]->def_help)) | ^ ./lib/shell.c:747:72: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | { sf(ps,"default%s: %s\n",maybe_s(num),cmd[com_num]->args_help); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:750:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | { sf(ps,"Type 'help %s' for details.\n",com); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:728:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | void nomore_args(n) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:51: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] 51 | void nomore_args(); /* args: int args; is #of args present */ | ^ ./lib/shell.c:763:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | if (!nullstr(args)) usage_error(-1); /* instead */ | ^ ./lib/shell.c:765:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | sf(ps,"error: Missing argument%s.\n",maybe_s(want-num)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:767:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | mode==EXACTLY ? "" : "at least ",want,maybe_s(want)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:769:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | if (!nullstr(cmd[com_num]->args_help)) | ^ ./lib/shell.c:770:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | { print("expected: "); print(cmd[com_num]->args_help); nl(); } | ^ ./lib/shell.c:770:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | { print("expected: "); print(cmd[com_num]->args_help); nl(); } | ^ ./lib/shell.c:770:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | { print("expected: "); print(cmd[com_num]->args_help); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:772:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | if (!nullstr(cmd[com_num]->def_help)) | ^ ./lib/shell.c:773:72: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | { sf(ps,"default%s: %s\n",maybe_s(num),cmd[com_num]->args_help); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:776:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | { sf(ps,"Type 'help %s' for details.\n",com); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:756:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | void more_args(num) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:50: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] 50 | void more_args(); /* args: int args; is #of args present */ | ^ ./lib/shell.c:785:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | print("error: you have given an invalid response\n"); | ^ ./lib/shell.c:786:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | if (!nullstr(val)) | ^ ./lib/shell.c:787:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | { print("expected: "); print(val); nl(); } | ^ ./lib/shell.c:787:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | { print("expected: "); print(val); nl(); } | ^ ./lib/shell.c:787:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | { print("expected: "); print(val); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:788:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | if (!nullstr(def)) | ^ ./lib/shell.c:789:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | { print("default: "); print(def); nl(); } | ^ ./lib/shell.c:789:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | { print("default: "); print(def); nl(); } | ^ ./lib/shell.c:789:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | { print("default: "); print(def); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:792:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | { sf(ps,"try typing 'help %s' for details\n",com); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:782:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | void input_error(val,def) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void input_error(); /* args: char *correct_input, *defaults; */ | ^ ./lib/shell.c:803:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | { if (nullstr(str)) return; | ^ ./lib/shell.c:809:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:809:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:809:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:809:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:800:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | void expect_nomore_input(str,mode,num) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void expect_nomore_input(); /* args: char *rest; int qualif, vals_wanted; */ | ^ ./lib/shell.c:817:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | { if (!nullstr(str)) return; | ^ ./lib/shell.c:822:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:822:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:822:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:822:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | pr(); print("try 'help "); print(com); print("' for details\n"); | ^ ./lib/shell.c:814:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | void expect_more_input(str,mode,num) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void expect_more_input(); /* args: char *rest; int qualifier, vals_wanted; */ | ^ ./lib/shell.c:827:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | bool split_arglist(rest,divider) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | bool split_arglist(); /* args: char **rest, divider; | ^ ./lib/shell.c:844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | bool split_uncrunched_args(rest,divider) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:67: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] 67 | bool split_uncrunched_args(); /* the same for uncrunched_args */ | ^ ./lib/shell.c:867:27: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | if (photo!=NULL) lib_puts(photo,str); | ^ ./lib/shell.c:868:10: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | lib_puts(out,"ok"); | ^ ./lib/shell.c:869:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | } else print(str); | ^ ./lib/shell.c:870:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:863:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | void maybe_ok(str) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:104:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | void maybe_ok(); /* args: char *str; prints the str then a '\n', | ^ ./lib/shell.c:881:10: warning: passing arguments to 'usertime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | usertime(TRUE); | ^ ./lib/shell.c:890:28: warning: passing arguments to 'usertime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | if (iter==0 || usertime(FALSE)>1.0) | ^ ./lib/shell.c:891:19: warning: passing arguments to 'temp_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | { temp_print(simple,fancy); usertime(TRUE); } | ^ ./lib/shell.c:891:43: warning: passing arguments to 'usertime' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | { temp_print(simple,fancy); usertime(TRUE); } | ^ ./lib/shell.c:874:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | void keep_user_amused(thing,iter,max_iter) | ^ In file included from ./lib/shell.c:18: ./lib/shell.h:108:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | void keep_user_amused(); /* args: char *str; int iter_num, max_iter_num; | ^ ./lib/shell.c:902:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | get_one_arg(itoken,1000,&num_to_print); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./lib/shell.c:902:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./lib/shell.c:906:26: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | first_to_print= imaxf(cmd_history_num-num_to_print,0); | ^ ./lib/shell.c:910:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | if(!printed_any){print("Previous commands:\n"); printed_any=TRUE;} | ^ ./lib/shell.c:911:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | sf(ps,"%3d ",i+1); pr(); print(cmd_str); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:911:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | sf(ps,"%3d ",i+1); pr(); print(cmd_str); nl(); | ^ ./lib/shell.c:911:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | sf(ps,"%3d ",i+1); pr(); print(cmd_str); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:914:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | if (!printed_any) print("No commands have yet been entered.\n"); | ^ ./lib/shell.c:924:48: 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] 924 | if (quit_save_hook==NULL || !(*quit_save_hook)(FALSE)) send(QUIT); | ^ ./lib/shell.c:924:57: 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] 924 | if (quit_save_hook==NULL || !(*quit_save_hook)(FALSE)) send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:925:11: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | run getln("save data before quitting? [yes] "); | ^ ./lib/shell.c:929:20: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | default: relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./lib/shell.c:931:13: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | if (!stoken(&ln,sREQUIRED,token) || !matches(token,"no")) { | ^ ./lib/shell.c:931:39: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | if (!stoken(&ln,sREQUIRED,token) || !matches(token,"no")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/shell.c:932:29: 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] 932 | if (!((*quit_save_hook)(TRUE))) return; /* if saving fails */ | ^ ./lib/shell.c:933:13: 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] 933 | else send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:934: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] 934 | } else send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:936:49: 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] 936 | if (quit_save_hook!=NULL && !((*quit_save_hook)(TRUE))) return; | ^ ./lib/shell.c:937:2: 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] 937 | send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:943:3: 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] 943 | { send(QUIT); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/shell.c:951:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | get_one_arg(stoken,sREQUIRED,file_name); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./lib/shell.c:951:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./lib/shell.c:953:23: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | if (!make_filename(file_name,DEFAULT_EXTENSION,WRS("in"))) | ^ ./lib/shell.c:955:24: warning: passing arguments to 'redirect_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | else redirect_input(file_name,TRUE); /* verbose -> messages */ | ^ ./lib/shell.c:964:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | get_one_arg(stoken,"",file_name); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./lib/shell.c:964:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./lib/shell.c:967:15: warning: passing arguments to 'photo_to_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | photo_to_file("",""); | ^ ./lib/shell.c:968:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | sf(ps,"'%s' is off.\n",com); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:974:24: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | } else if (!nullstr(file_name)) { | ^ ./lib/shell.c:975:20: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | if (!make_filename(file_name,DEFAULT_EXTENSION,WRS("out"))) | ^ ./lib/shell.c:977:20: warning: passing arguments to 'photo_to_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | if (!photo_to_file(file_name,"a")) | ^ ./lib/shell.c:984:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | pr(); return; | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:991:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | pr(); return; | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1021:11: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | crunch(args); | ^ ./lib/shell.c:1026:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | if (nullstr(args)) { /**** Print Help Table ****/ | ^ ./lib/shell.c:1027:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1028:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | sf(ps,"%s Commands and Options:\n",the_program); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1030:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | if (nullstr(topic_name[j]) || wizard_only(topic_code[j])) | ^ ./lib/shell.c:1032:40: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | strcpy(name,topic_name[j]); uppercase(name); | ^ ./lib/shell.c:1033:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | sf(ps,"\n(%d) %s:\n",j,name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1043:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | if (!nullstr(cmd[i]->abbreviation)) | ^ ./lib/shell.c:1045:37: warning: data argument not used by format string [-Wformat-extra-args] 1045 | else sf(str,"%s",cmd[i]->name,""); | ~~~~ ^ ./lib/shell.c:1046:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | if (!nullstr(cmd[i]->cmd_help)) { | ^ ./lib/shell.c:1049:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | sf(ps,HELP_FORMAT,str,cmd[i]->cmd_help); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1051:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | print(str); nl(); | ^ ./lib/shell.c:1051:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | print(str); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1059:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | { print("\nOTHER COMMANDS:\n"); got_any=TRUE; } | ^ ./lib/shell.c:1060:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | if (!nullstr(cmd[i]->abbreviation)) | ^ ./lib/shell.c:1062:38: warning: data argument not used by format string [-Wformat-extra-args] 1062 | else sf(ps,"%s\n",cmd[i]->name,""); | ~~~~~~ ^ ./lib/shell.c:1063:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1066:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1067:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1067:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1068:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | if (help_file==NULL) { print("\nNote: "); print(NO_HELP_FILE); } | ^ ./lib/shell.c:1068:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | if (help_file==NULL) { print("\nNote: "); print(NO_HELP_FILE); } | ^ ./lib/shell.c:1069:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1071:19: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | } else if (itoken(&args,iREQUIRED,&i)) { /**** a topic num ****/ | ^ ./lib/shell.c:1072:45: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | if (i<=0 || i>MAX_COM_TOPICS || nullstr(topic_name[i])) { | ^ ./lib/shell.c:1073:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | unhold(); sf(ps,NOT_A_TOPIC,i); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1074:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1074:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1074:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1076:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1077:40: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | strcpy(name,topic_name[i]); uppercase(name); | ^ ./lib/shell.c:1078:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | sf(ps,"(%d) %s\n\n",i,name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1079:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | if (help_file==NULL) print(NO_HELP_FILE); | ^ ./lib/shell.c:1080:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | else if (topic_help_key[i]==HELPLESS) print(NO_HELP_KEY); | ^ ./lib/shell.c:1082:17: warning: passing arguments to 'fgoto_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | fgoto_line(help_file,topic_help_key[i]); | ^ ./lib/shell.c:1083:14: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | fgetln_(help_file); | ^ ./lib/shell.c:1087:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | print(ln); nl(); | ^ ./lib/shell.c:1087:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | print(ln); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1088:11: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | fgetln_(help_file); | ^ ./lib/shell.c:1090:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | if (!got_any) print(NO_HELP_KEY); | ^ ./lib/shell.c:1092:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1099:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1099:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1099:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1102:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1103:10: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | nstrcpy(name,cmd[i]->name,MAX_COM_NAME_LEN); uppercase(name); | ^ ./lib/shell.c:1103:57: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | nstrcpy(name,cmd[i]->name,MAX_COM_NAME_LEN); uppercase(name); | ^ ./lib/shell.c:1108:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | if (!nullstr(cmd[i]->abbreviation)) | ^ ./lib/shell.c:1112:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1112:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1114:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | if (!nullstr(cmd[i]->cmd_help)) | ^ ./lib/shell.c:1115:52: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | { sf(ps,"Description: %s\n",cmd[i]->cmd_help); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1118:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | topic_name[cmd[i]->topic]); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1119:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | if (cmd[i]->num_args==0) print("No Arguments\n"); | ^ ./lib/shell.c:1120:20: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | else if (!nullstr(cmd[i]->args_help)) { | ^ ./lib/shell.c:1122:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | cmd[i]->args_help); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1123:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | if (!nullstr(cmd[i]->def_help)) { | ^ ./lib/shell.c:1125:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | cmd[i]->def_help); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1129:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1130:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | if (help_file==NULL) print(NO_HELP_FILE); | ^ ./lib/shell.c:1131:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | else if (cmd[i]->help_key==HELPLESS) print(NO_HELP_KEY); | ^ ./lib/shell.c:1133:17: warning: passing arguments to 'fgoto_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | fgoto_line(help_file,cmd[i]->help_key); | ^ ./lib/shell.c:1134:14: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | fgetln_(help_file); | ^ ./lib/shell.c:1138:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | print(ln); nl(); | ^ ./lib/shell.c:1138:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | print(ln); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1139:11: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | fgetln_(help_file); | ^ ./lib/shell.c:1141:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | if (!got_any) print(NO_HELP_KEY); | ^ ./lib/shell.c:1143:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1154:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1156:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | the_program,the_version,the_copyright); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1157:22: warning: passing arguments to 'gnu_copyright' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | if (gnu_copyright(ps)) { pr(); nl(); } | ^ ./lib/shell.c:1157:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | if (gnu_copyright(ps)) { pr(); nl(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1157:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | if (gnu_copyright(ps)) { pr(); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1158:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | print("All rights reserved.\n"); nl(); | ^ ./lib/shell.c:1158:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | print("All rights reserved.\n"); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1162:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | { print(NO_HELP_FILE); nl(); print(SURROGATE_ABOUT); } | ^ ./lib/shell.c:1162:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | { print(NO_HELP_FILE); nl(); print(SURROGATE_ABOUT); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1162:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | { print(NO_HELP_FILE); nl(); print(SURROGATE_ABOUT); } | ^ ./lib/shell.c:1164:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | { print(NO_HELP_KEY); nl(); print(SURROGATE_ABOUT); } | ^ ./lib/shell.c:1164:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | { print(NO_HELP_KEY); nl(); print(SURROGATE_ABOUT); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1164:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | { print(NO_HELP_KEY); nl(); print(SURROGATE_ABOUT); } | ^ ./lib/shell.c:1166:12: warning: passing arguments to 'fgoto_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | fgoto_line(help_file,n); | ^ ./lib/shell.c:1167:9: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | fgetln_(help_file); | ^ ./lib/shell.c:1169:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | print(ln); nl(); | ^ ./lib/shell.c:1169:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | print(ln); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1170:13: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | fgetln_(help_file); | ^ ./lib/shell.c:1173:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | nl(); print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1173:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | nl(); print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1173:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | nl(); print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1173:52: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | nl(); print(MOREHELP0); print(MOREHELP1); print(MOREHELP2); | ^ ./lib/shell.c:1174:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | print(HELP_DIVIDER); | ^ ./lib/shell.c:1178:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | command review_output() { review_memory(); print("ok\n"); } | ^ ./lib/shell.c:1184:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | if (!nullstr(str=time_string())) { | ^ ./lib/shell.c:1185:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | print(str); nl(); | ^ ./lib/shell.c:1185:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | print(str); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1186:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | } else print("Time to go home...\n"); | ^ ./lib/shell.c:1195:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | get_one_arg(stoken,"",dir_name); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./lib/shell.c:1195:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./lib/shell.c:1197:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | if (nullstr(dir_name)) { | ^ ./lib/shell.c:1198:19: warning: passing arguments to 'get_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | if (get_directory(dir_name)) | ^ ./lib/shell.c:1199:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | { sf(ps,"The current directory is '%s'\n",dir_name); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1203:22: warning: passing arguments to 'change_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | if (change_directory(dir_name)) { | ^ ./lib/shell.c:1204:23: warning: passing arguments to 'get_directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | if (get_directory(dir_name)) { | ^ ./lib/shell.c:1205:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | sf(ps,"The current directory is now '%s'\n",dir_name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/shell.c:1206:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | } else print("ok\n"); | ^ ./lib/shell.c:1217:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | if (!nullstr(args)) { /* run shell command */ | ^ ./lib/shell.c:1218:19: warning: passing arguments to 'shell_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | if (shell_command(args)) { | ^ ./lib/shell.c:1220:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | print("\n ...System Output Omitted...\n"); | ^ ./lib/shell.c:1222:16: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | lib_puts(photo,"\n ...System Output Omitted...\n"); | ^ ./lib/shell.c:1223:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | print("\nOK\n"); | ^ ./lib/shell.c:1225:49: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | sf(ps,"Unable to run command '%s'",truncstr(args,40)); | ^ ./lib/shell.c:1230:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | print(SHELL_MESSAGE); nl(); flush(); /* for curses */ | ^ ./lib/shell.c:1230:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | print(SHELL_MESSAGE); nl(); flush(); /* for curses */ | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/shell.c:1233:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | print(" ...System Interaction Omitted...\n"); | ^ ./lib/shell.c:1235:16: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | lib_puts(photo," ...System Interaction Omitted...\n"); | ^ ./lib/shell.c:1236:14: warning: passing arguments to 'lib_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | lib_puts(out,"\n"); /* C shell does not print one on ctrl-D */ | ^ ./lib/shell.c:1237:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | print("\nBack in "); print(the_program); print("...\n"); | ^ ./lib/shell.c:1237:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | print("\nBack in "); print(the_program); print("...\n"); | ^ ./lib/shell.c:1237:52: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | print("\nBack in "); print(the_program); print("...\n"); | ^ ./lib/shell.c:1248:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | if (nullstr(args)) { | ^ ./lib/shell.c:1249:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | print(GIMME_A_COMMENT); | ^ ./lib/shell.c:1250:12: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | do { getln(""); despace(ln); } while(!streq(ln,".")); | ^ ./lib/shell.c:1250:25: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | do { getln(""); despace(ln); } while(!streq(ln,".")); | ^ ./lib/shell.c:1251:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | } else print("ok\n"); | ^ 459 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/table.c -o ./lib/table.o ./lib/table.c:45:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | single(p,TABLE); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/table.c:45:2: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:49:35: warning: passing arguments to 'allocate_table_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | p->unused= allocate_table_entries(num_entries,str_len,named); | ^ ./lib/table.c:50:33: warning: passing arguments to 'free_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | } when_aborting { free_table(p); relay; } | ^ ./lib/table.c:50:38: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | } when_aborting { free_table(p); relay; } | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./lib/table.c:37:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | TABLE *allocate_table(num_entries,str_len,expand_by,named) | ^ In file included from ./lib/table.c:17: ./lib/table.h:32: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] 32 | TABLE *allocate_table(); | ^ ./lib/table.c:62:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | single(q,TABLE_ENTRY); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/table.c:62:5: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:64:16: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if (named) array(q->id.name,NAME_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/table.c:64:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:65:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | array(q->string,str_len+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/table.c:65:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:55:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | TABLE_ENTRY *allocate_table_entries(num_entries,str_len,named) | ^ ./lib/table.c:33:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | TABLE_ENTRY *allocate_table_entries(); | ^ ./lib/table.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void free_table(p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:39: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] 39 | void free_table(); /* args: TABLE *list; */ | ^ ./lib/table.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | bool table_full(p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | bool table_full(); /* args: TABLE *p; */ | ^ ./lib/table.c:89:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | bool table_empty(p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:72:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | bool table_empty(); /* args: TABLE *p; */ | ^ ./lib/table.c:94:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | int count_table_entries(p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:73:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | int count_table_entries(); /* args: TABLE *p; */ | ^ ./lib/table.c:100:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | TABLE_ENTRY *get_entry_to_bash(p) | ^ ./lib/table.c:34:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | TABLE_ENTRY *get_entry_to_bash(); | ^ ./lib/table.c:130:41: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (!p->named_entries || !valid_name(name)) send(CRASH); | ^ ./lib/table.c:130:49: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (!p->named_entries || !valid_name(name)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:133:17: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | if (xstreq(q->id.name,name)) break; | ^ ./lib/table.c:136:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | nstrcpy(q->id.name,name,NAME_LEN); | ^ ./lib/table.c:137:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | nstrcpy(q->string,str,p->string_length); | ^ ./lib/table.c:141:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | nstrcpy(q->id.name,name,NAME_LEN); | ^ ./lib/table.c:142:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | nstrcpy(q->string,str,p->string_length); | ^ ./lib/table.c:123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | void put_named_entry(name,str,p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:41: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] 41 | void put_named_entry(); /* args: char *name, *string; TABLE *p; */ | ^ ./lib/table.c:164:41: warning: passing arguments to 'is_a_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (!p->named_entries || !is_a_token(name)) send(CRASH); | ^ ./lib/table.c:164:49: 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] 164 | if (!p->named_entries || !is_a_token(name)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:166:12: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if (xstreq(name,q->id.name)) { | ^ ./lib/table.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | bool get_named_entry(name,p_real_name,p_str,p,fail_reason) | ^ In file included from ./lib/table.c:17: ./lib/table.h:51: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] 51 | bool get_named_entry(); /* args: char *name; char **string, **full_name; | ^ ./lib/table.c:184:41: warning: passing arguments to 'is_a_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (!p->named_entries || !is_a_token(name)) send(CRASH); | ^ ./lib/table.c:184:49: 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] 184 | if (!p->named_entries || !is_a_token(name)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:186:12: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | if (xstreq(name,q->id.name)) { | ^ ./lib/table.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | bool delete_named_entry(name,p,fail_reason) | ^ In file included from ./lib/table.c:17: ./lib/table.h:53:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | bool delete_named_entry(); /* args: char *name; TABLE *p; flag *fail; */ | ^ ./lib/table.c:206:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (p->named_entries) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:210:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | nstrcpy(q->string,str,p->string_length); | ^ ./lib/table.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 put_numbered_entry(str,p,num) | ^ In file included from ./lib/table.c:17: ./lib/table.h:42: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] 42 | void put_numbered_entry(); /* args: char *string; TABLE *p; int *num; */ | ^ ./lib/table.c:227:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (p->named_entries) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:221:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | bool get_numbered_entry(num,p_str,p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | bool get_numbered_entry(); /* args: int num; char **string; TABLE *p; */ | ^ ./lib/table.c:239:3: 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] 239 | { send(CRASH); /* NOT IMPLEMENTED */ } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:236:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | bool delete_numbered_entry(num,p) | ^ In file included from ./lib/table.c:17: ./lib/table.h:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | bool delete_numbered_entry(); /* args: int num; TABLE *p; UNIMPLEMENTED! */ | ^ ./lib/table.c:253:6: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/table.c:258:6: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/table.c:242:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | void save_table(p,fp,index) | ^ In file included from ./lib/table.c:17: ./lib/table.h:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | void save_table(), load_table(); | ^ ./lib/table.c:272:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | array(str,p->string_length+99,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/table.c:272:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/table.c:276:9: warning: passing arguments to 'finput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | finput(fp,str,p->string_length); ptr=str; | ^ ./lib/table.c:277:13: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | if(!stoken(&ptr,sREQUIRED,name)) | ^ ./lib/table.c:278:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | error("bad list of named table entries"); | ^ ./lib/table.c:285:9: warning: passing arguments to 'finput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | finput(fp,str,p->string_length); ptr=str; | ^ ./lib/table.c:286:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | if(!itoken(&ptr,iREQUIRED,&num)) | ^ ./lib/table.c:287:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | error("bad list of numbered table entries"); | ^ ./lib/table.c:294:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | print("Unexpected end-of-file while loading table"); | ^ ./lib/table.c:295:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./lib/table.c:263:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | void load_table(p,fp,index,num_entries) | ^ In file included from ./lib/table.c:17: ./lib/table.h:101: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] 101 | void save_table(), load_table(); | ^ 70 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/eqn.c -o ./lib/eqn.o ./lib/eqn.c:49:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | array(parsed_eqn,MAX_EQN_SIZE,EQUATION*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/eqn.c:49:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:50:31: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | for (i=0;ival.number); | ^ ./lib/eqn.c:413:26: warning: passing arguments to 'value_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | var_push = value_lookup(postfixed[i]->val.variable); | ^ ./lib/eqn.c:418:13: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | push_stack(var_push); | ^ ./lib/eqn.c:422:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | push_stack(pop_stack() + pop_stack()); | ^ ./lib/eqn.c:426:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | push_stack(pop_stack() - subtract); | ^ ./lib/eqn.c:429:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | push_stack(pop_stack()*pop_stack()); | ^ ./lib/eqn.c:434:19: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | push_stack(pop_stack()/divisor); | ^ ./lib/eqn.c:437:28: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | BADEQN_errmsg=ptr_to("Error - division by 0 attempted\n"); | ^ ./lib/eqn.c:438:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | send(BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:443:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | push_stack(pow(pop_stack(),exponent)); | ^ ./lib/eqn.c:448:19: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | push_stack(log10(number_to_use)); | ^ ./lib/eqn.c:451:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | BADEQN_errmsg=ptr_to("Error - can't take log of 0 or negative number\n"); | ^ ./lib/eqn.c:452:4: 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] 452 | send(BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:458:19: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | push_stack(log(number_to_use)); | ^ ./lib/eqn.c:461:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | BADEQN_errmsg=ptr_to("Error - can't take ln of 0 or negative number\n"); | ^ ./lib/eqn.c:462:4: 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] 462 | send(BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:466:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | push_stack(sin(pop_stack())); | ^ ./lib/eqn.c:471:19: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | push_stack(asin(number_to_use)); | ^ ./lib/eqn.c:474:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | BADEQN_errmsg=ptr_to("Error - can't take asin of number greater than 1\n"); | ^ ./lib/eqn.c:475:4: 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] 475 | send(BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:479:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | push_stack(cos(pop_stack())); | ^ ./lib/eqn.c:484:19: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | push_stack(acos(number_to_use)); | ^ ./lib/eqn.c:487:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | BADEQN_errmsg=ptr_to("Error - can't take acos of number greater than 1\n"); | ^ ./lib/eqn.c:488:4: 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] 488 | send(BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:494:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | push_stack(tan(pop_stack())); | ^ ./lib/eqn.c:497:17: warning: passing arguments to 'push_stack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | push_stack(atan(pop_stack())); | ^ ./lib/eqn.c:504:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./lib/eqn.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | real evaluate_equation (postfixed, value_find) | ^ In file included from ./lib/eqn.c:16: In file included from ./lib/system.h:585: ./lib/eqn.h:86:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | real evaluate_equation(); | ^ ./lib/eqn.c:515:29: 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] 515 | if (stack_pointer <= 0) send (CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:524:7: 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] 524 | send (CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | real push_stack(value_to_push) | ^ ./lib/eqn.c:30: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] 30 | real push_stack(), pop_stack(); | ^ ./lib/eqn.c:534:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | matrix(variable_table,200,200,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/eqn.c:534:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:534:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/eqn.c:534:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:535:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | array(value_table,200,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/eqn.c:535:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:549:26: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | BADEQN_errmsg = ptr_to("Error - variable name not known"); | ^ ./lib/eqn.c:550:4: 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] 550 | send (BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:539:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | int variable_lookup(item) | ^ In file included from ./lib/eqn.c:16: In file included from ./lib/system.h:585: ./lib/eqn.h:63: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] 63 | int variable_lookup(); | ^ ./lib/eqn.c:561:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | BADEQN_errmsg = ptr_to("Error - no value for variable"); | ^ ./lib/eqn.c:562:2: 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] 562 | send (BADEQN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/eqn.c:554:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | real value_lookup(index) | ^ In file included from ./lib/eqn.c:16: In file included from ./lib/system.h:585: ./lib/eqn.h:62:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | real value_lookup(); | ^ 121 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/stats.c -o ./lib/stats.o In file included from ./lib/stats.c:18: ./lib/system.h:623:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 623 | void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ ./lib/stats.c:29:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | single(normal_results, NORMAL_TEST); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/stats.c:29:5: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/stats.c:30:9: warning: passing arguments to 'skew' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | skew(normal_results, dist, dist_size); | ^ ./lib/stats.c:31:13: warning: passing arguments to 'quartile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | quartile(normal_results, dist, dist_size); | ^ ./lib/stats.c:32:11: warning: passing arguments to 'within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | within(normal_results, dist, dist_size); | ^ ./lib/stats.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | NORMAL_TEST *check_normalcy(dist, dist_size) | ^ In file included from ./lib/stats.c:18: In file included from ./lib/system.h:593: ./lib/stats.h:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | NORMAL_TEST *check_normalcy(); | ^ ./lib/stats.c:36:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | void skew(normal_results, dist, dist_size) | ^ ./lib/stats.c:20:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void within(), quartile(), skew(); | ^ ./lib/stats.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | void quartile(normal_results, dist, dist_size) | ^ ./lib/stats.c:20:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void within(), quartile(), skew(); | ^ ./lib/stats.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 within(normal_results, dist, dist_size) | ^ ./lib/stats.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void within(), quartile(), skew(); | ^ ./lib/stats.c:131:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | print("-------------------------------------------------------------"); | ^ ./lib/stats.c:132:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | print("----------------"); | ^ ./lib/stats.c:133:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/stats.c:134:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | print("distribution:"); | ^ ./lib/stats.c:135:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | print(" "); | ^ ./lib/stats.c:136:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | print(" quartile | fraction within n deviations:"); | ^ ./lib/stats.c:137:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/stats.c:138:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | print("mean "); | ^ ./lib/stats.c:139:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | print("sigma "); | ^ ./lib/stats.c:140:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | print("skewness "); | ^ ./lib/stats.c:141:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | print("kurtosis "); | ^ ./lib/stats.c:142:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | print(" ratio | "); | ^ ./lib/stats.c:143:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | print(" 1/4 "); | ^ ./lib/stats.c:144:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | print(" 1/2 "); | ^ ./lib/stats.c:145:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | print(" 1 "); | ^ ./lib/stats.c:146:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | print(" 2 "); | ^ ./lib/stats.c:147:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | print(" 3 "); | ^ ./lib/stats.c:148:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/stats.c:149:16: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | sf(ps,"%s ",rs(6.2,to_be_printed->mean));pr(); | ^ ./lib/stats.c:149:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | sf(ps,"%s ",rs(6.2,to_be_printed->mean));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:150:16: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | sf(ps,"%s ",rs(6.2,to_be_printed->sigma));pr(); | ^ ./lib/stats.c:150:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | sf(ps,"%s ",rs(6.2,to_be_printed->sigma));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:151:19: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | sf(ps," %s ",rs(6.2,to_be_printed->skew));pr(); | ^ ./lib/stats.c:151:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | sf(ps," %s ",rs(6.2,to_be_printed->skew));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:152:19: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | sf(ps," %s ",rs(6.2,to_be_printed->kurt));pr(); | ^ ./lib/stats.c:152:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | sf(ps," %s ",rs(6.2,to_be_printed->kurt));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:153:24: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | sf(ps," %s | ",rs(4.2,to_be_printed->quart_ratio));pr(); | ^ ./lib/stats.c:153:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | sf(ps," %s | ",rs(4.2,to_be_printed->quart_ratio));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:154:18: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | sf(ps," %s ",rs(4.2,to_be_printed->within_one_fourth));pr(); | ^ ./lib/stats.c:154:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | sf(ps," %s ",rs(4.2,to_be_printed->within_one_fourth));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:155:17: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | sf(ps," %s ",rs(4.2,to_be_printed->within_one_half));pr(); | ^ ./lib/stats.c:155:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | sf(ps," %s ",rs(4.2,to_be_printed->within_one_half));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:156:17: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | sf(ps," %s ",rs(4.2,to_be_printed->within_one));pr(); | ^ ./lib/stats.c:156:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | sf(ps," %s ",rs(4.2,to_be_printed->within_one));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:157:17: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | sf(ps," %s ",rs(4.2,to_be_printed->within_two));pr(); | ^ ./lib/stats.c:157:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | sf(ps," %s ",rs(4.2,to_be_printed->within_two));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:158:19: warning: passing arguments to 'rs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | sf(ps," %s ",rs(4.2,to_be_printed->within_three));pr(); | ^ ./lib/stats.c:158:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | sf(ps," %s ",rs(4.2,to_be_printed->within_three));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:160:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | print("-------------------------------------------------------------"); | ^ ./lib/stats.c:161:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | print("----------------"); | ^ ./lib/stats.c:162:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/stats.c:165:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | sf(ps,"%lf ",lamda);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:166:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | sf(ps,"%.2lf ",to_be_printed->mean);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:167:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | sf(ps," %.2lf ",to_be_printed->sigma);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:168:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | sf(ps," %.2lf ",to_be_printed->skew);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:169:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | sf(ps," %.2lf ",to_be_printed->kurt);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:170:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | sf(ps," %.2lf ",to_be_printed->quart_ratio);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:171:52: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | sf(ps," %.2lf ",to_be_printed->within_one_fourth);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:172:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | sf(ps," %.2lf ",to_be_printed->within_one_half);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:173:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | sf(ps," %.2lf ",to_be_printed->within_one);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:174:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | sf(ps," %.2lf ",to_be_printed->within_two);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:175:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | sf(ps," %.2lf ",to_be_printed->within_three);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:176:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/stats.c:177:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | print("-------------------------------------------------------------"); | ^ ./lib/stats.c:178:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | print("----------------"); | ^ ./lib/stats.c:179:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/stats.c:124:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | void print_normal(to_be_printed, lamda) | ^ In file included from ./lib/stats.c:18: In file included from ./lib/system.h:593: ./lib/stats.h:26: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] 26 | void print_normal(); | ^ ./lib/stats.c:194:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | single(new_test,NORMAL_TEST); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/stats.c:194:5: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/stats.c:195:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | array(new_dist,dist_size,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/stats.c:195:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/stats.c:203:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | print ("I'm sorry box_cox doesn't work on negative numbers\n"); | ^ ./lib/stats.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void box_cox(start,stop,step,dist,dist_size) | ^ In file included from ./lib/stats.c:18: In file included from ./lib/system.h:593: ./lib/stats.h:27: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] 27 | void box_cox(); | ^ ./lib/stats.c:229:17: warning: passing arguments to 'rmean' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | mean = rmean(dist,dist_size); | ^ ./lib/stats.c:272:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | print_histogram(intervals,mean-2*sigma); | ^ ./lib/stats.c:274:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | print_histogram(intervals,mean-1.5*sigma); | ^ ./lib/stats.c:276:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | print_histogram(intervals,mean-sigma); | ^ ./lib/stats.c:278:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | print_histogram(intervals,mean-.5*sigma); | ^ ./lib/stats.c:280:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | print_histogram(intervals,mean); | ^ ./lib/stats.c:282:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | print_histogram(intervals,mean+.5*sigma); | ^ ./lib/stats.c:284:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | print_histogram(intervals,mean+sigma); | ^ ./lib/stats.c:286:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | print_histogram(intervals,mean+1.5*sigma); | ^ ./lib/stats.c:288:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | print_histogram(intervals,mean+2*sigma); | ^ ./lib/stats.c:290:20: warning: passing arguments to 'print_histogram' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | print_histogram(intervals,mean+2.5*sigma); | ^ ./lib/stats.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void print_rhisto(dist, dist_size) | ^ In file included from ./lib/stats.c:18: In file included from ./lib/system.h:593: ./lib/stats.h:38: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] 38 | void print_rhisto(); | ^ ./lib/stats.c:301:22: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | sf(ps,"%s |",rsd(6.2,title));pr(); | ^ ./lib/stats.c:301:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | sf(ps,"%s |",rsd(6.2,title));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/stats.c:302:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | for(i=0;iMSGS) { fprintf(stderr,"error #%d (???)\n",msg); exit(1); } | ^ ./lib/syscode.c:257:20: 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] 257 | (*(mstrmsg[msg]))(ps_); fprintf(stderr,ps_); | ^ ./lib/syscode.c:257:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 257 | (*(mstrmsg[msg]))(ps_); fprintf(stderr,ps_); | ^~~ ./lib/syscode.c:257:42: note: treat the string as an argument to avoid this 257 | (*(mstrmsg[msg]))(ps_); fprintf(stderr,ps_); | ^ | "%s", ./lib/syscode.c:258:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (!nullstr(ps_)) fprintf(stderr,"\n"); | ^ ./lib/syscode.c:269:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | (*(mstrmsg[msg]))(ps_); fprintf(stderr,ps_); | ^ ./lib/syscode.c:269:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 269 | (*(mstrmsg[msg]))(ps_); fprintf(stderr,ps_); | ^~~ ./lib/syscode.c:269:42: note: treat the string as an argument to avoid this 269 | (*(mstrmsg[msg]))(ps_); fprintf(stderr,ps_); | ^ | "%s", ./lib/syscode.c:276:43: 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] 276 | { signals++; if (signals>MAX_BAD_SIGNALS) send(CRASH); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:311:5: 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] 311 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | bool do_gnu_readline(prompt,str,num) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:421: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] 421 | bool do_gnu_readline(); | ^ ./lib/syscode.c:333:5: 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] 333 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | bool do_gnu_edit(prompt,str,num,initial) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:422: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] 422 | bool do_gnu_edit(); | ^ ./lib/syscode.c:349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | bool gnu_copyright(str) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:423: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] 423 | bool gnu_copyright(); | ^ ./lib/syscode.c:376:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if (num<2) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:381:36: 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] 381 | if (++tty_errors>MAX_IO_FAILURES) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:382:32: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | if ((n=ferror(in))!=0) ioerror(strerror(n),in,str); /* error */ | ^ ./lib/syscode.c:384:9: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | ioerror("fgets() failed",in,str); /* I dunno? */ | ^ ./lib/syscode.c:392:36: 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] 392 | if (++tty_errors>MAX_IO_FAILURES) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:393:14: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | else ioerror("input line too long",in,str); | ^ ./lib/syscode.c:362:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | bool tty_gets(str, num) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:385: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] 385 | bool tty_gets(); | ^ ./lib/syscode.c:410:39: 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] 410 | if (++file_errors>MAX_IO_FAILURES) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:412:41: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | else if ((n=ferror(fp))!=0) { ioerror(strerror(n),fp,str); } | ^ ./lib/syscode.c:413:16: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | else ioerror("fgetc() failed",fp,str); | ^ ./lib/syscode.c:417:39: 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] 417 | if (++file_errors>MAX_IO_FAILURES) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:418:11: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | ioerror("input line too long",fp,str); | ^ ./lib/syscode.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | bool file_gets(fp,str,num) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:386: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] 386 | bool file_gets(); | ^ ./lib/syscode.c:435:32: 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] 435 | if (fp==NULL || str==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:442:39: 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] 442 | if (++puts_errors>=MAX_IO_FAILURES) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:443:33: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if ((n=ferror(fp))!=0) ioerror(strerror(n),fp,str); | ^ ./lib/syscode.c:444:15: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | else ioerror("xputc() failed",fp,str); | ^ ./lib/syscode.c:447:39: 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] 447 | if (++puts_errors>=MAX_IO_FAILURES) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:448:33: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | if ((n=ferror(fp))!=0) ioerror(strerror(n),fp,str); | ^ ./lib/syscode.c:449:15: warning: passing arguments to 'ioerror' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | else ioerror("xputc() failed",fp,str); | ^ ./lib/syscode.c:428:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | void lib_puts(fp,str) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:384: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] 384 | void lib_puts(); | ^ ./lib/syscode.c:482:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | nstrcpy(copy,tty_type,9); crunch(copy); | ^ ./lib/syscode.c:482:34: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | nstrcpy(copy,tty_type,9); crunch(copy); | ^ ./lib/syscode.c:501:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | if (!nullstr(tty_type)) { | ^ ./lib/syscode.c:561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | void ansi_cursor_left(i,s) int i; char *s; | ^ ./lib/syscode.c:570:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | void hp_cursor_left(i,s) int i; char *s; | ^ ./lib/syscode.c:619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | bool do_highlight(reverse) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:378: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] 378 | bool do_highlight(); | ^ ./lib/syscode.c:632:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | bool do_cursor_left(num_spaces,str_to_print) | ^ In file included from ./lib/syscode.c:21: In file included from ./lib/system.h:541: ./lib/iolib.h:380: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] 380 | bool do_cursor_left(); /* args int spaces; char *str_to_then_print; */ | ^ ./lib/syscode.c:664:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | matrix(file_arg,MAX_FILE_ARGS,PATH_LENGTH+1,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/syscode.c:664:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:664:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/syscode.c:664:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/syscode.c:698:22: warning: passing arguments to 'get_cmd_line_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | get_cmd_line_args(argc_ptr,argv); | ^ ./lib/syscode.c:692:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | void lib_inits(argc_ptr,argv) | ^ In file included from ./lib/syscode.c:21: ./lib/system.h:509: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] 509 | void lib_inits(); /* args: int *argc_pointer; char *argv[]; both are | ^ ./lib/syscode.c:730:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | } else if (matches(argv[i]+1,"simple")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:734:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | } else if (matches(argv[i]+1,"nomore")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:738:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | } else if (matches(argv[i]+1,"clear")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:743:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | } else if (matches(argv[i]+1,"load")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:748:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | } else if (matches(argv[i]+1,"prep")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:753:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | } else if (matches(argv[i]+1,"run")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:757:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | } else if (matches(argv[i]+1,"photo")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:762:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | } else if (matches(argv[i]+1,"out")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:767:13: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | } else if (matches(argv[i]+1,"help")) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./lib/syscode.c:719:6: 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 get_cmd_line_args(argc_ptr,argv) | ^ In file included from ./lib/syscode.c:21: ./lib/system.h:518: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] 518 | void get_cmd_line_args(); /* args: int *argc_ptr; char **argv; | ^ ./lib/syscode.c:788:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | if (!nullstr(name)) { | ^ ./lib/syscode.c:792:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | nstrcpy(file,arg,PATH_LENGTH); | ^ ./lib/syscode.c:793:23: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | if (!make_filename(file,DEFAULT_EXTENSION,def_ext)) { | ^ ./lib/syscode.c:798:14: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | fp=open_file(file,mode); | ^ ./lib/syscode.c:799:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | close_file(fp); | ^ ./lib/syscode.c:811:4: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./lib/syscode.c:781:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | bool check_file_arg(num,arg,name,type,def_ext,prog,mode) | ^ 103 warnings generated. ld -r ./lib/memlib.o ./lib/mathlib.o ./lib/iolib.o ./lib/msglib.o ./lib/strlib.o ./lib/shell.o ./lib/table.o ./lib/eqn.o ./lib/stats.o ./lib/syscode.o -o lib.o cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/state.c -o ./mapm/state.o In file included from ./mapm/state.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/state.c:89:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | parray(context,MAX_CONTEXTS,STATUS_CONTEXT); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/state.c:89:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/state.c:89:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/state.c:89:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/state.c:95:21: warning: passing arguments to 'allocate_context' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | allocate_context(context[0]); | ^ ./mapm/state.c:97:20: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | set_current_seq(NULL,FALSE); | ^ ./mapm/state.c:102:15: warning: passing arguments to 'free_context' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | { free_context(context[0]); state_init_values(); } | ^ ./mapm/state.c:119:33: warning: passing arguments to 'map_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | units=CENTIMORGANS; map_func(HALDANE); | ^ ./mapm/state.c:238:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:239:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | maybe_set_bool(&print_names); | ^ ./mapm/state.c:244:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:245:19: warning: passing arguments to 'maybe_set_real' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | maybe_set_real(&tolerance,0.0000001,1.0,8.6); | ^ ./mapm/state.c:251:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:252:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | get_one_arg(stoken,"",type); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/state.c:252:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/state.c:252:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/state.c:252:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/state.c:252:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/state.c:254:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (nullstr(type)) { | ^ ./mapm/state.c:256:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | print("the 'units' are currently recombination-fractions\n"); | ^ ./mapm/state.c:258:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | print("the 'units' are currently (Haldane) centimorgans\n"); | ^ ./mapm/state.c:260:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | print("the 'units' are currently (Kosambi) centimorgans\n"); | ^ ./mapm/state.c:261:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/state.c:264:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | if (matches(type,"recombination fractions") || | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:265:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | matches(type,"rec-fracs") || | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:266:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | matches(type,"recombination-fractions") || | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:267:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | matches(type,"rec fracs") || | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:268:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | matches(type,"rf")) units=RECFRACS; | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:269:11: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | else if (matches(type,"centimorgans") || | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:270:4: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | matches(type,"cm")) units=CENTIMORGANS; | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:271:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | else usage_error(1); | ^ ./mapm/state.c:274:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | print("the 'units' are now recombination-fractions.\n"); | ^ ./mapm/state.c:276:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | print("the 'units' are now set to (Haldane) centimorgans.\n"); | ^ ./mapm/state.c:278:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | print("the 'units' are now set to (Kosambi) centimorgans.\n"); | ^ ./mapm/state.c:279:7: 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] 279 | else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/state.c:288:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | mapm_ready(ANY_DATA,0,FALSE,NULL); | ^ ./mapm/state.c:289:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | get_one_arg(stoken,"",type); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/state.c:289:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/state.c:289:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/state.c:289:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/state.c:289:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/state.c:291:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | if (nullstr(type)) { | ^ ./mapm/state.c:292:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | sf(ps,"centimorgan function: %s\n",map_func_name()); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:297:11: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if (matches(type,maps[i].name)) { | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:298:12: warning: passing arguments to 'map_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | map_func(i); | ^ ./mapm/state.c:299:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | sf(ps,"centimorgan function: %s\n",map_func_name()); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:302:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | error("unknown function name\nexpected either 'Haldane' or 'Kosambi'"); | ^ ./mapm/state.c:308:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:309:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | maybe_set_bool(&auto_save); | ^ ./mapm/state.c:314:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | mapm_ready(MAYBE_DATA,0,0,NULL); | ^ ./mapm/state.c:315:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | maybe_set_bool(&more_mode); | ^ ./mapm/state.c:328:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | if (!nullstr(args)) { | ^ ./mapm/state.c:329:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!rtoken(&args,rREQUIRED,&lod) || !rrange(&lod,0.0,100.0)) | ^ ./mapm/state.c:329:46: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!rtoken(&args,rREQUIRED,&lod) || !rrange(&lod,0.0,100.0)) | ^ ./mapm/state.c:330:19: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | set_usage_error("a real number from 0 to 100"); | ^ ./mapm/state.c:331:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | if (!nullstr(args)) { | ^ ./mapm/state.c:332:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | if (!rtoken(&args,rREQUIRED,&theta) || !input_dist(&theta)) | ^ ./mapm/state.c:332:56: warning: passing arguments to 'input_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | if (!rtoken(&args,rREQUIRED,&theta) || !input_dist(&theta)) | ^ ./mapm/state.c:333:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | set_usage_error("a real number, greater than zero (cm or rf)"); | ^ ./mapm/state.c:340:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | sf(ps,DEF_LINK_LOD,default_lod); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:342:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | ((*mapfunction->rec_to_dist)(default_theta))*100.0); | ^ ./mapm/state.c:344:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:352:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:353:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | maybe_set_bool(&use_three_pt); | ^ ./mapm/state.c:365:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:366:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (!nullstr(args)) { | ^ ./mapm/state.c:367:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (!rtoken(&args,rREQUIRED,&lod) || !rrange(&lod,0.0,100.0)) | ^ ./mapm/state.c:367:46: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (!rtoken(&args,rREQUIRED,&lod) || !rrange(&lod,0.0,100.0)) | ^ ./mapm/state.c:368:19: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | set_usage_error("a real number from 0 to 100"); | ^ ./mapm/state.c:369:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | if (!nullstr(args)) { | ^ ./mapm/state.c:370:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | if (!rtoken(&args,rREQUIRED,&theta) || !input_dist(&theta)) | ^ ./mapm/state.c:370:56: warning: passing arguments to 'input_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | if (!rtoken(&args,rREQUIRED,&theta) || !input_dist(&theta)) | ^ ./mapm/state.c:371:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | set_usage_error("a real number, greater than zero (cm or rf)"); | ^ ./mapm/state.c:374:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | if (!nullstr(args)) { /* still */ | ^ ./mapm/state.c:375:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (!itoken(&args,0,&num) || !irange(&num,2,3)) | ^ ./mapm/state.c:375:42: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (!itoken(&args,0,&num) || !irange(&num,2,3)) | ^ ./mapm/state.c:376:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | set_usage_error("an integer number, either 2 or 3"); | ^ ./mapm/state.c:383:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | sf(ps,DEF_3PT_LOD,triplet_lod); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:385:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | ((*mapfunction->rec_to_dist)(triplet_theta))*100.0); | ^ ./mapm/state.c:387:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:388:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | sf(ps,DEF_3PT_NUM,triplet_num_links); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:398:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:399:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | if (!nullstr(args)) { | ^ ./mapm/state.c:400:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | if (!rtoken(&args,rREQUIRED,&like) || !rrange(&like,0.0,100.0)) | ^ ./mapm/state.c:400:47: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | if (!rtoken(&args,rREQUIRED,&like) || !rrange(&like,0.0,100.0)) | ^ ./mapm/state.c:401:19: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | set_usage_error("a real number from 0 to 100"); | ^ ./mapm/state.c:402:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (!nullstr(args)) { /* still */ | ^ ./mapm/state.c:403:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (!itoken(&args,0,&wind) || !irange(&wind,3,99) || (wind%2)!=1) | ^ ./mapm/state.c:403:43: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (!itoken(&args,0,&wind) || !irange(&wind,3,99) || (wind%2)!=1) | ^ ./mapm/state.c:404:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | set_usage_error("an odd integer number from 3 to 99"); | ^ ./mapm/state.c:410:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | sf(ps,TRIP_THRESH,three_pt_threshold,three_pt_window); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:419:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:420:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | if (!nullstr(args)) { | ^ ./mapm/state.c:421:12: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | if (rtoken(&args,rREQUIRED,&rate)) { | ^ ./mapm/state.c:422:17: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (!rrange(&rate,0.0,10.0)) set_usage_error(SET_3ERR_USAGE); | ^ ./mapm/state.c:422:50: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (!rrange(&rate,0.0,10.0)) set_usage_error(SET_3ERR_USAGE); | ^ ./mapm/state.c:424:21: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | } else if (nmatches(args,"on",2)) triplet_error_rate=LOCUS_ERROR_RATE; | ^ ./mapm/state.c:425:19: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | else if (nmatches(args,"off",2)) triplet_error_rate=0.0; | ^ ./mapm/state.c:426:22: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | else set_usage_error(SET_3ERR_USAGE); | ^ ./mapm/state.c:428:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | if (triplet_error_rate==0.0) print("'triple error detection' is off.\n"); | ^ ./mapm/state.c:430:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | print("'triple error detection' is on.\n"); | ^ ./mapm/state.c:432:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | print("'triple error detection' in three-point analysis is on.\n"); | ^ ./mapm/state.c:452:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:453:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | if (!nullstr(args)) { | ^ ./mapm/state.c:454:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | if (!rtoken(&args,rREQUIRED,&like) || !rrange(&like,0.0,100.0)) | ^ ./mapm/state.c:454:47: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | if (!rtoken(&args,rREQUIRED,&like) || !rrange(&like,0.0,100.0)) | ^ ./mapm/state.c:455:19: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | set_usage_error("a real number from 0 to 100"); | ^ ./mapm/state.c:456:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (!nullstr(args)) { /* still */ | ^ ./mapm/state.c:457:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (!itoken(&args,0,&wind) || !irange(&wind,3,99) || (wind%2)!=1) | ^ ./mapm/state.c:457:43: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (!itoken(&args,0,&wind) || !irange(&wind,3,99) || (wind%2)!=1) | ^ ./mapm/state.c:458:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | set_usage_error("an odd integer number from 3 to 99"); | ^ ./mapm/state.c:460:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | if (!nullstr(args)) { /* still */ | ^ ./mapm/state.c:461:14: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | if (!rtoken(&args,rREQUIRED,&like2)||!rrange(&like2,0.0,100.0)) | ^ ./mapm/state.c:461:47: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | if (!rtoken(&args,rREQUIRED,&like2)||!rrange(&like2,0.0,100.0)) | ^ ./mapm/state.c:462:20: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | set_usage_error("a real number from 0 to 100"); | ^ ./mapm/state.c:472:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | { sf(ps,NPT_THRESH1,npt_threshold,npt_window); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:474:73: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | { sf(ps,NPT_THRESH2,npt_threshold,npt_window,npt_first_threshold);pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:487:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | mapm_ready(F2_DATA,0,0,NULL); | ^ ./mapm/state.c:488:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (!nullstr(args)) { | ^ ./mapm/state.c:489:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | if (!rtoken(&args,rREQUIRED,&theta) || !input_dist(&theta)) | ^ ./mapm/state.c:489:52: warning: passing arguments to 'input_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | if (!rtoken(&args,rREQUIRED,&theta) || !input_dist(&theta)) | ^ ./mapm/state.c:490:19: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | set_usage_error("a map distance, cM or RF"); | ^ ./mapm/state.c:491:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | if (!nullstr(args)) { /* still */ | ^ ./mapm/state.c:492:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | if (!itoken(&args,0,&indivs) || | ^ ./mapm/state.c:493:10: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | !irange(&indivs,3,raw.data.f2.num_indivs)) | ^ ./mapm/state.c:494:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | set_usage_error("an integer from 1 to #individuals in data set"); | ^ ./mapm/state.c:496:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | if (!nullstr(args)) { /* still */ | ^ ./mapm/state.c:497:7: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | if (matches(args,"codominant") || streq(args,"cd")) | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:499:12: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | else if (matches("any",args) || matches("all",args)) | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:499:35: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | else if (matches("any",args) || matches("all",args)) | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/state.c:501:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | else set_usage_error("either 'codominant' or 'any'"); | ^ ./mapm/state.c:506:44: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | raw.data.f2.cross_type!=F3_SELF) error(CD_NOT); | ^ ./mapm/state.c:511:33: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | sf(ps,INF_THRESHS,rag(rf2str(npt_min_theta)),npt_min_indivs, | ^ ./mapm/state.c:511:26: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | sf(ps,INF_THRESHS,rag(rf2str(npt_min_theta)),npt_min_indivs, | ^ ./mapm/state.c:512:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | (npt_codominant ? "\n(codominant markers only)":"")); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:518:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/state.c:519:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | maybe_set_bool(&print_all_maps); | ^ ./mapm/state.c:528:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | mapm_ready(F2,0,0,NULL); | ^ ./mapm/state.c:529:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | maybe_set_bool(&fake_maps); | ^ ./mapm/state.c:534:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | mapm_ready(F2,0,0,NULL); | ^ ./mapm/state.c:535:19: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | maybe_set_bool(&use_error_rate); | ^ ./mapm/state.c:544:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | mapm_ready(F2,0,0,NULL); | ^ ./mapm/state.c:545:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | if (!nullstr(args)) { | ^ ./mapm/state.c:546:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | if (!rtoken(&args,rREQUIRED,&t1) || !rrange(&t1,0.0,99.0)) | ^ ./mapm/state.c:546:45: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | if (!rtoken(&args,rREQUIRED,&t1) || !rrange(&t1,0.0,99.0)) | ^ ./mapm/state.c:547:19: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | set_usage_error("a real number from 0 to 99"); | ^ ./mapm/state.c:548:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | if (!nullstr(args)) { | ^ ./mapm/state.c:549:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | if (!rtoken(&args,rREQUIRED,&t2) || !rrange(&t2,0.0,99.0)) | ^ ./mapm/state.c:549:49: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | if (!rtoken(&args,rREQUIRED,&t2) || !rrange(&t2,0.0,99.0)) | ^ ./mapm/state.c:550:23: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | set_usage_error("a real number from 0 to 99"); | ^ ./mapm/state.c:551:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | if (!nullstr(args)) { | ^ ./mapm/state.c:552:14: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if (!rtoken(&args,rREQUIRED,&t3) || !rrange(&t2,0.0,99.0)) | ^ ./mapm/state.c:552:46: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if (!rtoken(&args,rREQUIRED,&t3) || !rrange(&t2,0.0,99.0)) | ^ ./mapm/state.c:553:20: warning: passing arguments to 'set_usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | set_usage_error("a real number from 0 to 99"); | ^ ./mapm/state.c:559:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | error_net_thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/state.c:577:38: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | con->named_sequences= allocate_table(MAX_NAMED_SEQS,MAX_SEQ_LEN, | ^ ./mapm/state.c:580:39: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | con->sequence_history= allocate_table(MAX_HISTORY_SEQS,MAX_SEQ_LEN, | ^ ./mapm/state.c:585:14: warning: passing arguments to 'free_context' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | free_context(con); | ^ ./mapm/state.c:586:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/state.c:565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | void allocate_context(con) | ^ In file included from ./mapm/state.c:16: ./mapm/mapm.h:236: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] 236 | void allocate_context(); | ^ ./mapm/state.c:593:15: warning: passing arguments to 'free_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | free_table(con->named_sequences); | ^ ./mapm/state.c:594:15: warning: passing arguments to 'free_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | free_table(con->sequence_history); | ^ ./mapm/state.c:590:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | void free_context(con) | ^ In file included from ./mapm/state.c:16: ./mapm/mapm.h:237: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] 237 | void free_context(); | ^ ./mapm/state.c:598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | bool change_context(new_context) | ^ In file included from ./mapm/state.c:16: ./mapm/mapm.h:238: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] 238 | bool change_context(); | ^ ./mapm/state.c:618:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | bool create_new_context(new_context) | ^ In file included from ./mapm/state.c:16: ./mapm/mapm.h:239: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] 239 | bool create_new_context(); | ^ ./mapm/state.c:737:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | fprint(fp,WRS("*MapmakerStatusInfo:\n")); | ^ ./mapm/state.c:739:45: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | sf(ps,"*PrintNames: %d\n",print_names); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:740:43: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | sf(ps,"*Tolerance: %lf\n",tolerance); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:741:34: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | sf(ps,"*Units: %d\n",units); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:742:45: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | sf(ps,"*MapFunc: %d\n",map_func_num()); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:744:46: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | sf(ps,"*DefaultLOD: %lf\n",default_lod); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:745:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | sf(ps,"*DefaultTheta: %lf\n",default_theta); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:747:49: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | sf(ps,"*UseThreePoint: %d\n",use_three_pt); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:748:46: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | sf(ps,"*TripletLOD: %lf\n",triplet_lod); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:749:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | sf(ps,"*TripletTheta: %lf\n",triplet_theta); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:750:56: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | sf(ps,"*TripletNumLinks: %d\n",triplet_num_links); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:751:62: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | sf(ps,"*ThreePointThreshold: %lf\n",three_pt_threshold); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:752:55: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | sf(ps,"*ThreePointWindow: %d\n",three_pt_window); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:753:59: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | sf(ps,"*TripletErrorRate: %lf\n",triplet_error_rate); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:755:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | sf(ps,"*NptThreshold: %lf\n",npt_threshold); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:756:61: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | sf(ps,"*NptFirstThreshold: %lf\n",npt_first_threshold); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:757:43: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | sf(ps,"*NptWindow: %d\n",npt_window); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:758:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | sf(ps,"*NptMinIndivs: %d\n",npt_min_indivs); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:759:51: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | sf(ps,"*NptCodominant: %d\n",npt_codominant); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:760:49: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | sf(ps,"*NptMinTheta: %lf\n",npt_min_theta); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:761:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | sf(ps,"*PrintAllMaps: %d\n",print_all_maps); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:763:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | sf(ps,"*UseErrorRate: %d\n",use_error_rate); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:764:58: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | sf(ps,"*ErrorLodThreshold: %lf\n",error_lod_thresh); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:765:64: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | sf(ps,"*ErrorSingleThreshold: %lf\n",error_single_thresh); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:766:58: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | sf(ps,"*ErrorNetThreshold: %lf\n",error_net_thresh); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:768:44: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | sf(ps,"*Contexts: %d\n",num_contexts); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:769:51: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | sf(ps,"*ActiveContext: %d\n",active_context); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:770:5: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/state.c:773:35: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | sf(ps,"*Context %d\n",i+1); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:774:61: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | sf(ps,"*SexSpecific: %d\n",context[i]->sex_specific); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:775:61: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | sf(ps,"*CompressDNA: %d\n",context[i]->compress_DNA); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:777:38: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | sf(ps,"*UseNum: %d\n",usenum); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:778:69: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | sf(ps,"*MaxProblemSize: %ld\n",context[i]->max_problem_size); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:781:22: warning: passing arguments to 'count_table_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | count_table_entries(context[i]->named_sequences)); fpr(fp); | ^ ./mapm/state.c:781:54: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | count_table_entries(context[i]->named_sequences)); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:782:17: warning: passing arguments to 'save_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | save_table(context[i]->named_sequences,fp,INDEX_BY_NAME); | ^ ./mapm/state.c:785:22: warning: passing arguments to 'count_table_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | count_table_entries(context[i]->sequence_history)); fpr(fp); | ^ ./mapm/state.c:785:55: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | count_table_entries(context[i]->sequence_history)); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/state.c:786:17: warning: passing arguments to 'save_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | save_table(context[i]->sequence_history,fp,INDEX_BY_NUMBER); | ^ ./mapm/state.c:732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | void write_status(fp) | ^ In file included from ./mapm/state.c:16: ./mapm/mapm.h:241: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] 241 | void write_status(); /* arg: FILE *fp; */ | ^ ./mapm/state.c:798:46: 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] 798 | if (!streq(word,"*MapmakerStatusInfo:")) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/state.c:803:45: warning: passing arguments to 'map_func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | fscanf(fp,"%*s %d\n", &mapnum); map_func(mapnum); | ^ ./mapm/state.c:830:36: 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] 830 | if (!streq(word,"*Contexts:")) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/state.c:850:12: warning: passing arguments to 'load_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | load_table(context[i]->named_sequences,fp,INDEX_BY_NAME,num); | ^ ./mapm/state.c:852:12: warning: passing arguments to 'load_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | load_table(context[i]->sequence_history,fp,INDEX_BY_NUMBER,num); | ^ ./mapm/state.c:855:47: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | if (the_seq_history_num>0) set_current_seq(WRS("none"),FALSE); | ^ ./mapm/state.c:791:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | void read_status(fp) | ^ In file included from ./mapm/state.c:16: ./mapm/mapm.h:240: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] 240 | void read_status(); /* arg: FILE *fp; */ | ^ 219 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/reader.c -o ./mapm/reader.o In file included from ./mapm/reader.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/reader.c:76:11: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | setmsg(BADDATA,"error in data file",sender,strmsg_default); | ^ ./mapm/reader.c:77:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | array(BADDATA_text,MAXLINE+1,char); array(BADDATA_reason,MAXLINE+1,char); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/reader.c:77:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:77:41: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | array(BADDATA_text,MAXLINE+1,char); array(BADDATA_reason,MAXLINE+1,char); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/reader.c:77:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:78:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | array(badstr,LINE+1,char); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/reader.c:78:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:84:15: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | { do { fgetln_(fp); data_line++; } while (nullstr(ln)||ln[0]=='#'); } | ^ ./mapm/reader.c:84:50: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | { do { fgetln_(fp); data_line++; } while (nullstr(ln)||ln[0]=='#'); } | ^ ./mapm/reader.c:82:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | void getdataln(fp) /* get next nonblank,noncomment data file line */ | ^ In file included from ./mapm/reader.c:17: ./mapm/mapm.h:144: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] 144 | void getdataln(); | ^ ./mapm/reader.c:89:10: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | { nstrcpy(BADDATA_reason,reason,MAXLINE); BADDATA_line_num=data_line; | ^ ./mapm/reader.c:90:10: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | nstrcpy(BADDATA_text,ln,MAXLINE); send(BADDATA); } | ^ ./mapm/reader.c:90:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | nstrcpy(BADDATA_text,ln,MAXLINE); send(BADDATA); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.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 baddata(reason) /* send data reading error message */ | ^ In file included from ./mapm/reader.c:17: ./mapm/mapm.h:145: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] 145 | void baddata(); | ^ ./mapm/reader.c:119:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:97:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | char *data_info(add_nums) | ^ In file included from ./mapm/reader.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:73:7: warning: a function declaration without a prototype is 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 | char *data_info(); /* args: bool add_numbers_to_info; returns temp_string */ | ^ ./mapm/reader.c:137:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | make_filename(name,FORCE_EXTENSION,ext); | ^ ./mapm/reader.c:138:40: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | strcpy(tmpname,name); make_filename(tmpname,FORCE_EXTENSION,WRS(TEMP_EXT)); | ^ ./mapm/reader.c:142:14: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | fp=open_file(name,READ); | ^ ./mapm/reader.c:144:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | close_file(fp); | ^ ./mapm/reader.c:145:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | } trapping(CANTOPEN) {} | ^ ./mapm/../lib/msglib.h:146:21: note: expanded from macro 'trapping' 146 | #define trapping(m) except_when(m) | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/reader.c:149:14: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | fp=open_file(tmpname,WRITE); | ^ ./mapm/reader.c:150:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | sf(ps,SAVING_TO,type,name); pr(); flush(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:151:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | } except_when(CANTOPEN) { | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/reader.c:152:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | sf(ps,NOT_SAVING_TO,name); pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:152:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | sf(ps,NOT_SAVING_TO,name); pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/reader.c:130:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | FILE *start_save_to_file(name,ext,type,exists) | ^ ./mapm/reader.c:33:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | FILE *start_save_to_file(); | ^ ./mapm/reader.c:165:40: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | strcpy(tmpname,name); make_filename(tmpname,FORCE_EXTENSION,WRS(TEMP_EXT)); | ^ ./mapm/reader.c:166:40: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | strcpy(oldname,name); make_filename(oldname,FORCE_EXTENSION,oldext); | ^ ./mapm/reader.c:168:30: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | if (exists) { rename_file(name,oldname); } | ^ ./mapm/reader.c:169:16: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | rename_file(tmpname,name); | ^ ./mapm/reader.c:170:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | print("ok\n"); | ^ ./mapm/reader.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | void finish_save_to_file(name,oldext,exists) | ^ ./mapm/reader.c:34: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] 34 | void finish_save_to_file(); | ^ ./mapm/reader.c:184: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] 184 | if (data_loaded()) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:188:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | pr(); flush(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:190:44: warning: passing arguments to 'read_data_file_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (!israw) ntype=read_data_file_header(fp,filename); /* sets raw.stuff */ | ^ ./mapm/reader.c:191:38: warning: passing arguments to 'read_raw_file_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | else ntype=read_raw_file_header(fp,filename,symbols); /* ditto */ | ^ ./mapm/reader.c:194:30: warning: passing arguments to 'new_read_f2_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if (!israw) new_read_f2_data(fp); else new_read_f2_raw(fp,symbols); | ^ ./mapm/reader.c:194:56: warning: passing arguments to 'new_read_f2_raw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if (!israw) new_read_f2_data(fp); else new_read_f2_raw(fp,symbols); | ^ ./mapm/reader.c:203:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | print("ok\n "); print(data_info(TRUE)); /*print(".");*/ flush(); | ^ ./mapm/reader.c:203:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | print("ok\n "); print(data_info(TRUE)); /*print(".");*/ flush(); | ^ ./mapm/reader.c:208:24: warning: passing arguments to 'allocate_order_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | allocate_order_data(raw.num_markers); /* print("."); flush(); */ | ^ ./mapm/reader.c:209:23: warning: passing arguments to 'allocate_seq_stuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | allocate_seq_stuff(raw.num_markers); print("."); flush(); | ^ ./mapm/reader.c:209:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | allocate_seq_stuff(raw.num_markers); print("."); flush(); | ^ ./mapm/reader.c:210:26: warning: passing arguments to 'allocate_mapping_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | allocate_mapping_data(raw.num_markers); print("."); flush(); | ^ ./mapm/reader.c:210:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | allocate_mapping_data(raw.num_markers); print("."); flush(); | ^ ./mapm/reader.c:211:20: warning: passing arguments to 'allocate_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | allocate_two_pt(raw.num_markers); /* print("."); flush(); */ | ^ ./mapm/reader.c:212:22: warning: passing arguments to 'allocate_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | allocate_three_pt(raw.num_markers); print("."); flush(); | ^ ./mapm/reader.c:212:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | allocate_three_pt(raw.num_markers); print("."); flush(); | ^ ./mapm/reader.c:213:23: warning: passing arguments to 'allocate_hmm_temps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | allocate_hmm_temps(raw.num_markers,raw.data.f2.num_indivs, | ^ ./mapm/reader.c:215:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | print(" ok\n"); | ^ ./mapm/reader.c:217:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | make_filename(name,FORCE_EXTENSION,WRS(MAPS_EXT)); strcpy(type,"map"); | ^ ./mapm/reader.c:220:22: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | fp2=open_file(name,READ); | ^ ./mapm/reader.c:221:23: warning: passing arguments to 'read_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if (read_magic_number(fp2,type)) { | ^ ./mapm/reader.c:222:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | sf(ps,LOADING_FROM,type,name); pr(); flush(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:223:21: warning: passing arguments to 'read_order_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | read_order_data(fp2); | ^ ./mapm/reader.c:224:23: warning: passing arguments to 'read_mapping_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | read_mapping_data(fp2); | ^ ./mapm/reader.c:225:17: warning: passing arguments to 'read_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | read_status(fp2); | ^ ./mapm/reader.c:226:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | print("ok\n"); | ^ ./mapm/reader.c:227:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | } else { sf(ps,NOT_LOADING_FROM,type,name); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:228:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | close_file(fp2); | ^ ./mapm/reader.c:229:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | } except_when(CANTOPEN) { } /* need a better handler */ | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/reader.c:231:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | make_filename(name,FORCE_EXTENSION,WRS(TWO_EXT)); strcpy(type,"two-point"); | ^ ./mapm/reader.c:234:15: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | fp2=open_file(name,READ); | ^ ./mapm/reader.c:235:23: warning: passing arguments to 'read_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (read_magic_number(fp2,type)) { | ^ ./mapm/reader.c:236:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | sf(ps,LOADING_FROM,type,name); pr(); flush(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:237:17: warning: passing arguments to 'read_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | read_two_pt(fp2); | ^ ./mapm/reader.c:238:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | print("ok\n"); | ^ ./mapm/reader.c:239:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | } else { sf(ps,NOT_LOADING_FROM,type,name); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:240:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | close_file(fp2); | ^ ./mapm/reader.c:241:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | } except_when(CANTOPEN) { } /* need a better handler */ | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/reader.c:243:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | make_filename(name,FORCE_EXTENSION,WRS(THREE_EXT)); strcpy(type,"three-point"); | ^ ./mapm/reader.c:246:22: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | fp2=open_file(name,READ); | ^ ./mapm/reader.c:247:30: warning: passing arguments to 'read_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | if (read_magic_number(fp2,type)) { | ^ ./mapm/reader.c:248:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | sf(ps,LOADING_FROM,type,name); pr(); flush(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:249:19: warning: passing arguments to 'read_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | read_three_pt(fp2); | ^ ./mapm/reader.c:250:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | print("ok\n"); | ^ ./mapm/reader.c:251:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | } else { sf(ps,NOT_LOADING_FROM,type,name); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/reader.c:252:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | close_file(fp2); | ^ ./mapm/reader.c:253:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | } except_when(CANTOPEN) { } /* need a better handler */ | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/reader.c:176:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | void do_load_data(fp,filename,israw) | ^ In file included from ./mapm/reader.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:74:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | void do_load_data(); | ^ ./mapm/reader.c:260:19: warning: passing arguments to 'free_f2_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | free_f2_data(raw.num_markers,raw.data.f2.num_indivs); | ^ ./mapm/reader.c:267:20: warning: passing arguments to 'free_order_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | free_order_data(raw.num_markers); | ^ ./mapm/reader.c:268:22: warning: passing arguments to 'free_mapping_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | free_mapping_data(raw.num_markers); | ^ ./mapm/reader.c:269:19: warning: passing arguments to 'free_seq_stuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | free_seq_stuff(raw.num_markers); | ^ ./mapm/reader.c:270:16: warning: passing arguments to 'free_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | free_two_pt(raw.num_markers); | ^ ./mapm/reader.c:271:18: warning: passing arguments to 'free_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | free_three_pt(raw.num_markers); | ^ ./mapm/reader.c:272:19: warning: passing arguments to 'free_hmm_temps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | free_hmm_temps(raw.num_markers,raw.data.f2.num_indivs, | ^ ./mapm/reader.c:289:19: warning: passing arguments to 'write_f2_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | write_f2_data(fp); /* deals with header and magic number */ | ^ ./mapm/reader.c:290:16: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | close_file(fp); fp=NULL; | ^ ./mapm/reader.c:294:20: warning: passing arguments to 'write_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | write_magic_number(fp,"map"); | ^ ./mapm/reader.c:295:18: warning: passing arguments to 'write_order_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | write_order_data(fp); | ^ ./mapm/reader.c:296:20: warning: passing arguments to 'write_mapping_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | write_mapping_data(fp); | ^ ./mapm/reader.c:297:14: warning: passing arguments to 'write_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | write_status(fp); | ^ ./mapm/reader.c:298:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | close_file(fp); fp=NULL; | ^ ./mapm/reader.c:303:24: warning: passing arguments to 'write_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | write_magic_number(fp,"two-point"); | ^ ./mapm/reader.c:304:18: warning: passing arguments to 'write_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | write_two_pt(fp); | ^ ./mapm/reader.c:305:16: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | close_file(fp); fp=NULL; | ^ ./mapm/reader.c:310:24: warning: passing arguments to 'write_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | write_magic_number(fp,"three-point"); | ^ ./mapm/reader.c:311:20: warning: passing arguments to 'write_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | write_three_pt(fp); | ^ ./mapm/reader.c:312:16: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | close_file(fp); fp=NULL; | ^ ./mapm/reader.c:317:24: warning: passing arguments to 'write_magic_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | write_magic_number(fp,"trait"); | ^ ./mapm/reader.c:318:18: warning: passing arguments to 'write_traits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | write_traits(fp); | ^ ./mapm/reader.c:319:16: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | close_file(fp); fp=NULL; | ^ ./mapm/reader.c:327:44: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (fp!=NULL && msg!=CANTCLOSE) close_file(fp); | ^ ./mapm/reader.c:328:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | relay; | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/reader.c:277:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | void do_save_data(base_name,save_genos_too) | ^ In file included from ./mapm/reader.c:17: ./mapm/mapm.h:146: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] 146 | void do_save_data(); | ^ ./mapm/reader.c:340:36: 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] 340 | if (data_loaded() || fp==NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:359:19: 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] 359 | if (type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:335:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | int read_data_file_header(fp,filename) | ^ ./mapm/reader.c:31:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | int read_data_file_header(); | ^ ./mapm/reader.c:386:36: 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] 386 | if (data_loaded() || fp==NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:388:33: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | getdataln(fp); while(nullstr(ln)); crunch(ln); | ^ ./mapm/reader.c:388:46: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | getdataln(fp); while(nullstr(ln)); crunch(ln); | ^ ./mapm/reader.c:391:67: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | type=F2; raw.data.f2.cross_type=F2_INTERCROSS; dflt=ptr_to("-AHBCD"); | ^ ./mapm/reader.c:393:61: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | type=F2; raw.data.f2.cross_type=F3_SELF; dflt=ptr_to("-AHBCD"); | ^ ./mapm/reader.c:395:66: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | type=F2; raw.data.f2.cross_type=F2_BACKCROSS; dflt=ptr_to("-AH"); | ^ ./mapm/reader.c:397:60: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | type=F2; raw.data.f2.cross_type=RI_SIB; dflt=ptr_to("-AB"); | ^ ./mapm/reader.c:399:54: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | type=F2; raw.data.f2.cross_type=RI_SELF; dflt=ptr_to("-AB"); | ^ ./mapm/reader.c:405:19: 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] 405 | if (type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:407:36: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | do getdataln(fp); while(nullstr(ln)); /* NOT crunched */ | ^ ./mapm/reader.c:408:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (!(itoken(&ln,iREQUIRED,&n_indivs) && n_indivs > 0 && | ^ ./mapm/reader.c:409:10: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | itoken(&ln,iREQUIRED,&n_loci) && n_loci > 0 && | ^ ./mapm/reader.c:410:10: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | itoken(&ln,iREQUIRED,&n_traits) && n_traits >= 0)) | ^ ./mapm/reader.c:411:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | error("bad #individuals, #loci or #traits"); | ^ ./mapm/reader.c:415:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | if (!nullstr(ln)) { /* symbol definitions, old chrom#, case thing */ | ^ ./mapm/reader.c:416:12: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | if (itoken(&ln,iREQUIRED,&n_chroms)) | ^ ./mapm/reader.c:417:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | if (n_chroms>0) { print(OLD_CHROM_WARN); } | ^ ./mapm/reader.c:419:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | while (!nullstr(ln) && sscanf(ln,"%s",str)==1) { | ^ ./mapm/reader.c:422:25: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (first && xstreq(str,"case")) | ^ ./mapm/reader.c:424:25: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if (first && xstreq(str,"symbols") || xstreq(str,"symbols:")) { | ^ ./mapm/reader.c:424:50: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if (first && xstreq(str,"symbols") || xstreq(str,"symbols:")) { | ^ ./mapm/reader.c:425:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (nullstr(ln)) baddata(SYM_SYMBOLS); | ^ ./mapm/reader.c:429:41: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | if (len(str)!=3 || str[1]!='=' || !strin(OK_SYMBOLS,str[0]) || | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/reader.c:430:4: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | !strin(dflt,str[2])) baddata(SYM_FORMAT); | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/reader.c:440:56: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | user[0]=str[0]; if (uppercase_genotypes) uppercase(user); | ^ ./mapm/reader.c:447:10: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | if (strin(symbol,*user) || symbol[n]!=' ') baddata(SYM_REPEAT); | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/reader.c:453:16: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | else if (strin(symbol,dflt[i])) baddata(SYM_REPEAT); | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/reader.c:388:38: warning: while loop has empty body [-Wempty-body] 388 | getdataln(fp); while(nullstr(ln)); crunch(ln); | ^ ./mapm/reader.c:388:38: note: put the semicolon on a separate line to silence this warning ./mapm/reader.c:380:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | int read_raw_file_header(fp,filename,symbol) | ^ ./mapm/reader.c:32:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | int read_raw_file_header(); | ^ ./mapm/reader.c:464:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | bool read_magic_number(fp,type) | ^ ./mapm/reader.c:35: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] 35 | bool read_magic_number(); | ^ ./mapm/reader.c:479:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | void write_magic_number(fp,type) | ^ ./mapm/reader.c:36:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | void write_magic_number(); | ^ ./mapm/reader.c:495:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | matrix(raw.locus_name,n_loci,NAME_LEN+1,char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/reader.c:495:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:495:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/reader.c:495:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:496:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | matrix(raw.data.f2.allele,n_loci,n_indivs,char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/reader.c:496:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:496:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/reader.c:496:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:497:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | matrix(raw.data.f2.allelic_distribution,n_loci,4,real); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/reader.c:497:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:497:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/reader.c:497:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:499:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | matrix(trait,num_traits, raw.data.f2.num_indivs,real); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/reader.c:499:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:499:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/reader.c:499:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:500:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | matrix(trait_name,num_traits,NAME_LEN+1,char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/reader.c:500:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:500:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/reader.c:500:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/reader.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | void allocate_f2_data(n_loci,n_indivs) | ^ ./mapm/reader.c:40: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] 40 | void allocate_f2_data(); | ^ ./mapm/reader.c:505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | void free_f2_data(n_loci,n_indivs) | ^ ./mapm/reader.c:41: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] 41 | void free_f2_data(); | ^ ./mapm/reader.c:533:53: warning: passing arguments to 'new_read_f2_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | for (j=0; jnum_loci<2 || raw.data_type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:257:53: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | { strcpy(ps,"too many loci in one map"); error(ps); } | ^ ./mapm/ctm.c:259:14: warning: passing arguments to 'setup_hmm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | setup_hmm(map); /* set statics above, and set the initial parameters */ | ^ ./mapm/ctm.c:260:44: warning: passing arguments to 'hmm_fake_converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | if (fake_maps) hmm_fake_converge_to_map(map); | ^ ./mapm/ctm.c:261:29: warning: passing arguments to 'hmm_converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | else hmm_converge_to_map(map); | ^ ./mapm/ctm.c:250:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | void converge_to_map(map) | ^ In file included from ./mapm/ctm.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:90:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | void converge_to_map(); /* args: MAP *map */ | ^ ./mapm/ctm.c:273:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if (raw.data_type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:290:17: warning: passing arguments to 'merge_genotypes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | merge_genotypes(locus,observation,observation); | ^ ./mapm/ctm.c:266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | void f2_genotype(locus,haplo,observation) | ^ In file included from ./mapm/ctm.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:91:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | void f2_genotype(); /* args: int locus; bool haplo; int *observation[#indiv] */ | ^ ./mapm/ctm.c:294:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | bool merge_genotypes(locus,observation,new_observation) | ^ In file included from ./mapm/ctm.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:92:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | bool merge_genotypes(); /* args: int new_locus, old_obs[], new_obs[] */ | ^ ./mapm/ctm.c:320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | int f2_count_infs(num_dom,num_het,observation) /* return #inf */ | ^ In file included from ./mapm/ctm.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | int f2_count_infs(); /* args: *n_dominant, *n_het, obs[]; return #infs */ | ^ ./mapm/ctm.c:355:18: 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] 355 | (*hmm_set_probs)(map,trans_prob,obs_prob,implied_recs); | ^ ./mapm/ctm.c:357:22: warning: passing arguments to 'hmm_e_step' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | new_like= hmm_e_step(map,trans_prob,obs_prob,exp_transitions, | ^ ./mapm/ctm.c:364:11: warning: passing arguments to 'test_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | test_dump(obs_prob,max_observations,"obs_prob"); | ^ ./mapm/ctm.c:365:11: warning: passing arguments to 'test_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | test_dump(implied_recs,max_states,"implied_recs"); | ^ ./mapm/ctm.c:366:11: warning: passing arguments to 'test_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | test_dump(trans_prob,max_states,"trans_prob"); | ^ ./mapm/ctm.c:367:11: warning: passing arguments to 'test_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | test_dump(exp_transitions,max_states,"from->to exp_trans: "); | ^ ./mapm/ctm.c:371:17: warning: passing arguments to 'hmm_count_stats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | hmm_count_stats(exp_transitions,exp_observations,implied_recs, | ^ ./mapm/ctm.c:377:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | ss[one]->recs,ss[one]->norecs); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/ctm.c:380:18: warning: passing arguments to 'hmm_make_new_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | hmm_make_new_map(sufficient_stats,new_like,map); | ^ ./mapm/ctm.c:385:23: warning: passing arguments to 'count_error_lods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | count_error_lods(map->error_rate,obs_prob,exp_genotype, | ^ ./mapm/ctm.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 hmm_converge_to_map(map) | ^ ./mapm/ctm.c:36:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | void hmm_converge_to_map(); | ^ ./mapm/ctm.c:409:42: warning: passing arguments to 'setup_f2_hmm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (type==F2_INTERCROSS) setup_f2_hmm(map->locus,map->error_rate); | ^ ./mapm/ctm.c:410:47: warning: passing arguments to 'setup_f3_self_hmm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | else if (type==F3_SELF) setup_f3_self_hmm(map->locus); | ^ ./mapm/ctm.c:412:24: warning: passing arguments to 'setup_bc_like_hmm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | setup_bc_like_hmm(map->locus,map->error_rate,type); | ^ ./mapm/ctm.c:413:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | void setup_hmm(map) | ^ ./mapm/ctm.c:99:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | void setup_hmm(); | ^ ./mapm/ctm.c:434:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:458:13: 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] 458 | } else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | void setup_bc_like_hmm(locus,error_rate,cross_type) | ^ ./mapm/ctm.c:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | void setup_bc_like_hmm(), hmm_bc_like_set_probs(); | ^ ./mapm/ctm.c:554:13: 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] 554 | } else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | void setup_f2_hmm(locus,error_rate) | ^ ./mapm/ctm.c:102:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | void setup_f2_hmm(), hmm_f2_set_probs(); | ^ ./mapm/ctm.c:621:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | A_AMAM= f3_state("A-AmAm",A,M,M,OBS_A); /* 0 */ | ^ ./mapm/ctm.c:622:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | A_AMAP= f3_state("A-AmAp",A,M,P,OBS_A); /* 1 */ | ^ ./mapm/ctm.c:623:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | A_APAM= f3_state("A-ApAm",A,P,M,OBS_A); /* 2 */ | ^ ./mapm/ctm.c:624:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | A_APAP= f3_state("A-ApAp",A,P,P,OBS_A); /* 3 */ | ^ ./mapm/ctm.c:626:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | H_AMAM= f3_state("H-AmAm",H,M,M,OBS_A); /* 4 */ | ^ ./mapm/ctm.c:627:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | H_AMBP= f3_state("H-AmBp",H,M,P,OBS_H); /* 5 */ | ^ ./mapm/ctm.c:628:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | H_BPAM= f3_state("H-BpAm",H,P,M,OBS_H); /* 6 */ | ^ ./mapm/ctm.c:629:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | H_BPBP= f3_state("H-BpBp",H,P,P,OBS_B); /* 7 */ | ^ ./mapm/ctm.c:631:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | J_BMBM= f3_state("J-BmBm",J,M,M,OBS_B); /* 8 */ | ^ ./mapm/ctm.c:632:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | J_BMAP= f3_state("J-BmAp",J,M,P,OBS_H); /* 9 */ | ^ ./mapm/ctm.c:633:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | J_APBM= f3_state("J-ApBm",J,P,M,OBS_H); /* 10 */ | ^ ./mapm/ctm.c:634:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | J_APAP= f3_state("J-ApAp",J,P,P,OBS_A); /* 11 */ | ^ ./mapm/ctm.c:636:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | B_BMBM= f3_state("B-BmBm",B,M,M,OBS_B); /* 12 */ | ^ ./mapm/ctm.c:637:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | B_BMBP= f3_state("B-BmBp",B,M,P,OBS_B); /* 13 */ | ^ ./mapm/ctm.c:638:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | B_BPBM= f3_state("B-BpBm",B,P,M,OBS_B); /* 14 */ | ^ ./mapm/ctm.c:639:21: warning: passing arguments to 'f3_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | B_BPBP= f3_state("B-BpBp",B,P,P,OBS_B); /* 15 */ | ^ ./mapm/ctm.c:663:13: 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] 663 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:608:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | void setup_f3_self_hmm(locus) | ^ ./mapm/ctm.c:103:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | void setup_f3_self_hmm(), hmm_f3_self_set_probs(); | ^ ./mapm/ctm.c:725:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | int f3_state(name,f2,mat,pat,obs) | ^ ./mapm/ctm.c:93:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | int f3_state(); | ^ ./mapm/ctm.c:768: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] 768 | else send(CRASH); /* From Haldane and Wadington (inverse of y(x)) */ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:782: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] 782 | if (exp_observations!=NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:751:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | void hmm_bc_like_set_probs(map,trans_prob,obs_prob,implied_recs) | ^ ./mapm/ctm.c:101:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | void setup_bc_like_hmm(), hmm_bc_like_set_probs(); | ^ ./mapm/ctm.c:823: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] 823 | if (exp_observations!=NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | void hmm_f2_set_probs(map,trans_prob,obs_prob,implied_recs) | ^ ./mapm/ctm.c:102:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | void setup_f2_hmm(), hmm_f2_set_probs(); | ^ ./mapm/ctm.c:863: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] 863 | if (exp_observations!=NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:827:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | void hmm_f3_self_set_probs(map,trans_prob,obs_prob,implied_recs) | ^ ./mapm/ctm.c:103:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | void setup_f3_self_hmm(), hmm_f3_self_set_probs(); | ^ ./mapm/ctm.c:867:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | void hmm_count_stats(exp_transitions,exp_observations,implied_recs, | ^ ./mapm/ctm.c:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void hmm_count_stats(), hmm_make_new_map(); | ^ ./mapm/ctm.c:919: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] 919 | else send(CRASH); /* From Haldane and Wadington (inverse of y(x)) */ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | void hmm_make_new_map(sufficient_stats,new_like,map) | ^ ./mapm/ctm.c:98:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void hmm_count_stats(), hmm_make_new_map(); | ^ ./mapm/ctm.c:1004:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | if (fabs(total)<0.00001) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:1051:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | if (fabs(total)<0.00001) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ctm.c:930:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | real hmm_e_step(map,trans_prob,obs_prob,exp_transitions,exp_observations) | ^ ./mapm/ctm.c:97:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | real hmm_e_step(); | ^ ./mapm/ctm.c:1123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | void test_dump(p,rows,name) | ^ ./mapm/ctm.c:105:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | void test_dump(), test_dump0(); | ^ ./mapm/ctm.c:1146:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | void test_dump0(p,name) | ^ ./mapm/ctm.c:105: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] 105 | void test_dump(), test_dump0(); | ^ ./mapm/ctm.c:1169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | void count_error_lods(apriori_rate,obs_prob,exp_genotype, | ^ ./mapm/ctm.c:109:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | void count_error_lods(); | ^ ./mapm/ctm.c:1209:22: warning: passing arguments to 'f2_quick_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | f2_quick_two_pt(locus0,locus1,two_pt,FALSE); | ^ ./mapm/ctm.c:1201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | void quick_two_pt(locus0,locus1,two_pt,sex) | ^ In file included from ./mapm/ctm.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:86:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | void quick_two_pt(); /* ctm.c, args: locus1 locus2 TWO_PT_DATA sex_spec */ | ^ ./mapm/ctm.c:1233:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | void hmm_fake_converge_to_map(map) | ^ ./mapm/ctm.c:110:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | void hmm_fake_converge_to_map(); | ^ 180 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/print.c -o ./mapm/print.o In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/print.c:35:42: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | stop_column= MAX_LOG_LIKE_COLUMN-len(empty_loc_str)-3; | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:38:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | print(text); print(" "); | ^ ./mapm/print.c:38:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | print(text); print(" "); | ^ ./mapm/print.c:42:12: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | to_column(MAX_LOG_LIKE_COLUMN); | ^ ./mapm/print.c:44:30: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | sprintf(ps,"Like: %s",rsn(6.2,map->log_like-like_base)); | ^ ./mapm/print.c:45:30: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | else sf(ps,"Like: %s",rsn(8.2,map->log_like)); | ^ ./mapm/print.c:46:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:48:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | nl(); space(len(text)+2); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:48:17: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | nl(); space(len(text)+2); | ^ ./mapm/print.c:53:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:55:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | { print(" *"); had_unlinked=TRUE; } | ^ ./mapm/print.c:56:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | print(" "); | ^ ./mapm/print.c:59:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if (!had_unlinked) print(" "); | ^ ./mapm/print.c:61:29: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | sprintf(ps,"Like: %s",rsn(6.2,map->log_like-like_base)); | ^ ./mapm/print.c:62:34: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | else sprintf(ps,"Like: %s",rsn(6.2,map->log_like)); | ^ ./mapm/print.c:63:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:65:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:27:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | void print_tiny_map(map,text,like_base) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:319: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] 319 | void print_tiny_map(); /* arg: map; one liner (loci, log-like) */ | ^ ./mapm/print.c:79:15: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | pad_to_len(ps,18); pr(); | ^ ./mapm/print.c:79:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | pad_to_len(ps,18); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | void print_err(indiv,locus,map) | ^ ./mapm/print.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void print_err(); | ^ ./mapm/print.c:86:20: warning: passing arguments to 'print_special_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | { print_special_map(map,title,0,NULL); } | ^ ./mapm/print.c:83:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | void print_long_map(map,title) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:321: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] 321 | void print_long_map(); /* arg: map; expanded map output */ | ^ ./mapm/print.c:104:33: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | sf(my_title,"%-26s ",(!nullstr(title) ? title:"Map:")); | ^ ./mapm/print.c:105:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | print(my_title); | ^ ./mapm/print.c:106:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if (map->error_lod!=NULL) { sf(ps,"Apriori"); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:107:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:109:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | sf(ps," Markers Distance "); pr(); /* that's 28 chars */ | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:110:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | if (map->error_lod!=NULL) { sf(ps," Prob Candidate Errors"); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:111:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:118:41: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | sf(ps,"%5s%c %-9s ",num,p2,locname(map->locus[i],use_haplotypes)); | ^ ./mapm/print.c:119:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:121:28: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | sf(ps," %s %2s",rf2str(map->rec_frac[i][0]), | ^ ./mapm/print.c:122:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | (units==CENTIMORGANS ? "cM":"rf")); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:123: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] 123 | length+= cm_dist(map->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/print.c:126:24: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | sf(ps," %s%% ",rsd(3.1,map->error_rate[i]*100.0)); pr(); | ^ ./mapm/print.c:126:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | sf(ps," %s%% ",rsd(3.1,map->error_rate[i]*100.0)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:137:22: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | if (n==0) print("-"); | ^ ./mapm/print.c:140:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (n>=3) { sf(ps,"%d more",n-2); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:145:22: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if (n==0) print("-"); | ^ ./mapm/print.c:149:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | print("\n "); | ^ ./mapm/print.c:154:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:161:37: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | sf(ps,"%5s%c %-9s ",num,p2,locname(map->locus[i],use_haplotypes)); | ^ ./mapm/print.c:162:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:164:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | print("----------\n"); | ^ ./mapm/print.c:167:8: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | rsd(5.1,length),map->num_loci,map->log_like); pr(); | ^ ./mapm/print.c:167:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | rsd(5.1,length),map->num_loci,map->log_like); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:173:8: warning: passing arguments to 'locs2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | print(empty_locs_str); | ^ ./mapm/print.c:22:32: note: expanded from macro 'empty_locs_str' 22 | #define empty_locs_str locs2str(-1,-1) | ^ ./mapm/print.c:173:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | print(empty_locs_str); | ^ ./mapm/print.c:174:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | print(" MALE-MAP: FEMALE-MAP:\n"); | ^ ./mapm/print.c:177: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] 177 | male_cm= cm_dist(map->rec_frac[i][MALE]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/print.c:178: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] 178 | female_cm= cm_dist(map->rec_frac[i][FEMALE]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/print.c:180:16: warning: passing arguments to 'locs2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | locs2str(map->locus[i],map->locus[i+1]), | ^ ./mapm/print.c:181:11: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | rsd(5.1,male_cm),rsd(5.1,map->rec_frac[i][MALE]*100.0), | ^ ./mapm/print.c:181:28: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | rsd(5.1,male_cm),rsd(5.1,map->rec_frac[i][MALE]*100.0), | ^ ./mapm/print.c:182:11: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | rsd(5.1,female_cm),rsd(5.1,map->rec_frac[i][FEMALE]*100.0)); | ^ ./mapm/print.c:182:30: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | rsd(5.1,female_cm),rsd(5.1,map->rec_frac[i][FEMALE]*100.0)); | ^ ./mapm/print.c:183:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | print(ps); | ^ ./mapm/print.c:187:8: warning: passing arguments to 'locs2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | print(empty_locs_str); | ^ ./mapm/print.c:22:32: note: expanded from macro 'empty_locs_str' 22 | #define empty_locs_str locs2str(-1,-1) | ^ ./mapm/print.c:187:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | print(empty_locs_str); | ^ ./mapm/print.c:188:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | print(" -------- --------\n"); | ^ ./mapm/print.c:189:8: warning: passing arguments to 'locs2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | print(empty_locs_str); | ^ ./mapm/print.c:22:32: note: expanded from macro 'empty_locs_str' 22 | #define empty_locs_str locs2str(-1,-1) | ^ ./mapm/print.c:189:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | print(empty_locs_str); | ^ ./mapm/print.c:191:8: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | rsd(5.1,male_length),rsd(5.1,female_length)); pr(); | ^ ./mapm/print.c:191:29: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | rsd(5.1,male_length),rsd(5.1,female_length)); pr(); | ^ ./mapm/print.c:191:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | rsd(5.1,male_length),rsd(5.1,female_length)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:193:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | print(ps); | ^ ./mapm/print.c:89:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | void print_special_map(map,title,num_old,old_locus) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:322: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] 322 | void print_special_map(); /* see print.c */ | ^ ./mapm/print.c:205:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | print(text); print(" "); to_column(col+2); | ^ ./mapm/print.c:205:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | print(text); print(" "); to_column(col+2); | ^ ./mapm/print.c:205:39: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | print(text); print(" "); to_column(col+2); | ^ ./mapm/print.c:207:15: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | print(loc2str(map->locus[i])); | ^ ./mapm/print.c:207:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | print(loc2str(map->locus[i])); | ^ ./mapm/print.c:208:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (map->unlink==i+1) print(" * "); | ^ ./mapm/print.c:209:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | else if (!print_names) print(" "); else print(" "); | ^ ./mapm/print.c:209:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | else if (!print_names) print(" "); else print(" "); | ^ ./mapm/print.c:211:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | if (map->unlink==NONE_UNLINKED && print_names) print(" "); | ^ ./mapm/print.c:212:38: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | sf(ps," log-likelihood: %s\n",rsn(7.2,map->log_like)); pr(); | ^ ./mapm/print.c:212:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | sf(ps," log-likelihood: %s\n",rsn(7.2,map->log_like)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:215:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | print("map:"); to_column(col+3); | ^ ./mapm/print.c:215:26: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | print("map:"); to_column(col+3); | ^ ./mapm/print.c:216:30: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if (print_names) space((len(empty_loc_str)/2) + 2); else print(" "); | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:216:24: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if (print_names) space((len(empty_loc_str)/2) + 2); else print(" "); | ^ ./mapm/print.c:216:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if (print_names) space((len(empty_loc_str)/2) + 2); else print(" "); | ^ ./mapm/print.c:218:18: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | print(rf2str(map->rec_frac[i][MALE])); | ^ ./mapm/print.c:218:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | print(rf2str(map->rec_frac[i][MALE])); | ^ ./mapm/print.c:219:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if (map->unlink==i+1 && print_names) print(" "); | ^ ./mapm/print.c:220:33: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:220:28: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:220:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:222:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:225:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | print("male:"); to_column(col+3); | ^ ./mapm/print.c:225:27: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | print("male:"); to_column(col+3); | ^ ./mapm/print.c:226:29: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (print_names) space(len(empty_loc_str)/2); else print(" "); | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:226:24: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (print_names) space(len(empty_loc_str)/2); else print(" "); | ^ ./mapm/print.c:226:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (print_names) space(len(empty_loc_str)/2); else print(" "); | ^ ./mapm/print.c:228:18: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | print(rf2str(map->rec_frac[i][MALE])); | ^ ./mapm/print.c:228:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | print(rf2str(map->rec_frac[i][MALE])); | ^ ./mapm/print.c:229:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (map->unlink==i+1 && print_names) print(" "); | ^ ./mapm/print.c:230:33: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:230:28: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:230:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:232:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:233:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | print("female:"); to_column(col+3); | ^ ./mapm/print.c:233:29: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | print("female:"); to_column(col+3); | ^ ./mapm/print.c:234:29: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (print_names) space(len(empty_loc_str)/2); else print(" "); | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:234:24: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (print_names) space(len(empty_loc_str)/2); else print(" "); | ^ ./mapm/print.c:234:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | if (print_names) space(len(empty_loc_str)/2); else print(" "); | ^ ./mapm/print.c:236:18: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | print(rf2str(map->rec_frac[i][FEMALE])); | ^ ./mapm/print.c:236:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | print(rf2str(map->rec_frac[i][FEMALE])); | ^ ./mapm/print.c:237:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | if (map->unlink==i+1 && print_names) print(" "); | ^ ./mapm/print.c:238:33: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:21:30: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:238:28: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:238:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | if (print_names) space(len(empty_loc_str)-5+1); else print(" "); | ^ ./mapm/print.c:240:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:198:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | void print_short_map(map,text) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:320: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] 320 | void print_short_map(); /* arg: map; three liner (loci, rec_fracs, log-like) */ | ^ ./mapm/print.c:259:18: warning: passing arguments to 'rmaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | best= rmaxf(list->map_list[i]->log_like,best); | ^ ./mapm/print.c:264:12: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | pad_to_len(str,4); | ^ ./mapm/print.c:245:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | void print_list(list,how_many) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:323: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] 323 | void print_list(); /* arg: list; prints list */ | ^ ./mapm/print.c:275:11: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | rrange(&rec_frac,0.0,0.499999); | ^ ./mapm/print.c:277:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | d=(*mapfunction->rec_to_dist)(rec_frac); | ^ ./mapm/print.c:279:12: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | return(rsd(5.1,100.0*d)); | ^ ./mapm/print.c:280:22: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | } else return(rsd(5.3,rec_frac)); | ^ ./mapm/print.c:270:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | char *rf2str(rec_frac) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:313:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 313 | char *rf2str(); /* arg: rec_frac; returns cM if print_cm, else itself */ | ^ ./mapm/print.c:295:62: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | { sf(str,"%s%c",raw.locus_name[locus],haplo); pad_to_len(str,9); } | ^ ./mapm/print.c:296:51: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | else { sf(str,"%d%c",locus+1,haplo); pad_to_len(str,5); } | ^ ./mapm/print.c:284:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | char *loc2str(locus) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:314:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 314 | char *loc2str(); /* arg: locus; returns name if print_names, or number */ | ^ ./mapm/print.c:302:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | char *locname(locus,haplo_mark) /* ragged */ | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:317:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 317 | char *locname(); /* int locus; bool print_haplo_mark; RAGGED output */ | ^ ./mapm/print.c:315:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | char *locs2str(locus1,locus2) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:315:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 315 | char *locs2str(); /* args: locus1, locus2; */ | ^ ./mapm/print.c:338:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | char *rag(str) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:316:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 316 | char *rag(); /* args str; wrap around the above to get ragged result */ | ^ ./mapm/print.c:364:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (num_tried>8) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:367:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 367 | sf(line2,empty_loc_str); sf(line1,empty_loc_str); | ^~~~~~~~~~~~~ ./mapm/print.c:21:23: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^~~~~~~~~~~ ./mapm/print.c:367:14: note: treat the string as an argument to avoid this 367 | sf(line2,empty_loc_str); sf(line1,empty_loc_str); | ^ | "%s", ./mapm/print.c:21:23: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:367:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 367 | sf(line2,empty_loc_str); sf(line1,empty_loc_str); | ^~~~~~~~~~~~~ ./mapm/print.c:21:23: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^~~~~~~~~~~ ./mapm/print.c:367:39: note: treat the string as an argument to avoid this 367 | sf(line2,empty_loc_str); sf(line1,empty_loc_str); | ^ | "%s", ./mapm/print.c:21:23: note: expanded from macro 'empty_loc_str' 21 | #define empty_loc_str loc2str(-1) | ^ ./mapm/print.c:371:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | if (list[i]->num_maps==0) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:372:32: warning: passing arguments to 'get_best_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | else { map=get_best_map(list[i]); best[i]=map->log_like; } | ^ ./mapm/print.c:376:29: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | strcat(line1,pad_to_len(ps,width_ea)); | ^ ./mapm/print.c:379:29: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | strcat(line2,pad_to_len(ps,width_ea)); | ^ ./mapm/print.c:382:29: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | strcat(line1,pad_to_len(empty_loc_str,width_ea)); | ^ ./mapm/print.c:383:29: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | strcat(line2,pad_to_len(loc2str(new_marker[i+first][0]),width_ea)); | ^ ./mapm/print.c:386:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (any_paired) { print(line1); nl(); } | ^ ./mapm/print.c:386:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (any_paired) { print(line1); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:387:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | print(line2); nl(); | ^ ./mapm/print.c:387:19: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | print(line2); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:389:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | print(empty_loc_str); print(" "); | ^ ./mapm/print.c:389:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | print(empty_loc_str); print(" "); | ^ ./mapm/print.c:390:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | for (i=0; imap_list[q]->log_like-best[j])); | ^ ./mapm/print.c:400:24: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | print(pad_to_len(ps,width_ea-(j==num_tried-1 ? 1:0))); | ^ ./mapm/print.c:400:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | print(pad_to_len(ps,width_ea-(j==num_tried-1 ? 1:0))); | ^ ./mapm/print.c:403:24: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | print(pad_to_len(ps,width_ea-(j==num_tried-1 ? 1:0))); | ^ ./mapm/print.c:403:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | print(pad_to_len(ps,width_ea-(j==num_tried-1 ? 1:0))); | ^ ./mapm/print.c:405:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | print("|\n"); | ^ ./mapm/print.c:407:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | print(loc2str(base_map->locus[i])); print(" |"); | ^ ./mapm/print.c:407:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | print(loc2str(base_map->locus[i])); print(" |"); | ^ ./mapm/print.c:408:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | for (j=0; jmap_list[q]->log_like-best[j])); | ^ ./mapm/print.c:422:18: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | print(pad_to_len(ps,width_ea-(j==num_tried-1 ? 1:0))); | ^ ./mapm/print.c:422:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | print(pad_to_len(ps,width_ea-(j==num_tried-1 ? 1:0))); | ^ ./mapm/print.c:424:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | print("|\n"); | ^ ./mapm/print.c:426:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | print(empty_loc_str); print(" "); | ^ ./mapm/print.c:426:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | print(empty_loc_str); print(" "); | ^ ./mapm/print.c:427:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | for (i=0; ierror_lod); | ^ ./mapm/print.c:639:54: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | if (!placement[locus[i]]->single_error) star=ptr_to("*"); | ^ ./mapm/print.c:641:31: warning: passing arguments to 'second_best_placement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | if (second_best_placement(locus[i],&val)>=0) like=rsd(6.2,val); | ^ ./mapm/print.c:641:59: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | if (second_best_placement(locus[i],&val)>=0) like=rsd(6.2,val); | ^ ./mapm/print.c:646:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | void print_mapping_summary(locus,n_loci,haplo) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:334: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] 334 | void print_mapping_summary(); /* int *loci, num_loci; bool haplos_too; */ | ^ ./mapm/print.c:710:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | if (interval==best) print("**."); | ^ ./mapm/print.c:711:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | else if (excluded[interval]) print("..."); else print(".*."); | ^ ./mapm/print.c:711:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | else if (excluded[interval]) print("..."); else print(".*."); | ^ ./mapm/print.c:712:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | if (intervalrec_to_dist)(theta)*100.0) | ^ ./mapm/print.c:732:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:726:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | void pr_dist(rf) | ^ ./mapm/print.c:745:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | if (map->sex_specific) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:756:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | if (num_done==0) print(" "); /*3*/ else print(" "); /*5*/ | ^ ./mapm/print.c:756:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | if (num_done==0) print(" "); /*3*/ else print(" "); /*5*/ | ^ ./mapm/print.c:758:21: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | if (i==0) print(" "); | ^ ./mapm/print.c:762:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:765:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | if (num_done>0) print(" :"); /*3+4+:*/ else print(" ");/*5*/ | ^ ./mapm/print.c:765:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | if (num_done>0) print(" :"); /*3+4+:*/ else print(" ");/*5*/ | ^ ./mapm/print.c:768:61: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | else if (i==0 || map->rec_frac[i-1][0]==NO_THETA) print(" :"); | ^ ./mapm/print.c:771:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:777:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | sf(ps,"%4d %-2d",placed[j]->locus+1,num_places); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:778:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | if (num_done>0) print(":."); | ^ ./mapm/print.c:783:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:786:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | if (num_donesex_specific || raw.data_type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:842:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | array(obs,n_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/print.c:842:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:843:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | array(prev_obs,n_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/print.c:843:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:844:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | array(num_recs,n_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/print.c:844:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:845:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | array(last_homo,n_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/print.c:845:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:846:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | array(last_het,n_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/print.c:846:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:847:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | array(homo_was,n_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/print.c:847:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/print.c:854:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | print(" "); | ^ ./mapm/print.c:856:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | { sf(ps,"%d",((indiv+1)/1000)%10); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:857:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:861:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | print(" "); | ^ ./mapm/print.c:863:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | { sf(ps,"%d",((indiv+1)/100)%10); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:864:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:866:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | print(" "); | ^ ./mapm/print.c:868:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | { sf(ps,"%d",((indiv+1)/10)%10); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:869:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | print("\n "); | ^ ./mapm/print.c:871:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | { sf(ps,"%d",(indiv+1)%10); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:872:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | print("\n "); | ^ ./mapm/print.c:873:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | for (indiv=firsti; indiv<=lasti; indiv++) print("-"); | ^ ./mapm/print.c:874:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:881:17: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | f2_genotype(map->locus[i],use_haplos,obs); | ^ ./mapm/print.c:885:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | (units==CENTIMORGANS ? "cM":"rf")); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:890:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | print("|"); | ^ ./mapm/print.c:894:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | { print("O"); num_recs[indiv]+=2; } | ^ ./mapm/print.c:896:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | { print("X"); num_recs[indiv]+=1; } | ^ ./mapm/print.c:897:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | else print(" "); | ^ ./mapm/print.c:899:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:916:16: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | f2_genotype(locus,FALSE,obs); | ^ ./mapm/print.c:921:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | print(" "); | ^ ./mapm/print.c:922:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | for (indiv=firsti; indiv<=lasti; indiv++) print("-"); | ^ ./mapm/print.c:923:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | print("\n #Recs: "); | ^ ./mapm/print.c:925:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | if (num_recs[indiv]>9) print("*"); | ^ ./mapm/print.c:926:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | else { sf(ps,"%d",num_recs[indiv]%10); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/print.c:927:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | nl(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:927:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | nl(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/print.c:826:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | void print_f2_map_genotypes(map,use_haplos,explode_haplos,num_old,old_locus) | ^ In file included from ./mapm/print.c:19: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:327: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] 327 | void print_f2_map_genotypes(); /* prints genotypes w/ X-overs and errors | ^ 362 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/sequence.c -o ./mapm/sequence.o In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/sequence.c:104:29: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | self_delimiting=mkstrcpy(SELF_DELIMITING_TOKENS); | ^ ./mapm/sequence.c:105:11: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | setmsg(BADSEQ,"attempt to parse bad sequence",sender,NULL); | ^ ./mapm/sequence.c:106:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | array(seq_string,MAX_SEQ_LEN+1,char); seq_string[0]='\0'; | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:106:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:114:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | array(seq_temp, MAX_SEQ_LEN+99,char); seq_temp[0]='\0'; | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:114:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:115:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | array(err_temp, MAXLINE,char); err_temp[0]='\0'; | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:115:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:116:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | array(use_locus, n_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:116:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:117:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | array(seq_locus, MAX_SEQ_LOCI,int); /* MAX_SEQ_LOCI > n_loci */ | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:117:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:118:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | array(maybe_seq, MAX_SEQ_LEN+99,char); maybe_seq[0]='\0'; | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:118:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:119:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | array(new_seq, MAX_SEQ_LEN+99,char); new_seq[0]='\0'; /* +99 for chrom */ | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:119:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:120:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | array(the_seq, MAX_SEQ_LEN+99,char); the_seq[0]='\0'; | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:120:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:121:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | parray(seq_nodes,MAX_SEQ_TOKENS,SEQ_NODE); /* overestimate, but checked */ | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/sequence.c:121:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:121:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/sequence.c:121:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:122:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | matrix(seq_tokens,MAX_SEQ_TOKENS,TOKLEN+1,char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/sequence.c:122:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:122:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/sequence.c:122:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:111:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | void allocate_seq_stuff(n_loci) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:156: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] 156 | void allocate_seq_stuff(); /* args: int max_loci; call after loading data */ | ^ ./mapm/sequence.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | void free_seq_stuff(n_loci) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:157: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] 157 | void free_seq_stuff(); /* args: int max_loci; */ | ^ ./mapm/sequence.c:142:59: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void badseq(errmsg) char *errmsg; { BADSEQ_errmsg=errmsg; send(BADSEQ); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | void badseq(errmsg) char *errmsg; { BADSEQ_errmsg=errmsg; send(BADSEQ); } | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:162: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] 162 | void badseq(); /* args: char *error_message; sends BADSEQ */ | ^ ./mapm/sequence.c:146:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | print("error in sequence: "); | ^ ./mapm/sequence.c:149:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | print(BADSEQ_errmsg); nl(); | ^ ./mapm/sequence.c:149:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | print(BADSEQ_errmsg); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sequence.c:154:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (the_seq_history_num==0) { print("sequence not set\n"); return; } | ^ ./mapm/sequence.c:155:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | sf(ps,"sequence #%d= ",the_seq_history_num); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sequence.c:157:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | { sf(ps,"%s: ",chrom2str(current_chrom)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sequence.c:158:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (!nullstr(seq_string)) print(seq_string); else print("none"); | ^ ./mapm/sequence.c:158:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (!nullstr(seq_string)) print(seq_string); else print("none"); | ^ ./mapm/sequence.c:158:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | if (!nullstr(seq_string)) print(seq_string); else print("none"); | ^ ./mapm/sequence.c:159:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sequence.c:182:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | SEQ_NODE *mk_locus(num) | ^ ./mapm/sequence.c:68: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] 68 | SEQ_NODE *mk_locus(); | ^ ./mapm/sequence.c:195:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | SEQ_NODE *mk_locus_range(first,last) | ^ ./mapm/sequence.c:69: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] 69 | SEQ_NODE *mk_locus_range(); | ^ ./mapm/sequence.c:217:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | SEQ_NODE *mk_megalocus(contents) | ^ ./mapm/sequence.c:70: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] 70 | SEQ_NODE *mk_megalocus(); | ^ ./mapm/sequence.c:230:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | SEQ_NODE *mk_invertable_set(contents) | ^ ./mapm/sequence.c:71: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] 71 | SEQ_NODE *mk_invertable_set(); | ^ ./mapm/sequence.c:243:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | SEQ_NODE *mk_unordered_set(contents) | ^ ./mapm/sequence.c:72: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] 72 | SEQ_NODE *mk_unordered_set(); | ^ ./mapm/sequence.c:260:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | parray(node,4,SEQ_NODE); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/sequence.c:260:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:260:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/sequence.c:260:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:289:19: warning: passing arguments to 'swap_for_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | swap_for_dash(str); | ^ ./mapm/sequence.c:291:13: warning: passing arguments to 'seqcomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | seqcomp(©,&result,NO_TERM_CHAR); /* BADSEQ sent if err */ | ^ ./mapm/sequence.c:292:41: warning: passing arguments to 'add_back_pointers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | if (result!=NULL) add_back_pointers(result,NULL); | ^ ./mapm/sequence.c:293:21: warning: passing arguments to 'unswap_for_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | unswap_for_dash(str); | ^ ./mapm/sequence.c:295:4: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | } except_when(BADSEQ) { | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sequence.c:297:21: warning: passing arguments to 'unswap_for_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | unswap_for_dash(str); | ^ ./mapm/sequence.c:300:6: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | relay; | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/sequence.c:280:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | void compile_sequence(str) | ^ ./mapm/sequence.c:58:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | void compile_sequence(); /* args: char *str; sends BADSEQ on error */ | ^ ./mapm/sequence.c:313:10: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | if (!nstoken(p_str,sREQUIRED,token,TOKLEN)) | ^ ./mapm/../lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./mapm/sequence.c:308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | void next_token(p_str) /* side-effects global variable token - internal use */ | ^ ./mapm/sequence.c:62:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | void next_token(); | ^ ./mapm/sequence.c:330:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | if (nullstr(*p_str)) { | ^ ./mapm/sequence.c:341:23: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (len(token)==1 && strin(OUT_OF_SYNTAX_CHARS,token[0])) { | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/sequence.c:342:10: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | if (strin(RIGHT_ANYTHING,token[0])) { | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/sequence.c:357:26: warning: passing arguments to 'parse_fixed_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | parse_fixed_distance(p_str,(term_char!=NO_TERM_CHAR),*p); | ^ ./mapm/sequence.c:363:26: warning: passing arguments to 'parse_fixed_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | parse_fixed_distance(p_str,(term_char!=NO_TERM_CHAR),*p); | ^ ./mapm/sequence.c:369:26: warning: passing arguments to 'parse_fixed_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | parse_fixed_distance(p_str,(term_char!=NO_TERM_CHAR),*p); | ^ ./mapm/sequence.c:372:23: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | } else if (is_a_locus(token,&n,¬_a_locus_errmsg)) { | ^ ./mapm/sequence.c:373:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | if (parse_char(p_str,SURROGATE_DASH,SKIPWHITE,&c)) { /* "a - b" */ | ^ ./mapm/sequence.c:374:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | if (nullstr(*p_str)) | ^ ./mapm/sequence.c:377:18: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | if (!is_a_locus(token,&m,¬_a_locus_errmsg)) | ^ ./mapm/sequence.c:381:26: warning: passing arguments to 'parse_fixed_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | parse_fixed_distance(p_str,(term_char!=NO_TERM_CHAR),*p); | ^ ./mapm/sequence.c:389:21: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | } while(!nullstr(*p_str)); | ^ ./mapm/sequence.c:318:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | void seqcomp(p_str,first_node,term_char) | ^ ./mapm/sequence.c:63:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | void seqcomp(); | ^ ./mapm/sequence.c:403:19: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | if (parse_char(str,"=*?",SKIPWHITE,&c)) { /* "=?*" */ | ^ ./mapm/sequence.c:408:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (!rtoken(str,rREQUIRED,&p->fixed_distance) || | ^ ./mapm/sequence.c:409:14: warning: passing arguments to 'input_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | !input_dist(&p->fixed_distance)) | ^ ./mapm/sequence.c:412:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | if (nullstr(*str)) badseq("can't end sequence with a distance"); | ^ ./mapm/sequence.c:395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | void parse_fixed_distance(str,inside,p) | ^ ./mapm/sequence.c:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void parse_fixed_distance(); | ^ ./mapm/sequence.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | void add_back_pointers(this,prev) | ^ ./mapm/sequence.c:64:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | void add_back_pointers(); | ^ ./mapm/sequence.c:465:18: 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] 465 | if (p==NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:469:22: warning: passing arguments to 'do_get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | val= do_get_order(p,locus,theta,num_loci,max_loci,FORWARDS); | ^ ./mapm/sequence.c:470:51: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | for (i=0; i<*num_loci; i++) force_haplo_sanity(&locus[i],FALSE); | ^ ./mapm/sequence.c:455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | bool get_order(p,locus,theta,num_loci,max_loci) /* TRUE or sends msg */ | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:237: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] 237 | bool get_order(); /* internal only! */ | ^ ./mapm/sequence.c:481:14: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | reset_seq(p,TRUE); | ^ ./mapm/sequence.c:482:14: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | clean_map(map); /* resets map->num_loci, among other things */ | ^ ./mapm/sequence.c:475:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | void get_one_order(p,map) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:214: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] 214 | void get_one_order(); /* args: SEQ_NODE *seq; MAP *map; */ | ^ ./mapm/sequence.c:498:14: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | reset_seq(p,TRUE); | ^ ./mapm/sequence.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | void get_list_of_all_loci(p,loci,num_loci,max_loci) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:206: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] 206 | void get_list_of_all_loci(); | ^ ./mapm/sequence.c:510:21: warning: passing arguments to 'count_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | total=count_loci(p); | ^ ./mapm/sequence.c:512:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | array(retoin,total,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:512:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:515:14: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | reset_seq(p,TRUE); | ^ ./mapm/sequence.c:503:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | bool alloc_list_of_all_loci(p,loci,num_loci) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:199: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] 199 | bool alloc_list_of_all_loci(); /* args: SEQ_NODE *seq; int **locus,*num_loci;*/ | ^ ./mapm/sequence.c:541: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] 541 | if (*i>=max_loci) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:546:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | >= max_loci) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:565:25: warning: passing arguments to 'make_reordered_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | make_reordered_list(p->node.unordered_set.contents, | ^ ./mapm/sequence.c:570:13: 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] 570 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:593: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] 593 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | bool do_get_order(p,locus,theta,i,max_loci,direction) /* TRUE or sends msg */ | ^ ./mapm/sequence.c:85:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | bool do_get_order(); /* internal only! */ | ^ ./mapm/sequence.c:600:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | void make_reordered_list(p,list) /* intenal use only */ | ^ ./mapm/sequence.c:65: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] 65 | void make_reordered_list(); | ^ ./mapm/sequence.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void reset_seq(p,reset_insert_pos) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:235: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] 235 | void reset_seq(); /* internal only! */ | ^ ./mapm/sequence.c:655:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | if (p==NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.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 | bool perm_seq(p,order_matters,in_unordered_set) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:236: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] 236 | bool perm_seq(); /* internal only! */ | ^ ./mapm/sequence.c:731:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:733:3: 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] 733 | send(CRASH); return(0); /* never reached */ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:715:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | int count_loci(p) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:166: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] 166 | int count_loci(); /* args: SEQ_NODE *seq; count loci in seq */ | ^ ./mapm/sequence.c:754:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:756:3: 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] 756 | send(CRASH); return(0); /* never reached */ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:737:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | bool has_fixed_dists(p) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:167: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] 167 | bool has_fixed_dists(); /* args: SEQ_NODE *seq; if any fixed_dists in seq */ | ^ ./mapm/sequence.c:760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | bool unpermutable(p) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:168: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] 168 | bool unpermutable(); /* args: SEQ_NODE *seq; TRUE if seq is unpermutable */ | ^ ./mapm/sequence.c:775:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | if (num_loci<3) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:768:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | SEQ_NODE *Tinit(ok,i_cnt,j_cnt,k_cnt,locus,num_loci) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:259: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] 259 | SEQ_NODE *Tinit(); /* internal use only! */ | ^ ./mapm/sequence.c:788:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | bool Tnext(i_cnt,j_cnt,k_cnt,locus,num_loci,p) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:260: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] 260 | bool Tnext(); /* internal use only! */ | ^ ./mapm/sequence.c:820:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | if (nullstr(str)) { | ^ ./mapm/sequence.c:827:22: warning: passing arguments to 'parse_seq_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | if (!parse_seq_chrom(str,¤t_chrom,&rest)) | ^ ./mapm/sequence.c:829:17: warning: passing arguments to 'expand_seq_hist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | expand_seq_hist(str); | ^ ./mapm/sequence.c:831:18: warning: passing arguments to 'expand_seq_names' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | expand_seq_names(maybe_seq); /* needs current_chrom set right */ | ^ ./mapm/sequence.c:839:9: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | despace(seq_string); | ^ ./mapm/sequence.c:843:12: warning: passing arguments to 'strins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | strins(maybe_seq,chrom_name); | ^ ./mapm/sequence.c:845:20: warning: passing arguments to 'add_to_seq_history' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | add_to_seq_history(maybe_seq,TRUE); | ^ ./mapm/sequence.c:849:49: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | } when_aborting { current_chrom=save_chrom; relay; } | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/sequence.c:811:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | void set_current_seq(str,expanded) /* use nullstr to unset current sequence */ | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:191: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] 191 | void set_current_seq(); /* args: char *str; bool expanded; str=NULL unsets */ | ^ ./mapm/sequence.c:859:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | if (nullstr(seq_string)) { seq=NULL; return; } | ^ ./mapm/sequence.c:861:20: warning: passing arguments to 'parse_seq_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | parse_seq_chrom(maybe_seq,&foo,&rest); /* current_chrom shouldn't change */ | ^ ./mapm/sequence.c:862:21: warning: passing arguments to 'expand_seq_names' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | expand_seq_names(rest); /* needs current_chrom set right */ | ^ ./mapm/sequence.c:869:8: warning: passing arguments to 'strins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | strins(rest,chrom_name); | ^ ./mapm/sequence.c:871:23: warning: passing arguments to 'add_to_seq_history' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | add_to_seq_history(rest,FALSE); | ^ ./mapm/sequence.c:853:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | void check_current_seq(num_loci) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:194: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] 194 | void check_current_seq(); /* for use by mapm_ready */ | ^ ./mapm/sequence.c:885:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | if (nullstr(args)) { num_loci=0; return; } | ^ ./mapm/sequence.c:886:12: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | nstrcpy(maybe_seq,args,MAX_SEQ_LEN); | ^ ./mapm/sequence.c:890:17: warning: passing arguments to 'parse_seq_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | parse_seq_chrom(maybe_seq,¤t_chrom,&rest); | ^ ./mapm/sequence.c:891:17: warning: passing arguments to 'expand_seq_hist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | expand_seq_hist(rest); | ^ ./mapm/sequence.c:892:18: warning: passing arguments to 'expand_seq_names' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | expand_seq_names(rest); /* needs current_chrom set right */ | ^ ./mapm/sequence.c:893:15: warning: passing arguments to 'swap_for_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | swap_for_dash(rest); | ^ ./mapm/sequence.c:895:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | if (nullstr(rest)) { *num_loci=0; return; } | ^ ./mapm/sequence.c:896:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | } except_when(BADSEQ) { | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sequence.c:899:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | error(ps); | ^ ./mapm/sequence.c:903:18: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | while (stoken(©,sREQUIRED,name)) { | ^ ./mapm/sequence.c:905:6: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | if (strin(self_delimiting,name[0]) && !streq(name,SURROGATE_DASH)) | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/sequence.c:906:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | error(NO_ORDERED_ARGS); | ^ ./mapm/sequence.c:908:25: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | if (n==0 || !stoken(©,sREQUIRED,name) || was_range) | ^ ./mapm/sequence.c:909:14: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | error ("illegal range:\ncorrect usage is locus1-locus2"); | ^ ./mapm/sequence.c:910:21: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | if (!is_a_locus(name,&next,&errmsg) || !nullstr(errmsg)) | ^ ./mapm/sequence.c:910:53: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | if (!is_a_locus(name,&next,&errmsg) || !nullstr(errmsg)) | ^ ./mapm/sequence.c:911:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | error(errmsg); | ^ ./mapm/sequence.c:913:24: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | } else if (!is_a_locus(name,&locus,&errmsg) || !nullstr(errmsg)) | ^ ./mapm/sequence.c:913:57: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | } else if (!is_a_locus(name,&locus,&errmsg) || !nullstr(errmsg)) | ^ ./mapm/sequence.c:914:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | error(errmsg); | ^ ./mapm/sequence.c:920:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | array(result,n,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/sequence.c:920:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:922:18: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | while (stoken(©,sREQUIRED,name)) | ^ ./mapm/sequence.c:924:10: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | stoken(©,sREQUIRED,name); is_a_locus(name,&next,&errmsg); | ^ ./mapm/sequence.c:924:44: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | stoken(©,sREQUIRED,name); is_a_locus(name,&next,&errmsg); | ^ ./mapm/sequence.c:928:14: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | is_a_locus(name,&locus,&errmsg); | ^ ./mapm/sequence.c:931: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] 931 | if (n!=*num_loci) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | void parse_locus_args(loci,num_loci) /* send error if fail */ | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:195: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] 195 | void parse_locus_args(); /* args: int **loci, *num_loci; may send error */ | ^ ./mapm/sequence.c:948:21: warning: passing arguments to 'split_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | if (split_string(str,rest,':')) { | ^ ./mapm/sequence.c:949:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | if (nullstr(str)) { | ^ ./mapm/sequence.c:951:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (nullstr(*rest)) strcpy(*rest,seq_string); | ^ ./mapm/sequence.c:952:20: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | } else if (!stoken(©,sREQUIRED,name)) { | ^ ./mapm/sequence.c:956:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | if (nullstr(*rest)) strcpy(*rest,seq_string); | ^ ./mapm/sequence.c:957:22: warning: passing arguments to 'isa_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | } else if (isa_chrom(name,chrom)) { | ^ ./mapm/sequence.c:958:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | if (nullstr(*rest)) strcpy(*rest,seq_string); | ^ ./mapm/sequence.c:962:6: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | if (strin(*rest,':')) badseq("':' is only used to select chromosome"); | ^ ./mapm/../lib/strlib.h:64:34: note: expanded from macro 'strin' 64 | #define strin(str,chr) (strfinder(str,chr)!=NOT_FOUND) | ^ ./mapm/sequence.c:964:22: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | } else if (stoken(©,sREQUIRED,name)) { /* can't fail, can it? */ | ^ ./mapm/sequence.c:968:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | if (!nullstr(copy)) badseq(SHORTHAND); | ^ ./mapm/sequence.c:972:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | if (!nullstr(copy)) badseq(SHORTHAND); | ^ ./mapm/sequence.c:975:22: warning: passing arguments to 'isa_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | } else if (isa_chrom(name,chrom)) { | ^ ./mapm/sequence.c:976:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | if (!nullstr(copy)) badseq(SHORTHAND); | ^ ./mapm/sequence.c:940:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | bool parse_seq_chrom(str,chrom,rest) /* sets current_chrom */ | ^ ./mapm/sequence.c:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | bool parse_seq_chrom(); | ^ ./mapm/sequence.c:990:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | void make_compare_seq(locus,num_loci,start_set,set_size) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:196: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] 196 | void make_compare_seq(); /* int *locus, num_loci, start_set, set_size; */ | ^ ./mapm/sequence.c:1035:19: warning: passing arguments to 'matching' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | if ((j=matching(RIGHT_PAREN_char,str+i+1))<0) | ^ ./mapm/sequence.c:1038:14: warning: passing arguments to 'strdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | strdel(str+i,j+2); | ^ ./mapm/sequence.c:1039:15: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | despace(str); | ^ ./mapm/sequence.c:1013:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | int delete_comments(match_chr,str) | ^ ./mapm/sequence.c:59:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | int delete_comments(); | ^ ./mapm/sequence.c:1047:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | int matching(match_chr,str) /* internal use only */ | ^ ./mapm/sequence.c:66: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] 66 | int matching(); | ^ ./mapm/sequence.c:1072:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | void swap_for_dash(str) /* internal use only */ | ^ ./mapm/sequence.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void swap_for_dash(); | ^ ./mapm/sequence.c:1078:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | void unswap_for_dash(str) /* internal use only */ | ^ ./mapm/sequence.c:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | void unswap_for_dash(); | ^ ./mapm/sequence.c:1102:20: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1102 | while (!nullstr(str)) { | ^ ./mapm/sequence.c:1105:19: warning: passing arguments to 'is_a_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | if (is_a_sequence(token,&expansion,&errmsg)) { | ^ ./mapm/sequence.c:1106:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | if (!nullstr(errmsg)) badseq(errmsg); | ^ ./mapm/sequence.c:1113:12: warning: passing arguments to 'strdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | strdel(token_start,len(token)); /* delete the token */ | ^ ./mapm/sequence.c:1115:12: warning: passing arguments to 'strins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | strins(token_start,rest); /* replace it with its expansion */ | ^ ./mapm/sequence.c:1093:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | void expand_seq_names(str) /* names, and any hist refs they contain BUT... */ | ^ ./mapm/sequence.c:61:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | void expand_seq_names(); | ^ ./mapm/sequence.c:1132:20: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | while (!nullstr(str)) { | ^ ./mapm/sequence.c:1135:24: warning: passing arguments to 'is_an_old_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | if (is_an_old_sequence(token,&value,&errmsg)) { | ^ ./mapm/sequence.c:1136:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | if (!nullstr(errmsg)) badseq(errmsg); | ^ ./mapm/sequence.c:1143:12: warning: passing arguments to 'strdel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | strdel(token_start,len(token)); /* delete the token */ | ^ ./mapm/sequence.c:1145:12: warning: passing arguments to 'strins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | strins(token_start,rest); | ^ ./mapm/sequence.c:1123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | void expand_seq_hist(str) | ^ ./mapm/sequence.c:60:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | void expand_seq_hist(); | ^ ./mapm/sequence.c:1163:18: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | while (stoken(&seq,sREQUIRED,token[++*num_tokens])>0) { | ^ ./mapm/sequence.c:1165:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | error("sequence too long (too many words)"); | ^ ./mapm/sequence.c:1153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | void tokenize_seq(seq,token,num_tokens) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:302: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] 302 | void tokenize_seq(); /* args: char *seq, **token; int *num_tokens; */ | ^ ./mapm/sequence.c:1180:35: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | if (n+length+1>MAX_SEQ_LEN) error("sequence too long"); | ^ ./mapm/sequence.c:1181:8: warning: passing arguments to 'strins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | strins(s,token[i]); n+=length; while (*s!='\0') s++; | ^ ./mapm/sequence.c:1184:12: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | despace(seq); | ^ ./mapm/sequence.c:1170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | void untokenize_seq(seq,token,num_tokens) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:305: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] 305 | void untokenize_seq(); /* args: char *str, **token; int *num_tokens; */ | ^ ./mapm/sequence.c:1216:38: warning: passing arguments to 'is_a_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | if (!data_loaded() || !is_a_token(str)) send(CRASH); | ^ ./mapm/sequence.c:1216:45: 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] 1216 | if (!data_loaded() || !is_a_token(str)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:1217:20: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | *why_not=ptr_to(""); | ^ ./mapm/sequence.c:1219:15: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | if (itoken(&str,iREQUIRED,&num)) { | ^ ./mapm/sequence.c:1221:13: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | if (!irange(n,0,raw.num_markers-1)) { | ^ ./mapm/sequence.c:1223:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | *why_not=ptr_to(err_temp); | ^ ./mapm/sequence.c:1227:27: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | } else if (!valid_name(str)) { | ^ ./mapm/sequence.c:1229:17: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | *why_not=ptr_to(err_temp); | ^ ./mapm/sequence.c:1234:17: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | *why_not=ptr_to(err_temp); | ^ ./mapm/sequence.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 | bool is_a_locus(str,n,why_not) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:266: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] 266 | bool is_a_locus(); /* args: char *token; int *num; char **errmsg; */ | ^ ./mapm/sequence.c:1249:38: warning: passing arguments to 'is_a_token' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | if (!data_loaded() || !is_a_token(str)) send(CRASH); | ^ ./mapm/sequence.c:1249:45: 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] 1249 | if (!data_loaded() || !is_a_token(str)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:1250:20: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | *why_not=ptr_to(""); | ^ ./mapm/sequence.c:1251:32: warning: passing arguments to 'lowercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | strcpy(name,str); lowercase(name); | ^ ./mapm/sequence.c:1253:27: warning: passing arguments to 'is_an_old_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | if (is_an_old_sequence(str,seq,why_not)) { | ^ ./mapm/sequence.c:1256:27: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | } else if (!valid_name(str)) { | ^ ./mapm/sequence.c:1257:18: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | *why_not= ptr_to("illegal name"); | ^ ./mapm/sequence.c:1260:37: warning: passing arguments to 'is_a_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | } else if (is_a_special_sequence(name,seq,why_not)) { | ^ ./mapm/sequence.c:1263:36: warning: passing arguments to 'is_a_named_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | } else if (!is_a_named_sequence(str,seq)) { | ^ ./mapm/sequence.c:1264:17: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | *why_not=ptr_to("name is not defined"); | ^ ./mapm/sequence.c:1241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | bool is_a_sequence(str,seq,why_not) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:275: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] 275 | bool is_a_sequence(); /* args: char *token, **str; char **errmsg; */ | ^ ./mapm/sequence.c:1281:12: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | despace(str); | ^ ./mapm/sequence.c:1298:40: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | } on_exit { current_chrom=save_chrom; relay_messages; } | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/sequence.c:1301:20: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | if (!valid_name(name) || len(name)>NAME_LEN) { | ^ ./mapm/sequence.c:1302:18: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | *why_not= ptr_to("illegal name"); | ^ ./mapm/sequence.c:1304:61: warning: passing arguments to 'is_a_named_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | } else if (!valid_new_name(name) && !is_a_named_sequence(name,&foo)) { | ^ ./mapm/sequence.c:1305:18: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | *why_not= ptr_to("can not re-define special named sequences"); | ^ ./mapm/sequence.c:1308:20: warning: passing arguments to 'put_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1308 | put_named_entry(name,maybe_seq,context[active_context]->named_sequences); | ^ ./mapm/sequence.c:1271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | bool name_sequence(name,str,why_not,expanded) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:291: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] 291 | bool name_sequence(); /* args: char *name, *seq, **errmsg; */ | ^ ./mapm/sequence.c:1320:20: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | if (!valid_name(name)) { | ^ ./mapm/sequence.c:1321:18: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | *why_not= ptr_to("illegal name"); | ^ ./mapm/sequence.c:1325:28: warning: passing arguments to 'is_a_named_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | if (is_a_named_sequence(name,&seq)) { | ^ ./mapm/sequence.c:1326:18: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | *why_not= ptr_to("name is not defined"); | ^ ./mapm/sequence.c:1329:28: warning: passing arguments to 'delete_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | if (!delete_named_entry(name, | ^ ./mapm/sequence.c:1332:22: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | *why_not= ptr_to("name is not defined"); | ^ ./mapm/sequence.c:1334:22: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | *why_not= ptr_to("name is ambiguous"); | ^ ./mapm/sequence.c:1313:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | bool unname_sequence(name,why_not) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:292: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] 292 | bool unname_sequence(); /* args: char *name, **errmsg; */ | ^ ./mapm/sequence.c:1351:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | if (!nullstr(seq)) put_numbered_entry(seq,the_sequence_history,&num); | ^ ./mapm/sequence.c:1351:39: warning: passing arguments to 'put_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | if (!nullstr(seq)) put_numbered_entry(seq,the_sequence_history,&num); | ^ ./mapm/sequence.c:1352:27: warning: passing arguments to 'put_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | else put_numbered_entry("none",the_sequence_history,&num); | ^ ./mapm/sequence.c:1358:25: warning: passing arguments to 'get_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | if (!get_numbered_entry(num,&the_sequence,the_sequence_history)) | ^ ./mapm/sequence.c:1359:4: 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] 1359 | send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sequence.c:1360:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | if (!nullstr(seq)) strcpy(the_sequence,seq); | ^ ./mapm/sequence.c:1341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | void add_to_seq_history(seq,is_next_entry) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:296: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] 296 | void add_to_seq_history(); /* args: char *seq; */ | ^ ./mapm/sequence.c:1371:28: warning: passing arguments to 'is_a_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | !is_a_special_sequence(str,&x,&y) && | ^ ./mapm/sequence.c:1372:16: warning: passing arguments to 'isa_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | !isa_chrom(str,&foo) && | ^ ./mapm/sequence.c:1373:16: warning: passing arguments to 'isa_class' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | !isa_class(str,&foo)); | ^ ./mapm/sequence.c:1366:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | bool valid_new_name(str) /* now does not check valid_name() */ | ^ ./mapm/sequence.c:1386:17: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | if (xstreq(str,raw.locus_name[i])) { *n=i; return(TRUE); } | ^ ./mapm/sequence.c:1379:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | bool is_a_named_locus(str,n) /* internal use only */ | ^ ./mapm/sequence.c:1396:28: warning: passing arguments to 'get_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | return (get_named_entry(str,&foo,seq,the_context->named_sequences,&fail)); | ^ ./mapm/sequence.c:1391:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | bool is_a_named_sequence(str,seq) /* internal use only */ | ^ ./mapm/sequence.c:81:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | bool is_a_named_sequence(); | ^ ./mapm/sequence.c:1408:20: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | *why_not=ptr_to(""); | ^ ./mapm/sequence.c:1411:22: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | *why_not= ptr_to("no sequences - can't use '#'"); | ^ ./mapm/sequence.c:1415:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | if (!itoken(&rest,iREQUIRED,&n)) { | ^ ./mapm/sequence.c:1416:22: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | *why_not= ptr_to("invalid sequence number following '#'"); | ^ ./mapm/sequence.c:1421:25: warning: passing arguments to 'get_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | if (!get_numbered_entry(n,seq,the_sequence_history)) { | ^ ./mapm/sequence.c:1422:22: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | *why_not= ptr_to("sequence number following '#' is out of range"); | ^ ./mapm/sequence.c:1400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | bool is_an_old_sequence(str,seq,why_not) /* internal use only */ | ^ ./mapm/sequence.c:82:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | bool is_an_old_sequence(); | ^ ./mapm/sequence.c:1441:27: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | *seq= *why_not= ptr_to(""); | ^ ./mapm/sequence.c:1445:35: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | if (one_chrom && !assigned_to(i,chrom)) continue; | ^ ./mapm/sequence.c:1453:19: warning: passing arguments to 'assigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | if (!assigned(i)) continue; | ^ ./mapm/sequence.c:1454:39: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | if (one_chrom && assignment_chrom(i)!=chrom) continue; | ^ ./mapm/sequence.c:1461:23: warning: passing arguments to 'anchor_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | if (!anchor_locus(i)) continue; | ^ ./mapm/sequence.c:1462:39: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | if (one_chrom && assignment_chrom(i)!=chrom) continue; | ^ ./mapm/sequence.c:1469:19: warning: passing arguments to 'assigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | if (!assigned(i) || assignment_state(i)!=A_CHANGED) continue; | ^ ./mapm/sequence.c:1469:42: warning: passing arguments to 'assignment_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | if (!assigned(i) || assignment_state(i)!=A_CHANGED) continue; | ^ ./mapm/sequence.c:1470:39: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | if (one_chrom && assignment_chrom(i)!=chrom) continue; | ^ ./mapm/sequence.c:1475:25: warning: passing arguments to 'isa_class' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | } else if (isa_class(str,&num)) { | ^ ./mapm/sequence.c:1477:35: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | if (one_chrom && !assigned_to(i,chrom)) continue; | ^ ./mapm/sequence.c:1506:18: warning: passing arguments to 'assigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | if (assigned(i)) continue; | ^ ./mapm/sequence.c:1513:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | *why_not=ptr_to("no grouped markers in the data set"); | ^ ./mapm/sequence.c:1516:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | *why_not=ptr_to("that group is not defined"); /* fix this */ | ^ ./mapm/sequence.c:1527:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | *why_not=ptr_to("no grouped markers in the data set"); | ^ ./mapm/sequence.c:1539:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | *why_not=ptr_to("no ordered markers in the data set"); | ^ ./mapm/sequence.c:1541:50: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | } else if (sscanf(str+5,"%d",&num)!=1 || !irange(&num,1,num_orders)) { | ^ ./mapm/sequence.c:1542:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | *why_not=ptr_to("that order is not defined"); /* fix this */ | ^ ./mapm/sequence.c:1552:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | *why_not=ptr_to("no ordered markers in the data set"); | ^ ./mapm/sequence.c:1554:50: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1554 | } else if (sscanf(str+5,"%d",&num)!=1 || !irange(&num,1,num_orders)) { | ^ ./mapm/sequence.c:1555:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | *why_not=ptr_to("that order is not defined"); /* fix this */ | ^ ./mapm/sequence.c:1430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | bool is_a_special_sequence(str,seq,why_not) /* internal use only? */ | ^ ./mapm/sequence.c:83:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | bool is_a_special_sequence(); | ^ ./mapm/sequence.c:1623:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sequence.c:1625:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | print_special_sequence("changed",FALSE); | ^ ./mapm/sequence.c:1626:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | print_special_sequence("new",TRUE); | ^ ./mapm/sequence.c:1627:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | print_special_sequence("anchors",TRUE); | ^ ./mapm/sequence.c:1628:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | print_special_sequence("assigned",TRUE); | ^ ./mapm/sequence.c:1629:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | print_special_sequence("framework",TRUE); | ^ ./mapm/sequence.c:1630:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | print_special_sequence("unassign",TRUE); | ^ ./mapm/sequence.c:1633:55: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | { sf(name,"group%d",i+1); print_special_sequence(name,FALSE); } | ^ ./mapm/sequence.c:1634:27: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | print_special_sequence("unlinked",FALSE); | ^ ./mapm/sequence.c:1637:48: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | sf(name,"order%d",i+1); print_special_sequence(name,TRUE); | ^ ./mapm/sequence.c:1638:48: warning: passing arguments to 'print_special_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | sf(name,"other%d",i+1); print_special_sequence(name,FALSE); | ^ ./mapm/sequence.c:1641:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | print(" others: all, none, , etc.\n"); | ^ ./mapm/sequence.c:1652:19: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | if (!any) { print("User Defined Names:\n"); any=TRUE; } | ^ ./mapm/sequence.c:1653:40: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | sf(ps," %s= ",Te->id.name); pad_to_len(ps,12); pr(); | ^ ./mapm/sequence.c:1653:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | sf(ps," %s= ",Te->id.name); pad_to_len(ps,12); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sequence.c:1655:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | if (nullstr(seq)) strcpy(line,"none"); else strcpy(line,seq); | ^ ./mapm/sequence.c:1656:30: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | if (len(line)>64) { truncstr(line,64); strcat(line,"..."); } | ^ ./mapm/sequence.c:1657:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | print(line); nl(); | ^ ./mapm/sequence.c:1657:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | print(line); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sequence.c:1659:47: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | for (i=0; i64) { truncstr(line,64); strcat(line,"..."); } | ^ ./mapm/sequence.c:1685:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | print(line); nl(); | ^ ./mapm/sequence.c:1685:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | print(line); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sequence.c:1672:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | void print_special_sequence(name,print_if_none) | ^ ./mapm/sequence.c:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | void print_special_sequence(); | ^ ./mapm/sequence.c:1700:20: warning: passing arguments to 'get_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | get_numbered_entry(i,&str,context[active_context]->sequence_history); | ^ ./mapm/sequence.c:1701:32: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | sf(ps,"#%d= ",i+1); pad_to_len(ps,6); pr(); | ^ ./mapm/sequence.c:1701:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | sf(ps,"#%d= ",i+1); pad_to_len(ps,6); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sequence.c:1703:29: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1703 | if (len(str)>70) { truncstr(line,70); strcat(line,"..."); } | ^ ./mapm/sequence.c:1704:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | print(line); nl(); any=TRUE; | ^ ./mapm/sequence.c:1704:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | print(line); nl(); any=TRUE; | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sequence.c:1706:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | if (!any) print("none\n"); | ^ ./mapm/sequence.c:1690:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | void print_history_seqs(num_to_do) | ^ In file included from ./mapm/sequence.c:18: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:289: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] 289 | void print_history_seqs(); /* args: int max_num_to_print; */ | ^ 367 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/main.c -o ./mapm/main.o In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/main.c:31:22: warning: passing arguments to 'get_cmd_line_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | get_cmd_line_args(&argc,argv); /* side-effects file_arg vars */ | ^ ./mapm/main.c:33:5: warning: passing arguments to 'do_seedrand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | seedrand(RANDOM); | ^ ./mapm/../lib/mathlib.h:103:32: note: expanded from macro 'seedrand' 103 | #define seedrand(x) do_seedrand((long)(x)) | ^ ./mapm/main.c:36:15: warning: passing arguments to 'shell_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | shell_init("MAPMAKER/EXP","3.0b","1987-1992",help_filename); | ^ ./mapm/main.c:56:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (!nullstr(file_arg[PHOTO_FILE_ARG])) run { | ^ ./mapm/main.c:57:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:58:35: warning: passing arguments to 'photo_to_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if ((append_it && !photo_to_file(file_arg[PHOTO_FILE_ARG],APPEND)) || | ^ ./mapm/main.c:59:35: warning: passing arguments to 'photo_to_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | (!append_it && !photo_to_file(file_arg[PHOTO_FILE_ARG],WRITE))) | ^ ./mapm/main.c:60:4: 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] 60 | send(CANTOPEN); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/main.c:61:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | sf(ps,"photo is on: file is '%s'\n",photo_file); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:62:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | } on_error { print("error opening photo file\n"); } | ^ ./mapm/main.c:62:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 62 | } on_error { print("error opening photo file\n"); } | ^ ./mapm/../lib/msglib.h:168:41: note: expanded from macro 'on_error' 168 | #define on_error while(--lvl>10000); } else | ^ ./mapm/main.c:64:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | if (!nullstr(file_arg[LOAD_FILE_ARG])) run { | ^ ./mapm/main.c:65:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:66:14: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | fp=open_file(file_arg[LOAD_FILE_ARG],READ); | ^ ./mapm/main.c:67:13: warning: passing arguments to 'try_to_load' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | try_to_load(fp,file_arg[LOAD_FILE_ARG],FALSE,prep_it); /*verbose*/ | ^ ./mapm/main.c:68:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | } on_error { print("error opening load or prep file\n"); } | ^ ./mapm/main.c:68:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 68 | } on_error { print("error opening load or prep file\n"); } | ^ ./mapm/../lib/msglib.h:168:41: note: expanded from macro 'on_error' 168 | #define on_error while(--lvl>10000); } else | ^ ./mapm/main.c:70:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | if (!nullstr(file_arg[RUN_FILE_ARG])) run { | ^ ./mapm/main.c:71:16: warning: passing arguments to 'redirect_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | redirect_input(file_arg[RUN_FILE_ARG],TRUE); /*verbose*/ | ^ ./mapm/main.c:72:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | } on_error { print("error opening run file\n"); } | ^ ./mapm/main.c:72:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 72 | } on_error { print("error opening run file\n"); } | ^ ./mapm/../lib/msglib.h:168:41: note: expanded from macro 'on_error' 168 | #define on_error while(--lvl>10000); } else | ^ ./mapm/main.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | main(argc,argv) | ^ ./mapm/main.c:84:49: warning: passing arguments to 'do_save_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (auto_save && data_loaded()) do_save_data(raw.filename,FALSE); | ^ ./mapm/main.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | bool mapm_save_on_exit(do_it_now) | ^ In file included from ./mapm/main.c:16: ./mapm/mapm.h:396: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] 396 | bool mapm_save_on_exit(); /* now in main.c */ | ^ ./mapm/main.c:127:46: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | { sf(ps,IS_DATA_ERR,IS_DATA_ERR1,com); error(ps); } | ^ ./mapm/main.c:128:55: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (data_type!=MAYBE_DATA && !data_loaded()) error(NO_DATA_ERR); | ^ ./mapm/main.c:134:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | error(ps); | ^ ./mapm/main.c:138:26: warning: passing arguments to 'check_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | run check_current_seq(&loci); | ^ ./mapm/main.c:139:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | except_when(BADSEQ) { | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/main.c:148:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | if (seq_loci!=NULL) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/main.c:154:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (!nullstr(seq_string) && !xstreq(seq_string,"none")) | ^ ./mapm/main.c:154:41: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (!nullstr(seq_string) && !xstreq(seq_string,"none")) | ^ ./mapm/main.c:155:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | error(SEQ_EXP_EMPTY); | ^ ./mapm/main.c:156:16: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | else error(NO_SEQ_ERR); | ^ ./mapm/main.c:160:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | error(ps); | ^ ./mapm/main.c:165:40: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (seq!=NULL) get_list_of_all_loci(seq,seq_locus,&loci,MAX_SEQ_LOCI); | ^ ./mapm/main.c:169:11: warning: passing arguments to 'unpermutable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (!permutable(seq)) | ^ ./mapm/toplevel.h:169:38: note: expanded from macro 'permutable' 169 | #define permutable(seq) !unpermutable(seq) | ^ ./mapm/main.c:170:49: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | { sf(ps,SEQ_PERM_ERR,com,SEQ_HELP); error(ps); } | ^ ./mapm/main.c:171:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | crunch_locus_list(seq_locus,&loci,ORDER_ERRORS,TRUE,TRUE); | ^ ./mapm/main.c:177:21: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | crunch_locus_list(seq_locus,&loci,ORDER_ERRORS,TRUE,TRUE); | ^ ./mapm/main.c:181:10: warning: passing arguments to 'unpermutable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | if (permutable(seq)) | ^ ./mapm/toplevel.h:169:38: note: expanded from macro 'permutable' 169 | #define permutable(seq) !unpermutable(seq) | ^ ./mapm/main.c:182:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:182:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:182:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:183:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | crunch_locus_list(seq_locus,&loci,ORDER_ERRORS,TRUE,TRUE); | ^ ./mapm/main.c:188:10: warning: passing arguments to 'unpermutable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | if (permutable(seq)) | ^ ./mapm/toplevel.h:169:38: note: expanded from macro 'permutable' 169 | #define permutable(seq) !unpermutable(seq) | ^ ./mapm/main.c:189:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:189:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:189:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:190:25: warning: passing arguments to 'has_fixed_dists' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (has_fixed_dists(seq)) | ^ ./mapm/main.c:191:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | { sf(ps,SEQ_FIX_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:191:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | { sf(ps,SEQ_FIX_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:191:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | { sf(ps,SEQ_FIX_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:192:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | crunch_locus_list(seq_locus,&loci,CRUNCH_WARNINGS,TRUE,TRUE); | ^ ./mapm/main.c:197:10: warning: passing arguments to 'unpermutable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | if (permutable(seq)) | ^ ./mapm/toplevel.h:169:38: note: expanded from macro 'permutable' 169 | #define permutable(seq) !unpermutable(seq) | ^ ./mapm/main.c:198:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:198:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:198:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | { sf(ps,SEQ_PERM_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:199:25: warning: passing arguments to 'has_fixed_dists' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (has_fixed_dists(seq)) | ^ ./mapm/main.c:200:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | { sf(ps,SEQ_FIX_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:200:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | { sf(ps,SEQ_FIX_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:200:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | { sf(ps,SEQ_FIX_WARN,com,SEQ_HELP); pr(); nl(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:203:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | default: send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/main.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | void mapm_ready(data_type,min_seq_loci,permable_seq,seq_loci) | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:17: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] 17 | void mapm_ready(); /* args: int data_type_needed; | ^ ./mapm/main.c:258:14: warning: passing arguments to 'assigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (assigned(seq_locus[i]) && !assigned_to(seq_locus[i],current_chrom)) | ^ ./mapm/main.c:258:44: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | if (assigned(seq_locus[i]) && !assigned_to(seq_locus[i],current_chrom)) | ^ ./mapm/main.c:265:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:265:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:270:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:270:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:276:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:276:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:282:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:282:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:217:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | bool crunch_locus_list(locus,num_loci,verbose,check_assignments,in_sequence) | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:44: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] 44 | bool crunch_locus_list(); | ^ ./mapm/main.c:301:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | get_arg(stoken,"",name); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/main.c:301:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/main.c:301:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/main.c:301:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/main.c:302:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | if (nullstr(name)) { | ^ ./mapm/main.c:304:32: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | if (!allow_no_chrom) error(CHROM_NOT_SET); | ^ ./mapm/main.c:308:28: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | if (!allow_no_chrom) error(CHROM_NOT_ANY); | ^ ./mapm/main.c:310:26: warning: passing arguments to 'isa_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | } else if (!isa_chrom(name,&chrom)) { | ^ ./mapm/main.c:311:37: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | sf(ps,CHROM_NOT_EXISTS,name); error(ps); | ^ ./mapm/main.c:295:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | int get_chrom_arg(allow_no_chrom) | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:62: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] 62 | int get_chrom_arg(); /* args: bool allow_no_chrom_answer; */ | ^ ./mapm/main.c:324:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | *dist= ((*mapfunction->dist_to_rec)(*dist/100.0)); | ^ ./mapm/main.c:317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | bool input_dist(dist) | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:68:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | bool input_dist(); | ^ ./mapm/main.c:342:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | if (!nullstr(command_str)) str=save_str=command_str; | ^ ./mapm/main.c:343:25: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | else { getln(prompt); str=save_str=ln; } | ^ ./mapm/main.c:344:28: warning: passing arguments to 'count_tokens' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | *num_markers= count_tokens(str); | ^ ./mapm/main.c:345:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | array(*marker_list, *num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/main.c:345:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/main.c:348:17: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | if (!stoken(&str,sREQUIRED,token) || | ^ ./mapm/main.c:349:14: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | !is_a_locus(token,&(*marker_list)[i],&errmsg)) { | ^ ./mapm/main.c:350:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | print("error in marker list '"); print(command_str); | ^ ./mapm/main.c:350:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | print("error in marker list '"); print(command_str); | ^ ./mapm/main.c:351:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | print("'\n"); | ^ ./mapm/main.c:352:19: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | space(22+imaxf(len(save_str)-len(str)-1,0)); print("^\n"); | ^ ./mapm/main.c:352:10: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | space(22+imaxf(len(save_str)-len(str)-1,0)); print("^\n"); | ^ ./mapm/main.c:352:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | space(22+imaxf(len(save_str)-len(str)-1,0)); print("^\n"); | ^ ./mapm/main.c:353:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | print(errmsg); nl(); abort_command(); | ^ ./mapm/main.c:353:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | print(errmsg); nl(); abort_command(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:356:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | if (!nullstr(str)) send(CRASH); | ^ ./mapm/main.c:356:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | if (!nullstr(str)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/main.c:358:50: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | } when_aborting { unarray(*marker_list,int); relay; } | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/main.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | bool get_markers(prompt,command_str,marker_list,num_markers) | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:65: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] 65 | bool get_markers(); | ^ ./mapm/main.c:380:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | if (!nullstr(command_str)) str=save_str=command_str; | ^ ./mapm/main.c:382:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | print( "loci: "); | ^ ./mapm/main.c:384:22: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | { print(loc2str(marker[i])); print(" "); } | ^ ./mapm/main.c:384:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | { print(loc2str(marker[i])); print(" "); } | ^ ./mapm/main.c:384:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | { print(loc2str(marker[i])); print(" "); } | ^ ./mapm/main.c:385:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | print("\nintervals: "); | ^ ./mapm/main.c:386:33: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (!edges_ok) { print(loc2str(-1)); print(" "); } | ^ ./mapm/main.c:386:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (!edges_ok) { print(loc2str(-1)); print(" "); } | ^ ./mapm/main.c:386:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | if (!edges_ok) { print(loc2str(-1)); print(" "); } | ^ ./mapm/main.c:388:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | sf(ps,"(%d)%s",i,i<10 ? " ":""); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:389:20: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | print(loc2str(-1)); | ^ ./mapm/main.c:389:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | print(loc2str(-1)); | ^ ./mapm/main.c:391:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | nl(); print(prompt); getln("[all] "); str=save_str=ln; | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/main.c:391:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | nl(); print(prompt); getln("[all] "); str=save_str=ln; | ^ ./mapm/main.c:391:29: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | nl(); print(prompt); getln("[all] "); str=save_str=ln; | ^ ./mapm/main.c:393:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | array(*selected_interval, num_markers+1, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/main.c:393:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/main.c:396:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | if (nullstr(str) || xstreq(str,"all")) { | ^ ./mapm/main.c:396:28: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | if (nullstr(str) || xstreq(str,"all")) { | ^ ./mapm/main.c:398:24: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | } else while (!nullstr(str)) { | ^ ./mapm/main.c:399:17: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | if (!itoken(&str,iREQUIRED,&interval) || | ^ ./mapm/main.c:400:10: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | !irange(&interval,first,last)) { | ^ ./mapm/main.c:401:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | print("error in interval list '"); print(ps); print("'\n"); | ^ ./mapm/main.c:401:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | print("error in interval list '"); print(ps); print("'\n"); | ^ ./mapm/main.c:401:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | print("error in interval list '"); print(ps); print("'\n"); | ^ ./mapm/main.c:402:21: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | space(19+imaxf(len(save_str)-len(str)-1,0)); print("^\n"); | ^ ./mapm/main.c:402:12: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | space(19+imaxf(len(save_str)-len(str)-1,0)); print("^\n"); | ^ ./mapm/main.c:402:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | space(19+imaxf(len(save_str)-len(str)-1,0)); print("^\n"); | ^ ./mapm/main.c:404:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | pr(); abort_command(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:407:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | if (parse_char(&str,"-",SKIPWHITE,&c)) { | ^ ./mapm/main.c:408:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (!itoken(&str,iREQUIRED,&to_interval) || | ^ ./mapm/main.c:409:14: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | !irange(&to_interval,interval,last)) { | ^ ./mapm/main.c:410:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | print("error in interval list '"); print(ps); | ^ ./mapm/main.c:410:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | print("error in interval list '"); print(ps); | ^ ./mapm/main.c:411:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | print("'\n"); | ^ ./mapm/main.c:412:18: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | space(19+imaxf(len(save_str)-len(str)-1,0)); | ^ ./mapm/main.c:412:9: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | space(19+imaxf(len(save_str)-len(str)-1,0)); | ^ ./mapm/main.c:413:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | print("^\n"); | ^ ./mapm/main.c:415:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | interval,last); pr(); abort_command(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/main.c:421:56: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | } when_aborting { unarray(*selected_interval,int); relay; } | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/main.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | bool get_intervals(prompt,command_str,selected_interval, | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:66: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] 66 | bool get_intervals(); | ^ ./mapm/main.c:433:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | if(nullstr(command_str)) { | ^ ./mapm/main.c:434:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | getln(prompt); crunch(ln); | ^ ./mapm/main.c:434:30: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | getln(prompt); crunch(ln); | ^ ./mapm/main.c:435:27: warning: passing arguments to 'count_tokens' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | *num_reals = count_tokens(ln); | ^ ./mapm/main.c:437:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | if(!(rtoken(&ln,rREQUIRED,&real_list[i]))) | ^ ./mapm/main.c:442:15: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | crunch(command_str); | ^ ./mapm/main.c:443:34: warning: passing arguments to 'count_tokens' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | *num_reals = count_tokens(command_str); | ^ ./mapm/main.c:445:24: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if(!(rtoken(&command_str,rREQUIRED,&real_list[i]))) | ^ ./mapm/main.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | bool get_reals(prompt,real_list,command_str,num_reals) | ^ In file included from ./mapm/main.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:67: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] 67 | bool get_reals(); | ^ ./mapm/main.c:501:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | mc("map", "m", make_map, CMD); | ^ ./mapm/main.c:502:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | mc("draw map", "", draw_map, CMD); | ^ ./mapm/main.c:503:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | mc("compare", "c", compare, CMD); | ^ ./mapm/main.c:504:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | mc("try", "", try, CMD); | ^ ./mapm/main.c:505:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | mc("genotypes", "", genotypes, CMD); | ^ ./mapm/main.c:506:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | mc("ripple", "", ripple, CMD); | ^ ./mapm/main.c:507:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | mc("order", "", order_maker, CMD); | ^ ./mapm/main.c:508:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | mc("build", "", greedy, CMD); | ^ ./mapm/main.c:511:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | mc("print names", "", set_print_names, OPT); | ^ ./mapm/main.c:512:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | mc("tolerance", "", set_tolerance, PAR); | ^ ./mapm/main.c:513:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | mc("units", "", set_units, PAR); | ^ ./mapm/main.c:514:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | mc("centimorgan function", "", set_cm_func, PAR); | ^ ./mapm/main.c:515:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | mc("auto save data", "", set_autosave, OPT); | ^ ./mapm/main.c:516:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | mc("more mode", "", set_more_mode, OPT); | ^ ./mapm/main.c:518:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | mc("default linkage criteria", "", set_default_linkage, PAR); | ^ ./mapm/main.c:519:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | mc("use three point", "", set_use_3pt, OPT); | ^ ./mapm/main.c:520:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | mc("triple linkage criteria", "", set_3pt_linkage, PAR); | ^ ./mapm/main.c:521:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | mc("triple exclusion criteria", "", set_3pt_threshold, PAR); | ^ ./mapm/main.c:522:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | mc("triple error detection", "", set_3pt_errors, OPT); | ^ ./mapm/main.c:523:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | mc("multipoint criteria", "", set_npt_threshold, PAR); | ^ ./mapm/main.c:524:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | mc("informativeness criteria", "", set_inf_threshold, PAR); | ^ ./mapm/main.c:525:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | mc("print maps", "", set_print_all_maps, OPT); | ^ ./mapm/main.c:527:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | mc("error detection", "", set_use_error_rate, OPT); | ^ ./mapm/main.c:528:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | mc("error probability", "", set_error_rate, CMD); | ^ ./mapm/main.c:529:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | mc("error thresholds", "", set_error_lod_thresh, PAR); | ^ ./mapm/main.c:532:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | mc("sequence", "s", sequence, CMD); | ^ ./mapm/main.c:533:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | mc("expand sequence", "x", expand_sequence, CMD); | ^ ./mapm/main.c:534:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | mc("delete", "d", new_delete, CMD); | ^ ./mapm/main.c:535:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | mc("insert", "i", new_insert, CMD); | ^ ./mapm/main.c:536:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | mc("append", "a", new_append, CMD); | ^ ./mapm/main.c:537:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | mc("history", "h", show_seq_history, CMD); | ^ ./mapm/main.c:539:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | mc("let", "l", let_expanding, CMD); | ^ ./mapm/main.c:540:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | mc("names", "n", names, CMD); | ^ ./mapm/main.c:541:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | mc("forget named sequence", "", forget, CMD); | ^ ./mapm/main.c:542:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | mc("edit sequence", "e", edit_sequence, CMD); | ^ ./mapm/main.c:543:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | mc("translate", "t", translate, CMD); | ^ ./mapm/main.c:546:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | mc("prepare data", "pd", new_prepare, CMD); | ^ ./mapm/main.c:547:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | mc("load data", "ld", new_load_data, CMD); | ^ ./mapm/main.c:548:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | mc("save data", "", new_save_data, CMD); | ^ ./mapm/main.c:549:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | mc("age", "", set_age, CMD); | ^ ./mapm/main.c:550:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | mc("class", "", set_class, CMD); | ^ ./mapm/main.c:551:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | mc("make class", "", make_classes, CMD); | ^ ./mapm/main.c:552:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | mc("list loci", "ll", list_loci, CMD); | ^ ./mapm/main.c:555:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | mc("quit", "q", quit, CMD); | ^ ./mapm/main.c:556:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | mc("photo", "", do_photo, CMD); | ^ ./mapm/main.c:557:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | mc("help", "?", help, CMD); | ^ ./mapm/main.c:558:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | mc("about mapmaker", "", about, CMD); | ^ ./mapm/main.c:559:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | mc("system", "", system_command, CMD); | ^ ./mapm/main.c:560:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | mc("previous commands", "p", show_cmd_history, CMD); | ^ ./mapm/main.c:561:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | mc("review output", "", review_output, CMD); | ^ ./mapm/main.c:562:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | mc("change directory", "cd", cd_command, CMD); | ^ ./mapm/main.c:563:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | mc("run", "", run_from_file, CMD); | ^ ./mapm/main.c:564:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | mc("time", "", show_time, CMD); | ^ ./mapm/main.c:565:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | mc("remark", "", comment, CMD); | ^ ./mapm/main.c:566:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | mc("comment", "", comment, CMD); | ^ ./mapm/main.c:567:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | mc("wizard mode", "", set_wizard, CMD); | ^ ./mapm/main.c:570:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | mc("two point", "", two_point, CMD); | ^ ./mapm/main.c:571:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | mc("big lods", "", biglods, CMD); | ^ ./mapm/main.c:572:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | mc("lod table", "", lodtable, CMD); | ^ ./mapm/main.c:573:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | mc("near", "", near_locus, CMD); | ^ ./mapm/main.c:574:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | mc("pairwise", "", pairwise, CMD); | ^ ./mapm/main.c:575:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | mc("group", "", group, CMD); | ^ ./mapm/main.c:576:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | mc("suggest subset", "", suggest_subset, CMD); | ^ ./mapm/main.c:577:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | mc("join haplotypes", "", haplotype, CMD); | ^ ./mapm/main.c:578:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | mc("list haplotypes", "lh", list_haplotypes, CMD); | ^ ./mapm/main.c:579:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | mc("restore haplotypes", "", unhaplotype, CMD); | ^ ./mapm/main.c:582:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | mc("three point", "", three_point, CMD); | ^ ./mapm/main.c:583:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | mc("forget three point", "", forget_three_point, CMD); | ^ ./mapm/main.c:586:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | mc("links", "", near_chrom, CMD); | ^ ./mapm/main.c:587:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | mc("make chromosome", "", make_chromosome, CMD); | ^ ./mapm/main.c:588:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | mc("anchor", "", set_anchors, CMD); | ^ ./mapm/main.c:589:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | mc("assign", "", assign, CMD); | ^ ./mapm/main.c:590:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | mc("unassign", "", unassign, CMD); | ^ ./mapm/main.c:591:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | mc("attach", "", attach, CMD); | ^ ./mapm/main.c:592:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | mc("framework", "", set_framework, CMD); | ^ ./mapm/main.c:593:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | mc("place", "", place, CMD); | ^ ./mapm/main.c:594:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | mc("together", "", place_together, CMD); | ^ ./mapm/main.c:595:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | mc("list chromosomes", "lc", list_chroms, CMD); | ^ ./mapm/main.c:596:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | mc("list assignments", "la", list_assignments, CMD); | ^ ./mapm/main.c:597:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | mc("list status", "ls", list_mapping, CMD); | ^ ./mapm/main.c:598:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | mc("draw chromosome", "", draw_chromosome, CMD); | ^ ./mapm/main.c:599:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | mc("draw all chromosomes", "", draw_all_chromosomes, CMD); | ^ ./mapm/main.c:602:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | mc("import data", "", import, CMD); | ^ ./mapm/main.c:603:7: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | mc("export data", "", export, CMD); | ^ 249 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/quick23.c -o ./mapm/quick23.o In file included from ./mapm/quick23.c:15: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/quick23.c:41:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (raw.data_type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/quick23.c:44:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | array(locus.Entry,locus.size,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/quick23.c:44:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/quick23.c:45:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | matrix(rec_frac,locus.size-1,locus.size,RECVECTOR); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/quick23.c:45:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/quick23.c:45:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/quick23.c:45:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/quick23.c:50:15: warning: passing arguments to 'quick_f2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | quick_f2(locus,rec_frac,&conv_like,&unconv_like); | ^ ./mapm/quick23.c:52:17: warning: passing arguments to 'quick_back' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | quick_back(locus,rec_frac,&conv_like,&unconv_like); | ^ ./mapm/quick23.c:53:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/quick23.c:33:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | void f2_quick_two_pt(loc1,loc2,two_pt,sexflag) | ^ In file included from ./mapm/quick23.c:15: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:87:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | void f2_quick_two_pt(); /* in quick23.c, used by the above */ | ^ ./mapm/quick23.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | real quick_back(locus, rec_frac, conv_like, unconv_like) | ^ ./mapm/quick23.c:27: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] 27 | real quick_back(), quick_f2(), quick_known(), quick_unknown(); | ^ ./mapm/quick23.c:131:13: warning: passing arguments to 'probinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | probinit(prob); | ^ ./mapm/quick23.c:141:18: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | histogram[lookup(x)][lookup(y)] += 1; | ^ ./mapm/quick23.c:141:29: warning: passing arguments to 'lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | histogram[lookup(x)][lookup(y)] += 1; | ^ ./mapm/quick23.c:166:18: warning: passing arguments to 'calclike' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | calclike(prob[i],prob[j],theta,locus,&likelihood,&numerator); | ^ ./mapm/quick23.c:182:14: warning: passing arguments to 'calclike' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | calclike(prob[i],prob[j],theta,locus,&likelihood,&numerator); | ^ ./mapm/quick23.c:191:14: warning: passing arguments to 'calclike' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | calclike(prob[i],prob[j],0.5,locus,&likelihood,&numerator); | ^ ./mapm/quick23.c:117:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | real quick_f2(locus, rec_frac, conv_like, unconv_like) | ^ ./mapm/quick23.c:27: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] 27 | real quick_back(), quick_f2(), quick_known(), quick_unknown(); | ^ ./mapm/quick23.c:201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | void probinit(probdist) | ^ ./mapm/quick23.c:29: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] 29 | void probinit(), calclike(), do_scene(); | ^ ./mapm/quick23.c:262:21: warning: passing arguments to 'changes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | diffs=changes(i,j); | ^ ./mapm/quick23.c:263:17: warning: passing arguments to 'f2_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | p=f2_prob(theta,diffs); | ^ ./mapm/quick23.c:237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | void calclike(prob1, prob2, theta, locus, likelihood, numerator) | ^ ./mapm/quick23.c:29:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | void probinit(), calclike(), do_scene(); | ^ ./mapm/quick23.c:273:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | int lookup(c) | ^ ./mapm/quick23.c:30:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | int lookup(), changes(); | ^ ./mapm/quick23.c:292:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | int changes(i,j) | ^ ./mapm/quick23.c:30:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | int lookup(), changes(); | ^ ./mapm/quick23.c:325:19: warning: passing arguments to 'power' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | answer = power(theta, diffs) * power(1.0 - theta, 2 - diffs); | ^ ./mapm/quick23.c:325:41: warning: passing arguments to 'power' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | answer = power(theta, diffs) * power(1.0 - theta, 2 - diffs); | ^ ./mapm/quick23.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 | real f2_prob(theta,diffs) | ^ ./mapm/quick23.c:31:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | real power(), f2_prob(); | ^ ./mapm/quick23.c:330:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | real power(a, x) | ^ ./mapm/quick23.c:31: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] 31 | real power(), f2_prob(); | ^ 39 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/maps.c -o ./mapm/maps.o In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/maps.c:38:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | single(map, MAP); | ^ ./mapm/../lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:38:2: 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] ./mapm/../lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:47:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | array(map->locus, map->max_loci, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:47:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:48:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | matrix(map->rec_frac, map->max_loci - 1, 2, real); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/maps.c:48:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:48:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/maps.c:48:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:49:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | array(map->fix_interval, map->max_loci - 1, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:49:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:50:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | array(map->map_name, NAME_LEN+1, char); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:50:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:54:11: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | clean_map(map); | ^ ./mapm/maps.c:56:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | free_map(map); | ^ ./mapm/maps.c:57:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | relay; | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/maps.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | MAP *allocate_map(maxloci) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:38: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] 38 | MAP *allocate_map(); /* arg: max_loci; alloc map for up to max_loci */ | ^ ./mapm/maps.c:68:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | array(map->error_rate,map->max_loci,real); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:68:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:69:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | matrix(map->error_lod,map->max_loci,raw.data.f2.num_indivs,real); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/maps.c:69:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:69:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/maps.c:69:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:73:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | relay; | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/maps.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void allocate_error_matrix(map) | ^ ./mapm/maps.c:24: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] 24 | void allocate_error_matrix(); | ^ ./mapm/maps.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 free_map(map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:39: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] 39 | void free_map(); /* arg: MAP *map; frees map previously allocated */ | ^ ./mapm/maps.c:98:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | bool clean_map(map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:42: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] 42 | bool clean_map(); /* arg: map; resets rf's etc in map, returns TRUE */ | ^ ./mapm/maps.c:128:65: 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] 128 | map->sex_specific= sex; if (sex && raw.data_type!=CEPH) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:129:65: 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] 129 | map->allow_errors= errors; if (errors && raw.data_type!=F2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void init_for_ctm(map,sex,errors,start) /* what else */ | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:49: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] 49 | void init_for_ctm(); /* arg: MAP *m; bool sex, errors, hot_start; similar */ | ^ ./mapm/maps.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | void init_rec_fracs(map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:47: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] 47 | void init_rec_fracs(); /* arg: MAP *m; sets rf, fix_interval, etc for ctm */ | ^ ./mapm/maps.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void init_not_fixed(map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:48: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] 48 | void init_not_fixed(); /* arg: MAP *m; sets rf, fix_interval for ctm */ | ^ ./mapm/maps.c:180:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | if (to->max_locinum_loci) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:213:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | if (!nullstr(from->map_name)) strcpy(to->map_name,from->map_name); | ^ ./mapm/maps.c:175:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | void mapcpy(to,from,clean_it) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:40: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] 40 | void mapcpy(); /* args: MAP *to, *from; bool clean_it; copy from->to */ | ^ ./mapm/maps.c:230:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | error("attempt to insert a locus into a interval with fixed distance"); | ^ ./mapm/maps.c:233:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | error("attempt to insert a locus into an unlinked interval"); | ^ ./mapm/maps.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int insert_locus(map,position,locus) /* Returns TRUE if successful */ | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:41: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] 41 | int insert_locus(); /* args: map, position, locus; adds locus to map */ | ^ ./mapm/maps.c:257:9: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | single(list, SAVED_LIST); | ^ ./mapm/../lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:257: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] ./mapm/../lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:262:9: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | array(list->map_list, list->max_maps, MAP*); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:262: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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:270:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | } except_when(ABORT) | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/maps.c:271:19: warning: passing arguments to 'free_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | free_map_list(list); | ^ ./mapm/maps.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | SAVED_LIST *allocate_map_list(maxmaps, maxloci, sortflag, map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:69:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | SAVED_LIST *allocate_map_list(); /* args: max_maps, max_loci, sorted; */ | ^ ./mapm/maps.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | MAP *get_map_to_bash(list) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:70:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | MAP *get_map_to_bash(); /* arg: SAVED_LIST *list; gets the extra map to bash */ | ^ ./mapm/maps.c:284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | void free_map_list(list) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:75:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | void free_map_list(); /* arg: *SAVED_LIST; frees SAVED_LIST structure */ | ^ ./mapm/maps.c:299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | void clean_list(list) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void clean_list(); /* arg: *SAVED_LIST; resets values in list for re-use */ | ^ ./mapm/maps.c:320:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | if (list->num_maps==0) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:312:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | MAP *get_best_map(list) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | MAP *get_best_map(); /* arg: *SAVED_LIST; returns best map in list */ | ^ ./mapm/maps.c:336:31: warning: passing arguments to 'insert_sorted_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | val= insert_sorted_map(list); | ^ ./mapm/maps.c:338:33: warning: passing arguments to 'insert_unsorted_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | val= insert_unsorted_map(list); | ^ ./mapm/maps.c:328:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | int insert_map_into_list(list,map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:71: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] 71 | int insert_map_into_list(); /* arg: *SAVED_LIST, **MAP; inserts *MAP */ | ^ ./mapm/maps.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | void overwrite_map_num(list,map,chrom) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:73:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | void overwrite_map_num(); /* args: SAVED_LIST *list; MAP **map; int chrom; */ | ^ ./mapm/maps.c:381:15: warning: passing arguments to 'sort_last' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | sort_last(list); | ^ ./mapm/maps.c:388:15: warning: passing arguments to 'sort_last' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | sort_last(list); | ^ ./mapm/maps.c:359:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | int insert_sorted_map(list) | ^ ./mapm/maps.c:21: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] 21 | int insert_sorted_map(); | ^ ./mapm/maps.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | void sort_last(list) /* Sorts last entry in the list */ | ^ ./mapm/maps.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void sort_last(); | ^ ./mapm/maps.c:417:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | int insert_unsorted_map(list) | ^ ./mapm/maps.c:22: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] 22 | int insert_unsorted_map(); | ^ ./mapm/maps.c:443:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | real apportion(rec_flag, both, first, second) | ^ ./mapm/maps.c:436: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] 436 | real apportion(); | ^ ./mapm/maps.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | real poisson_add(first, second) | ^ ./mapm/maps.c:437: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] 437 | real poisson_add(), poisson_d_r(); | ^ ./mapm/maps.c:457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | real poisson_r_d(rec_frac) | ^ ./mapm/maps.c:438: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] 438 | real poisson_r_d(), kosa_r_d(); | ^ ./mapm/maps.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | real poisson_d_r(dist) | ^ ./mapm/maps.c:437:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 437 | real poisson_add(), poisson_d_r(); | ^ ./mapm/maps.c:496:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | real kosa_add(first, second) | ^ ./mapm/maps.c:439: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] 439 | real kosa_add(), kosa_d_r(); | ^ ./mapm/maps.c:502:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | real kosa_r_d(rec_frac) | ^ ./mapm/maps.c:438:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 438 | real poisson_r_d(), kosa_r_d(); | ^ ./mapm/maps.c:521:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | real kosa_d_r(dist) | ^ ./mapm/maps.c:439:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 439 | real kosa_add(), kosa_d_r(); | ^ ./mapm/maps.c:541:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | real poisson_d_r_deriv(dist) | ^ ./mapm/maps.c:440: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] 440 | real poisson_d_r_deriv(), kosa_d_r_deriv(); | ^ ./mapm/maps.c:547:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | real kosa_d_r_deriv(dist) | ^ ./mapm/maps.c:440:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 440 | real poisson_d_r_deriv(), kosa_d_r_deriv(); | ^ ./mapm/maps.c:555:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | void map_func(mapnum) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:423: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] 423 | void map_func(); /* args: int num; sets map function */ | ^ ./mapm/maps.c:595:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | fgetln_(fp); | ^ ./mapm/maps.c:596:10: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | if (!nstoken(&ln,sREQUIRED,name,NAME_LEN+1) || name[0]!='*' || | ^ ./mapm/../lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./mapm/maps.c:598:14: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | baddata("expected *chrom-name # # # #"); | ^ ./mapm/maps.c:600:14: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | baddata("num_loci too large for map"); | ^ ./mapm/maps.c:606:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | fgetln_(fp); | ^ ./mapm/maps.c:608:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:608:26: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:609:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | if (!itoken(&ln,iREQUIRED,&num)) send(CRASH); | ^ ./mapm/maps.c:609:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | if (!itoken(&ln,iREQUIRED,&num)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:612:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | fgetln_(fp); | ^ ./mapm/maps.c:614:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:614:26: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:615:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/maps.c:615:36: 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] 615 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:620:9: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | fgetln_(fp); | ^ ./mapm/maps.c:622:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:622:30: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:623:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/maps.c:623:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:628:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | fgetln_(fp); | ^ ./mapm/maps.c:630:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:630:26: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:631:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | if (!itoken(&ln,iREQUIRED,&num)) send(CRASH); | ^ ./mapm/maps.c:631:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | if (!itoken(&ln,iREQUIRED,&num)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:636:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | array(map->error_rate,map->max_loci,real); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/maps.c:636:6: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:637:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | matrix(map->error_lod,map->max_loci,raw.data.f2.num_indivs,real); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/maps.c:637:6: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:637:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/maps.c:637:6: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:640:13: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | fgetln_(fp); | ^ ./mapm/maps.c:641:17: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | if (!stoken(&ln,sREQUIRED,str) || !streq(str,"errors")) | ^ ./mapm/maps.c:642:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:643:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/maps.c:643:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:649:10: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | fgetln_(fp); | ^ ./mapm/maps.c:651:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:651:31: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | if (nullstr(ln)) fgetln_(fp); | ^ ./mapm/maps.c:652:18: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/maps.c:652:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | if (!rtoken(&ln,rREQUIRED,&rnum)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/maps.c:585:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | void read_map(fp,map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:79:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | void read_map(), write_map(); /* args: FILE *fp; */ | ^ ./mapm/maps.c:669:42: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | map->allow_errors,map->log_like); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:672:52: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | if (i%10==0 && i!=0 && i!=map->num_loci-1) fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:673:30: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | sf(ps,"%d ",map->locus[i]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:675:5: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:678:30: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | if (i%10==0 && i!=0) fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:679:43: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | sf(ps,"%6.4lf ",map->rec_frac[i][MALE]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:681:5: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:685:27: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | if (i%10==0 && i!=0) fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:686:49: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | sf(ps,"%6.4lf ",map->rec_frac[i][FEMALE]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:688:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:692:52: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | if (i%20==0 && i!=0 && i!=map->num_loci-1) fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:693:37: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | sf(ps,"%d ",map->fix_interval[i]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:695:5: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:699:50: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | sf(ps,"errors %.7lf\n",map->error_rate[i]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:702:31: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | if (j%10==0 && j!=0) fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:704:3: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/maps.c:706:6: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/maps.c:661:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | void write_map(fp,map) | ^ In file included from ./mapm/maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:79:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | void read_map(), write_map(); /* args: FILE *fp; */ | ^ 159 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/info.c -o ./mapm/info.o In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/info.c:74:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | array(two_pt_data,num_loci,TWO_PT_DATA**); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:74:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:76:9: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | array(two_pt_data[i],(i+1),TWO_PT_DATA*); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:76: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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:80:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | array(two_pt_list,two_pt_max,TWO_PT_DATA*); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:80:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | void allocate_two_pt(num_loci) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:94:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | void allocate_two_pt(); /* arg: num_loci; allocs and inits global 2pt data */ | ^ ./mapm/info.c:94:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | void free_two_pt(num_loci) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | void free_two_pt(); /* arg: num_loci; frees global */ | ^ ./mapm/info.c:134:15: warning: passing arguments to 'expand_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | expand_two_pt(EXPAND_DEFAULT); | ^ ./mapm/info.c:137:7: 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] 137 | send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:111:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | TWO_PT_DATA *get_next_two_pt_entry(a,b,used_needs_incrementing) | ^ ./mapm/info.c:36: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] 36 | TWO_PT_DATA *get_next_two_pt_entry(); | ^ ./mapm/info.c:154:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | single(two_pt_list[two_pt_allocated],TWO_PT_DATA); | ^ ./mapm/../lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:154:2: 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] ./mapm/../lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:144:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | void expand_two_pt(num_entries) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | void expand_two_pt(); /* arg: num_entries; pre-allocates space in global */ | ^ ./mapm/info.c:174:17: warning: passing arguments to 'quick_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | quick_two_pt(a,b,two_pt,FALSE); | ^ ./mapm/info.c:175:42: warning: passing arguments to 'quick_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | if (raw.data_type==CEPH) quick_two_pt(a,b,two_pt,TRUE); /* also w/sex */ | ^ ./mapm/info.c:165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | void compute_two_pt(a,b) /* internal use only */ | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:100:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | void compute_two_pt(); /* args: int locus1, locus2; */ | ^ ./mapm/info.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | bool get_two_pt(a,b,lod,theta) /* TRUE if not UNLINKED_TWO_PT */ | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | bool get_two_pt(); /* args: int locus1, locus2; real *lod, *theta; */ | ^ ./mapm/info.c:208:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | bool get_sex_two_pt(a,b,lod,thetam,thetaf) /* TRUE if not UNLINKED_TWO_PT */ | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:103:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | bool get_sex_two_pt(); /* args: int locus1, locus2; real *lod, *m, *f; */ | ^ ./mapm/info.c:233:40: warning: passing arguments to 'free_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | if (three_pt_data!=NULL) free_three_pt(raw.num_markers); | ^ ./mapm/info.c:236:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | single(three_pt_data,THREE_STRUCT); | ^ ./mapm/../lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:236:2: 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] ./mapm/../lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:239:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | array(three_pt_data->entry,num_total,TRIPLE_LIST); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:239:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:250:26: warning: passing arguments to 'allocate_three_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | allocate_three_entries(INIT_3PT_SIZE(num_total)); | ^ ./mapm/info.c:251:36: warning: passing arguments to 'free_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | } when_aborting { free_three_pt(num_total); relay; } | ^ ./mapm/info.c:251:49: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | } when_aborting { free_three_pt(num_total); relay; } | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/info.c:227:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | void allocate_three_pt(num_total) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:105:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | void allocate_three_pt(); /* arg: num_loci; allocs and inits global 3pt data */ | ^ ./mapm/info.c:260:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | single(part, TRIPLE_LIST); | ^ ./mapm/../lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:260:5: 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] ./mapm/../lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:254:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | TRIPLE_LIST *allocate_three_entries(num_to_alloc) | ^ ./mapm/info.c:50:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | TRIPLE_LIST *allocate_three_entries(); | ^ ./mapm/info.c:278:18: warning: passing arguments to 'free_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | free_three_pt(num_total); | ^ ./mapm/info.c:275:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | void bash_all_three_pt(num_total) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:107:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | void bash_all_three_pt(); /* arg: num_loci; frees then allocates */ | ^ ./mapm/info.c:293:28: warning: passing arguments to 'deallocate_triple_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | deallocate_triple_list(three_pt_data->entry[i].next); | ^ ./mapm/info.c:296:27: warning: passing arguments to 'deallocate_triple_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | deallocate_triple_list(three_pt_data->unused); | ^ ./mapm/info.c:284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | void free_three_pt(num_total) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:106:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | void free_three_pt(); /* arg: num_loci; frees global */ | ^ ./mapm/info.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | void deallocate_triple_list(p) | ^ ./mapm/info.c:51: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] 51 | void deallocate_triple_list(); | ^ ./mapm/info.c:340:16: warning: passing arguments to 'save_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | save_triple(loc1,loc2,loc3,d1,d2,d3); | ^ ./mapm/info.c:317:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | void insert_triple(loc1,loc2,loc3,d1,d2,d3) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:117:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | void insert_triple(); | ^ ./mapm/info.c:360:16: warning: passing arguments to 'replace_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | replace_triple(locus1,locus2,locus3,d1,d2,d3); | ^ ./mapm/info.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 save_triple(locus1,locus2,locus3,d1,d2,d3) | ^ ./mapm/info.c:57:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | void save_triple(); | ^ ./mapm/info.c:401:12: warning: expression result unused [-Wunused-value] 401 | for (p; p->next_same2 != NULL; p= p->next_same2) {} | ^ ./mapm/info.c:410:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | bool replace_triple(locus1,locus2,locus3,d1,d2,d3) | ^ ./mapm/info.c:55:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | bool replace_triple(); | ^ ./mapm/info.c:482:22: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | map= allocate_map(3); | ^ ./mapm/info.c:487:19: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | init_rec_fracs(map); | ^ ./mapm/info.c:488:20: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | converge_to_map(map); | ^ ./mapm/info.c:496:19: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | init_rec_fracs(map); | ^ ./mapm/info.c:497:20: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | converge_to_map(map); | ^ ./mapm/info.c:505:19: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | init_rec_fracs(map); | ^ ./mapm/info.c:506:20: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | converge_to_map(map); | ^ ./mapm/info.c:474:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | void compute_triple(a,b,c,d1,d2,d3) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | void compute_triple(); | ^ ./mapm/info.c:519:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | bool restore_triple(locus1,locus2,locus3,d1,d2,d3) | ^ ./mapm/info.c:56:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | bool restore_triple(); | ^ ./mapm/info.c:558:22: warning: passing arguments to 'same_2_loop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | if (!same_2_loop(three_pt_data->entry[locus1].next_same2,locus3, | ^ ./mapm/info.c:572:18: warning: passing arguments to 'same_2_loop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | if (!same_2_loop(p,locus3,d1,d2,d3)) | ^ ./mapm/info.c:545:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | bool get_triple(locus1,locus2,locus3,d1,d2,d3) | ^ ./mapm/info.c:580:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | bool same_2_loop(p,locus3,d1,d2,d3) | ^ ./mapm/info.c:58:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | bool same_2_loop(); | ^ ./mapm/info.c:598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | bool three_linked(locus,lodbound,thetabound,num_links,sex) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:120:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | bool three_linked(); /* args: int *locus; real lod, theta; int nlinks; */ | ^ ./mapm/info.c:634:5: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | for_all_orders(seq,map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/info.c:634:5: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/info.c:634:5: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/info.c:634:5: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/info.c:635:14: warning: passing arguments to 'init_for_ctm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | init_for_ctm(map,sex,trip_err_rate!=0.0,MAYBE); | ^ ./mapm/info.c:640:17: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | converge_to_map(map); | ^ ./mapm/info.c:643:55: warning: passing arguments to 'rmaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | for (i=0, best=VERY_UNLIKELY; i<3; i++) best=rmaxf(best,like[i]); | ^ ./mapm/info.c:624:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | void compute_3pt(seq,sex,trip_err_rate,like,map) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:121:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void compute_3pt(); /* args: *seq; bool sex; real error_rate, *like; *map; */ | ^ ./mapm/info.c:654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | void setup_haplo_group(locus,num_loci) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:136: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] 136 | void setup_haplo_group(); /* args: loci, num_loci; */ | ^ ./mapm/info.c:668:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | bool delete_haplo_groups(locus,num_loci,old_locus,num_old) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:137: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] 137 | bool delete_haplo_groups(); /* args: loci, num_loci; TRUE if any deleted */ | ^ ./mapm/info.c:699:29: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | { sf(ps,INSANE,loc2str(*locus),rag(loc2str(haplo_first[*locus])));pr(); } | ^ ./mapm/info.c:699:49: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | { sf(ps,INSANE,loc2str(*locus),rag(loc2str(haplo_first[*locus])));pr(); } | ^ ./mapm/info.c:699:41: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | { sf(ps,INSANE,loc2str(*locus),rag(loc2str(haplo_first[*locus])));pr(); } | ^ ./mapm/info.c:699:73: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | { sf(ps,INSANE,loc2str(*locus),rag(loc2str(haplo_first[*locus])));pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/info.c:692:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | bool force_haplo_sanity(locus,verbose) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:139: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] 139 | bool force_haplo_sanity(); /* int *locus; bool verbose; FALSE if changed */ | ^ ./mapm/info.c:715:43: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | if (class_name[i][0]!='\0' && xstreq(name,class_name[i])) | ^ ./mapm/info.c:708:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | bool isa_class(name,num) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:391: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] 391 | bool isa_class(); /* args: char *name; int *num; */ | ^ ./mapm/info.c:729:20: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | if (!valid_name(name)) /* checks non-null */ | ^ ./mapm/info.c:730:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | { *why_not=ptr_to("illegal name"); return(FALSE); } | ^ ./mapm/info.c:732:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | { *why_not=ptr_to("name is already in use"); return(FALSE); } | ^ ./mapm/info.c:737:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | { *why_not=ptr_to("no more classes can be defined"); return(FALSE); } | ^ ./mapm/info.c:723:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | bool make_new_class(name,why_not) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:392: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] 392 | bool make_new_class(); /* args: char *name; char **why_not; */ | ^ ./mapm/info.c:746:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | for (i=0; ientry[a].next); | ^ ./mapm/info.c:840:21: warning: passing arguments to 'return_to_unused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | return_to_unused(p); | ^ ./mapm/info.c:863:21: warning: passing arguments to 'return_to_unused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | return_to_unused(p); | ^ ./mapm/info.c:763:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | void bash_order_info(changed,num_changed) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:399: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] 399 | void bash_order_info(); /* args: int changed_marker[], num_changed; */ | ^ ./mapm/info.c:878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | void return_to_unused(p) | ^ ./mapm/info.c:761: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] 761 | void return_to_unused(), remove_triple_list(); | ^ ./mapm/info.c:893:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | void remove_triple_list(p) | ^ ./mapm/info.c:761:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 761 | void return_to_unused(), remove_triple_list(); | ^ ./mapm/info.c:906:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | array(my_group, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:906:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:907:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | array(haplo_first, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:907:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:908:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | array(haplo_next, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:908:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:909:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | array(order_first, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:909:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:910:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | array(unorder_first, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:910:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:911:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 911 | array(order_next, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:911:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:912:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | array(class, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:912:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:913:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | array(modified, num_markers, int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:913:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:914:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | array(error_rate, num_markers, real); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/info.c:914:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:915:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | matrix(note, num_markers, MAX_NOTE_LEN+1, char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/info.c:915:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:915:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/info.c:915:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:927:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | matrix(class_name, NUM_CLASSES, NAME_LEN+1, char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/info.c:927:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:927:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/info.c:927:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/info.c:901:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | void allocate_order_data(num_markers) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:395: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] 395 | void allocate_order_data(); /* args: num_markers; */ | ^ ./mapm/info.c:934:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | void free_order_data(num_markers) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:396: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] 396 | void free_order_data(); /* args: num_markers; */ | ^ ./mapm/info.c:960:57: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | sf(ps,"*OrderInfo: %d %d\n",num_groups,num_orders); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:967:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:969:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | fprint(fp,WRS("*Classes:\n")); | ^ ./mapm/info.c:971:15: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | { fprint(fp,WRS("*")); fprint(fp,class_name[i]); fnl(fp); } | ^ ./mapm/info.c:971:36: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | { fprint(fp,WRS("*")); fprint(fp,class_name[i]); fnl(fp); } | ^ ./mapm/info.c:971:56: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | { fprint(fp,WRS("*")); fprint(fp,class_name[i]); fnl(fp); } | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/info.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | void write_order_data(fp) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:397: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] 397 | void write_order_data(); /* args: FILE *fp; */ | ^ ./mapm/info.c:983:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | fgetln_(fp); | ^ ./mapm/info.c:985:37: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | !streq(word,"*OrderInfo:")) baddata("expected '*OrderInfo: # #'"); | ^ ./mapm/info.c:988:9: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | fgetln_(fp); | ^ ./mapm/info.c:990:7: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | if (!nstoken(&ln,sREQUIRED,temp_locus_name,NAME_LEN+1) || | ^ ./mapm/../lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./mapm/info.c:992:11: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | baddata("expected *name"); | ^ ./mapm/info.c:994:11: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | baddata("locus names don't match"); | ^ ./mapm/info.c:998:11: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | baddata("bad order info line"); | ^ ./mapm/info.c:1010:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | fgetln_(fp); if (!streq(ln,"*Classes:")) baddata("bad classes"); | ^ ./mapm/info.c:1010:53: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | fgetln_(fp); if (!streq(ln,"*Classes:")) baddata("bad classes"); | ^ ./mapm/info.c:1012:16: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | { fgetln_(fp); strcpy(class_name[i],ln+1); } | ^ ./mapm/info.c:975:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | void read_order_data(fp) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:398: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] 398 | void read_order_data(); /* args: FILE *fp; */ | ^ ./mapm/info.c:1025:14: warning: passing arguments to 'getdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | getdataln(fp); | ^ ./mapm/info.c:1027:14: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | baddata("expected two-pt count"); | ^ ./mapm/info.c:1041:15: warning: passing arguments to 'getdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | getdataln(fp); | ^ ./mapm/info.c:1065:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | } except_when(ENDOFILE) { } | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/info.c:1016:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | void read_two_pt(fp) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:126:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | void read_two_pt(); | ^ ./mapm/info.c:1083:52: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | sf(ps,"%d %d %d \n",n_real,n_unlinked,n_miss); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1089:30: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | else sf(ps,"%d %d\n",i,j); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1092:25: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | sf(ps,"%d %d\n",i,j); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1096:45: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | two_pt_data[i][j]->lodscore[NOSEX]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1103:45: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | two_pt_data[i][j]->lodscore[SEXSPEC]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1069:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | void write_two_pt(fp) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:127:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | void write_two_pt(); | ^ ./mapm/info.c:1110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | void read_three_pt(fp) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:128:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | void read_three_pt(); | ^ ./mapm/info.c:1135:4: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1140:6: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/info.c:1123:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | void write_three_pt(fp) | ^ In file included from ./mapm/info.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:129:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | void write_three_pt(); | ^ 188 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/chroms.c -o ./mapm/chroms.o In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/chroms.c:38:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | error("too many chromosomes - can't make any more"); | ^ ./mapm/chroms.c:39:18: warning: passing arguments to 'isa_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (isa_chrom(name,&m)) return(FALSE); | ^ ./mapm/chroms.c:31:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | bool make_new_chrom(name,num) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:223: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] 223 | bool make_new_chrom(); /* args: char *name; returns # */ | ^ ./mapm/chroms.c:56:15: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (xstreq(name,"any")) { *chrom=NO_CHROM; return(TRUE); } | ^ ./mapm/chroms.c:58:17: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if (xstreq(name,chromosome->map_list[i]->map_name)) { *chrom=i; break; } | ^ ./mapm/chroms.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | bool isa_chrom(name,chrom) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:219: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] 219 | bool isa_chrom(); /* args: char *name; int *chrom; side-effected if TRUE */ | ^ ./mapm/chroms.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | MAP *get_chrom_frame(chrom,num_loci) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:229: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] 229 | MAP *get_chrom_frame(); /* args: int chrom, *n_loci; n_loci may be 0 or 1 */ | ^ ./mapm/chroms.c:79:18: warning: passing arguments to 'assigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (!assigned(locus)) return(FALSE); | ^ ./mapm/chroms.c:81:48: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | frame=chromosome->map_list[assignment_chrom(locus)]; | ^ ./mapm/chroms.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | bool framework_marker(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:230: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] 230 | bool framework_marker(); /* int locus; haplos are NOT checked: if use_haplos | ^ ./mapm/chroms.c:114:15: warning: passing arguments to 'assigned' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | if (!assigned(new->locus[j])) { | ^ ./mapm/chroms.c:115:34: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | sf(ps,FRAME_NO_CHROM,loc2str(new->locus[j])); error(ps); | ^ ./mapm/chroms.c:115:57: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | sf(ps,FRAME_NO_CHROM,loc2str(new->locus[j])); error(ps); | ^ ./mapm/chroms.c:116:36: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | } else if ((other=assignment_chrom(new->locus[j]))!=chrom) { | ^ ./mapm/chroms.c:117:54: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | sf(ps,FRAME_OTHER_CHROM,chrom2str(chrom),loc2str(new->locus[j]), | ^ ./mapm/chroms.c:118:33: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | chrom2str(other)); error(ps); | ^ ./mapm/chroms.c:127:26: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (!found) unplace_this(old->locus[i],NO_CHROM,M_UNKNOWN,FALSE); | ^ ./mapm/chroms.c:132:22: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (assigned_to(j,chrom) && placed_locus(j)) | ^ ./mapm/chroms.c:132:47: warning: passing arguments to 'placed_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (assigned_to(j,chrom) && placed_locus(j)) | ^ ./mapm/chroms.c:133:14: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | unplace_this(j,NO_CHROM,M_UNKNOWN,FALSE); | ^ ./mapm/chroms.c:140:26: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (!found) unplace_this(new->locus[i],chrom,M_FRAMEWORK,FALSE); | ^ ./mapm/chroms.c:145:22: warning: passing arguments to 'overwrite_map_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | overwrite_map_num(chromosome,&new,chrom); | ^ ./mapm/chroms.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 set_chrom_frame(chrom,new) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:224: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] 224 | void set_chrom_frame(); /* int chrom; char *name; MAP *map; */ | ^ ./mapm/chroms.c:179:19: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | if (assigned_to(primary,chrom) && !framework_marker(primary)) | ^ ./mapm/chroms.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void get_chrom_loci(chrom,locus,which_loci,num_loci,num_framework) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:234: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] 234 | void get_chrom_loci(); /* args: int chrom, *locus, *num_loci; int which_loci; | ^ ./mapm/chroms.c:206:18: warning: passing arguments to 'anchor_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (anchor_locus(primary)) anchor++; | ^ ./mapm/chroms.c:207:18: warning: passing arguments to 'placed_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | if (placed_locus(primary)) { | ^ ./mapm/chroms.c:209:25: warning: passing arguments to 'placement_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if (placement_state(primary)==M_UNIQUE) unique++; | ^ ./mapm/chroms.c:210:32: warning: passing arguments to 'placement_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | else if (placement_state(primary)==M_REGION) region++; | ^ ./mapm/chroms.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 count_chrom_loci(chrom,n_anchor,n_frame,n_total,n_placed,n_unique, | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:244: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] 244 | void count_chrom_loci(); | ^ ./mapm/chroms.c:226:21: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | { force_haplo_sanity(&locus,FALSE); return(assignment[locus]->status>0); } | ^ ./mapm/chroms.c:224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | bool assigned(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:273: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] 273 | bool assigned(); /* args: int locus; */ | ^ ./mapm/chroms.c:230:21: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | { force_haplo_sanity(&locus,FALSE); return(assignment[locus]->status); } | ^ ./mapm/chroms.c:228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | int assignment_state(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:277: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] 277 | int assignment_state(); /* args: int locus; */ | ^ ./mapm/chroms.c:235:21: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | force_haplo_sanity(&locus,FALSE); | ^ ./mapm/chroms.c:232:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | int assignment_chrom(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:276: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] 276 | int assignment_chrom(); /* args: int locus; */ | ^ ./mapm/chroms.c:242:21: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | force_haplo_sanity(&locus,FALSE); | ^ ./mapm/chroms.c:239:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | bool assigned_to(locus,chrom) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:274: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] 274 | bool assigned_to(); /* args: int locus, chrom; TRUE if locus is on chrom */ | ^ ./mapm/chroms.c:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | bool anchor_locus(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:275: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] 275 | bool anchor_locus(); /* int locus; */ | ^ ./mapm/chroms.c:273:26: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | sf(ps,ASS_ANCHOR,loc2str(locus),chrom2str(old)); pr(); | ^ ./mapm/chroms.c:273:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | sf(ps,ASS_ANCHOR,loc2str(locus),chrom2str(old)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:280:33: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | sf(ps,ASS_UNFRAME,loc2str(locus),chrom2str(old)); | ^ ./mapm/chroms.c:282:33: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | sf(ps,ASS_REFRAME,loc2str(locus),chrom2str(old), | ^ ./mapm/chroms.c:284:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:295:31: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | sf(ps,ASS_ISFRAME,loc2str(locus),chrom2str(old)); pr(); | ^ ./mapm/chroms.c:295:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | sf(ps,ASS_ISFRAME,loc2str(locus),chrom2str(old)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.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 | bool is_assignable(locus,chrom,fix_frames) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:284: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] 284 | bool is_assignable(); /* args: int locus, chrom; prints msg if FALSE */ | ^ ./mapm/chroms.c:328:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | if (!nullstr(msg)) /* problem state: use this msg */ | ^ ./mapm/chroms.c:331:28: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | sf(ps,ASS_UNANCH,loc2str(locus),chrom2str(assignment_chrom(locus))); | ^ ./mapm/chroms.c:333:27: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | sf(ps,ASS_UNASS,loc2str(locus),chrom2str(assignment_chrom(locus))); | ^ ./mapm/chroms.c:335:26: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | sf(ps,ASS_NONE,loc2str(locus)); | ^ ./mapm/chroms.c:336:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:337:14: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | unplace_this(locus,NO_CHROM,M_UNKNOWN,FALSE); | ^ ./mapm/chroms.c:341:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (framework_marker(locus)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:343:32: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | sf(ps,CHG_ATTACH,loc2str(locus),chrom2str(chrom), | ^ ./mapm/chroms.c:345:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | else if (state==A_FRAMEWORK) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:347:32: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | sf(ps,CHG_BORDER,loc2str(locus),chrom2str(chrom),lod, | ^ ./mapm/chroms.c:350:32: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | sf(ps,CHG_ASSIGN,loc2str(locus),chrom2str(chrom),lod, | ^ ./mapm/chroms.c:352:18: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | unplace_this(locus,NO_CHROM,M_UNKNOWN,FALSE); | ^ ./mapm/chroms.c:356:32: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | sf(ps,ASS_ATTACH,loc2str(locus),chrom2str(chrom)); | ^ ./mapm/chroms.c:358:31: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | sf(ps,ASS_FRAME,loc2str(locus),chrom2str(chrom)); | ^ ./mapm/chroms.c:360:32: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | sf(ps,ASS_BORDER,loc2str(locus),chrom2str(chrom),lod); | ^ ./mapm/chroms.c:362:32: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | sf(ps,ASS_ASSIGN,loc2str(locus),chrom2str(chrom),lod); | ^ ./mapm/chroms.c:364:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:319:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | void assign_this(locus,state,chrom,lod,theta,linked_locus,msg) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:287: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] 287 | void assign_this(); | ^ ./mapm/chroms.c:376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | void unassign_this(locus,state) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:293: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] 293 | void unassign_this(); /* int locus, state; char *msg; just a convenience */ | ^ ./mapm/chroms.c:381:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | void attach_this(locus,state,chrom) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:292: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] 292 | void attach_this(); /* int locus, state; char *msg; just a convenience */ | ^ ./mapm/chroms.c:404:34: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | sf(ps,ANCHOR_ISFRAME,loc2str(locus[j]),chrom2str(old_chrom)); | ^ ./mapm/chroms.c:404:12: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 404 | sf(ps,ANCHOR_ISFRAME,loc2str(locus[j]),chrom2str(old_chrom)); | ^~~~~~~~~~~~~~ ./mapm/chroms.c:387:58: note: expanded from macro 'ANCHOR_ISFRAME' 387 | "%s is a framework marker on %s...cannot re-assign to %s\n" | ~^ ./mapm/chroms.c:405:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | error(ps); | ^ ./mapm/chroms.c:408:34: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | sf(ps,ANCHOR_ISANCH,loc2str(locus[j]),chrom2str(old_chrom)); | ^ ./mapm/chroms.c:408:13: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 408 | sf(ps,ANCHOR_ISANCH,loc2str(locus[j]),chrom2str(old_chrom)); | ^~~~~~~~~~~~~ ./mapm/chroms.c:389:58: note: expanded from macro 'ANCHOR_ISANCH' 389 | "%s is a framework marker on %s...cannot re-assign to %s\n" | ~^ ./mapm/chroms.c:409:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | error(ps); | ^ ./mapm/chroms.c:428:16: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | unplace_this(locus[j],NO_CHROM,M_UNKNOWN,FALSE); | ^ ./mapm/chroms.c:429:28: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | sf(ps,ANCHOR_ISNOW,loc2str(locus[j]),chrom2str(chrom)); pr(); | ^ ./mapm/chroms.c:429:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | sf(ps,ANCHOR_ISNOW,loc2str(locus[j]),chrom2str(chrom)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | void set_chrom_anchors(chrom,locus,num_loci) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:295: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] 295 | void set_chrom_anchors(); /* int chrom, *locus, num_loci */ | ^ ./mapm/chroms.c:455:49: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if ((num_chroms=chromosome->num_maps)==0) error(DOASS_NOCHROMS); | ^ ./mapm/chroms.c:456:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | matrix(anchor,num_chroms,raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/chroms.c:456:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:456:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/chroms.c:456:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:457:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | array(count,num_chroms,int); for (i=0; istatus>0); } | ^ ./mapm/chroms.c:603:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | bool placed_locus(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:343: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] 343 | bool placed_locus(); /* args: int locus; forces haplo_sanity w/no msg */ | ^ ./mapm/chroms.c:609:21: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | { force_haplo_sanity(&locus,FALSE); return(placement[locus]->status); } | ^ ./mapm/chroms.c:607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | bool placement_state(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:344: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] 344 | int placement_state(); /* args: int locus; forces haplo_sanity w/no msg */ | ^ ./mapm/chroms.c:648:28: warning: passing arguments to 'force_haplo_sanity' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | if (!force_haplo_sanity(&locus,FALSE)) { | ^ ./mapm/chroms.c:649:36: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | sf(ps,PLACE_INSANE,locus+1,locname(locus,TRUE)); | ^ ./mapm/chroms.c:650:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | pr(); return(FALSE); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:653:37: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | sf(ps,PLACE_ISFRAME,locus+1,locname(locus,TRUE), | ^ ./mapm/chroms.c:654:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | chrom2str(assignment_chrom(locus))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:659:36: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | sf(ps,PLACE_NOTASS,locus+1,locname(locus,TRUE)); pr(); | ^ ./mapm/chroms.c:659:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | sf(ps,PLACE_NOTASS,locus+1,locname(locus,TRUE)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:665:36: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | sf(ps,PLACE_NOTCHR,locus+1,locname(locus,TRUE),chrom2str(chrom)); pr(); | ^ ./mapm/chroms.c:665:68: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | sf(ps,PLACE_NOTCHR,locus+1,locname(locus,TRUE),chrom2str(chrom)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:640:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | bool is_placeable(locus,chrom) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:346: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] 346 | bool is_placeable(); /* args: int locus, new_chrom; */ | ^ ./mapm/chroms.c:687:25: warning: passing arguments to 'npt_exclusions' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | good= npt_exclusions(place,num,like_thresh,one_err_thresh,net_err_thresh, | ^ ./mapm/chroms.c:709:38: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | sf(ps,PLACE_TOOMANY,locus+1,locname(locus,TRUE)); pr(); | ^ ./mapm/chroms.c:709:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | sf(ps,PLACE_TOOMANY,locus+1,locname(locus,TRUE)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:715:15: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | sgn=ptr_to("="); | ^ ./mapm/chroms.c:716:39: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | if (support==NO_LIKE) { sgn=ptr_to("<"); support=-5.0; } | ^ ./mapm/chroms.c:717:19: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | witherr=ptr_to(""); | ^ ./mapm/chroms.c:718:45: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | if (error_lod!=NO_ERRORS) witherr=ptr_to("*with errors* "); | ^ ./mapm/chroms.c:722:36: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | sf(ps,PLACE_OFFEND,locus+1,locname(locus,TRUE),witherr, | ^ ./mapm/chroms.c:724:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:730:38: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | sf(ps,PLACE_ZERO,locus+1,locname(locus,TRUE),witherr, | ^ ./mapm/chroms.c:731:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | sgn,support); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:735:40: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | sf(ps,PLACE_UNIQUE,locus+1,locname(locus,TRUE),witherr, | ^ ./mapm/chroms.c:736:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | sgn,support); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:740:13: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | sgn2=ptr_to("="); | ^ ./mapm/chroms.c:741:41: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | if (second_best==NO_LIKE) { sgn2=ptr_to("<"); second_best=-5.0; } | ^ ./mapm/chroms.c:743:36: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | sf(ps,PLACE_REGION,locus+1,locname(locus,TRUE),witherr,good, | ^ ./mapm/chroms.c:745:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:673:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | int place_this(locus,chrom,place,like_thresh,one_err_thresh,net_err_thresh, | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:349: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] 349 | int place_this(); | ^ ./mapm/chroms.c:766:41: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | { sf(ps,PLACE_PROBLEM,locus+1,locname(locus,TRUE)); pr(); } | ^ ./mapm/chroms.c:766:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | { sf(ps,PLACE_PROBLEM,locus+1,locname(locus,TRUE)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:768:43: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | { sf(ps,PLACE_FRAMEWORK,locus+1,locname(locus,TRUE)); pr(); } | ^ ./mapm/chroms.c:768:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | { sf(ps,PLACE_FRAMEWORK,locus+1,locname(locus,TRUE)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:770:41: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | { sf(ps,PLACE_UNKNOWN,locus+1,locname(locus,TRUE)); pr(); } | ^ ./mapm/chroms.c:770:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | { sf(ps,PLACE_UNKNOWN,locus+1,locname(locus,TRUE)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:753:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | void unplace_this(locus,chrom,status,verbose) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:355: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] 355 | void unplace_this(); /* args: int locus, chrom; bool problem, print_msg; */ | ^ ./mapm/chroms.c:781:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | if (placement[locus]->num_intervals==0) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:784:45: 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] 784 | if (i==placement[locus]->num_intervals) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:776:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | int best_placement(locus) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:357: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] 357 | int best_placement(); /* args: int locus; */ | ^ ./mapm/chroms.c:789:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | int second_best_placement(locus,like) /* only ok for M_REGION */ | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:358: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] 358 | int second_best_placement(); /* args: int locus; real *like; */ | ^ ./mapm/chroms.c:823:12: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | locname(n,FALSE)); pr(); | ^ ./mapm/chroms.c:823:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | locname(n,FALSE)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:829:16: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | locname(n,FALSE),chrom2str(assignment[n]->chromosome)); pr(); | ^ ./mapm/chroms.c:829:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | locname(n,FALSE),chrom2str(assignment[n]->chromosome)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:856:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 856 | chrom2str(j)); pr(); | ^~~~~~~~~~~~ ./mapm/map_info.h:218:22: note: expanded from macro 'chrom2str' 218 | #define chrom2str(x) ((x)>=0 ? chromosome->map_list[x]->map_name : WRS("none")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mapm/chroms.c:856:7: note: treat the string as an argument to avoid this 856 | chrom2str(j)); pr(); | ^ | "%s", ./mapm/map_info.h:218:22: note: expanded from macro 'chrom2str' 218 | #define chrom2str(x) ((x)>=0 ? chromosome->map_list[x]->map_name : WRS("none")) | ^ ./mapm/chroms.c:856:22: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | chrom2str(j)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/chroms.c:857:21: warning: passing arguments to 'get_map_to_bash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | map=get_map_to_bash(chromosome); | ^ ./mapm/chroms.c:858:11: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | clean_map(map); /* num_loci -> 0 */ | ^ ./mapm/chroms.c:812:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | void bash_mapping_data(changed,num_changed) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:362: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] 362 | void bash_mapping_data(); /*args: int changed_markers[], num_changed; */ | ^ ./mapm/chroms.c:870:24: warning: passing arguments to 'allocate_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | allocate_map_list(MAX_CHROMOSOMES,MAX_CHROM_LOCI,UNSORTED,NULL); | ^ ./mapm/chroms.c:871:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | parray(assignment,num_markers,ASSIGNMENT); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/chroms.c:871:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:871:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/chroms.c:871:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:872:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | parray(placement, num_markers,PLACEMENT); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/chroms.c:872:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:872:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/chroms.c:872:5: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/chroms.c:864:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | void allocate_mapping_data(num_markers) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:360: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] 360 | void allocate_mapping_data(), free_mapping_data(); /* args: num_markers; */ | ^ ./mapm/chroms.c:896:18: warning: passing arguments to 'free_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | free_map_list(chromosome); | ^ ./mapm/chroms.c:893:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | void free_mapping_data(num_markers) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:360:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 360 | void allocate_mapping_data(), free_mapping_data(); /* args: num_markers; */ | ^ ./mapm/chroms.c:907:56: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | sf(ps,"*Chromosomes: %d\n", chromosome->num_maps); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/chroms.c:909:18: warning: passing arguments to 'write_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | write_map(fp, chromosome->map_list[i]); | ^ ./mapm/chroms.c:912:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | fprint(fp,WRS("*Assignments and Placements:\n")); | ^ ./mapm/chroms.c:915:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/chroms.c:916:46: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | if (assignment[locus]->status==M_UNKNOWN) { fnl(fp); continue; } | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/chroms.c:923:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | placement[locus]->num_intervals); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/chroms.c:930:41: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | placement[locus]->distance[j]); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/chroms.c:932:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | fnl(fp); | ^ ./mapm/../lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./mapm/../lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./mapm/chroms.c:902:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | void write_mapping_data(fp) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:361: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] 361 | void write_mapping_data(), read_mapping_data(); /* args: FILE *fp; */ | ^ ./mapm/chroms.c:946:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | fgetln_(fp); | ^ ./mapm/chroms.c:947:11: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | stoken(&ln,sREQUIRED,word); | ^ ./mapm/chroms.c:948:48: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | if (!streq(word,"*Chromosomes:") || !itoken(&ln,iREQUIRED,&num_chroms)) { | ^ ./mapm/chroms.c:949:16: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | baddata("error finding *Chromosomes:"); | ^ ./mapm/chroms.c:952:29: warning: passing arguments to 'get_map_to_bash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | map= get_map_to_bash(chromosome); | ^ ./mapm/chroms.c:953:10: warning: passing arguments to 'read_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | read_map(fp,map); | ^ ./mapm/chroms.c:954:22: warning: passing arguments to 'insert_map_into_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | insert_map_into_list(chromosome,&map); | ^ ./mapm/chroms.c:957:16: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | baddata("listed number of chromosomes and actual number do not agree"); | ^ ./mapm/chroms.c:960:12: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | fgetln_(fp); | ^ ./mapm/chroms.c:962:16: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | baddata("error finding *Assignments and Placements:"); | ^ ./mapm/chroms.c:964:18: warning: passing arguments to 'getdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | getdataln(fp); | ^ ./mapm/chroms.c:966:7: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | if (!nstoken(&ln,sREQUIRED,temp_locus_name,NAME_LEN+1) || | ^ ./mapm/../lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./mapm/chroms.c:968:11: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | baddata("expected *name"); | ^ ./mapm/chroms.c:970:11: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | baddata("locus names don't match"); | ^ ./mapm/chroms.c:973:8: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | itoken(&ln,iREQUIRED,&num); | ^ ./mapm/chroms.c:988:11: warning: passing arguments to 'baddata' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | baddata("unable to parse assignment/placement line"); | ^ ./mapm/chroms.c:993:11: warning: passing arguments to 'getdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | getdataln(fp); /* get next line */ | ^ ./mapm/chroms.c:995:12: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | itoken(&ln,iREQUIRED,&num); | ^ ./mapm/chroms.c:997:12: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | rtoken(&ln,rREQUIRED,&rnum); | ^ ./mapm/chroms.c:999:12: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | rtoken(&ln,rREQUIRED,&rnum); | ^ ./mapm/chroms.c:937:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | void read_mapping_data(fp) | ^ In file included from ./mapm/chroms.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:361:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 361 | void write_mapping_data(), read_mapping_data(); /* args: FILE *fp; */ | ^ 220 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/orders.c -o ./mapm/orders.o In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/orders.c:75:17: warning: passing arguments to 'get_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | get_two_pt(a,b,&lod,&theta); | ^ ./mapm/orders.c:79:21: warning: passing arguments to 'get_sex_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | get_sex_two_pt(a,b,&lod,&thetam,&thetaf); | ^ ./mapm/orders.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 get_linkage_group(locus,num_loci,linkage_group,group_size,lodbound, | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:134:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | void get_linkage_group(); | ^ ./mapm/orders.c:111:13: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | f2_genotype(locus[i],FALSE,old_obs); | ^ ./mapm/orders.c:112:24: warning: passing arguments to 'f2_count_infs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | num_inf= f2_count_infs(&num_dom,&foo,old_obs); | ^ ./mapm/orders.c:119:16: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | f2_genotype(locus[best_i],FALSE,old_obs); | ^ ./mapm/orders.c:127:23: warning: passing arguments to 'merge_genotypes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (merge_genotypes(locus[i],old_obs,new_obs)) { /* if no recs */ | ^ ./mapm/orders.c:128:30: warning: passing arguments to 'f2_count_infs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | num_inf= f2_count_infs(&num_dom,&foo,new_obs); | ^ ./mapm/orders.c:133:21: warning: passing arguments to 'merge_genotypes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | merge_genotypes(locus[best_i],old_obs,old_obs); /*updates old_obs*/ | ^ ./mapm/orders.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void find_haplo_group(locus,num_loci,haplo_group,num_haplo,old_obs,new_obs) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:138: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] 138 | void find_haplo_group(); /* args: loci *#loci group *#group obs1 obs2 */ | ^ ./mapm/orders.c:153:41: warning: passing arguments to 'alloc_char_3d_matrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | three_pt_excluded= alloc_char_3d_matrix(num_group,num_group,num_group); | ^ ./mapm/orders.c:154:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | array(three_pt_index,raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/orders.c:154:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:157:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/orders.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | void alloc_3pt_matrix(num_group) | ^ ./mapm/orders.c:43: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] 43 | void alloc_3pt_matrix(); /* args: int num_loci; sets a global, will free | ^ ./mapm/orders.c:165:24: warning: passing arguments to 'free_char_3d_matrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | free_char_3d_matrix(three_pt_excluded,three_pt_size,three_pt_size); | ^ ./mapm/orders.c:194:22: warning: passing arguments to 'restore_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | if (!restore_triple(locus[i],locus[j],locus[k],&d1,&d2,&d3)) | ^ ./mapm/orders.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | void setup_3pt_data(locus,num_loci,threshold) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:141: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] 141 | void setup_3pt_data(); | ^ ./mapm/orders.c:245:22: warning: passing arguments to 'restore_triple' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (!restore_triple(locus[i],locus[j],locus[k],&d1,&d2,&d3)) | ^ ./mapm/orders.c:231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | bool start_3pt(locus,num_loci,threshold,order,num_ordered) /* improve this! */ | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:147: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] 147 | bool start_3pt(); | ^ ./mapm/orders.c:281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | bool is_excluded(a,b,c) | ^ ./mapm/orders.c:24: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] 24 | bool is_excluded(), is_computed(); | ^ ./mapm/orders.c:287:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | bool is_computed(a,b,c) | ^ ./mapm/orders.c:24:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | bool is_excluded(), is_computed(); | ^ ./mapm/orders.c:293:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | void left_exclusion(excluded,locus,num_loci,newmarker) | ^ ./mapm/orders.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void left_exclusion(), right_exclusion(), middle_exclusion(); | ^ ./mapm/orders.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 right_exclusion(excluded,locus,num_loci,newmarker) | ^ ./mapm/orders.c:23:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void left_exclusion(), right_exclusion(), middle_exclusion(); | ^ ./mapm/orders.c:329:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | void middle_exclusion(excluded,locus,num_loci,leftmost,rightmost, | ^ ./mapm/orders.c:23:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void left_exclusion(), right_exclusion(), middle_exclusion(); | ^ ./mapm/orders.c:362:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | int three_pt_exclusions(order,num_placed,newmarker,excluded) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:151: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] 151 | int three_pt_exclusions(); | ^ ./mapm/orders.c:383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | bool three_pt_verify(locus,num_loci,window_size) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:158: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] 158 | bool three_pt_verify(); | ^ ./mapm/orders.c:424: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] 424 | temp->max_locirec_to_dist)(theta1); | ^ ./mapm/orders.c:461:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | dist2= (*mapfunction->rec_to_dist)(theta2); | ^ ./mapm/orders.c:462:46: 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] 462 | distframe= (*mapfunction->rec_to_dist)(map->rec_frac[i-1][0]); | ^ ./mapm/orders.c:464:52: 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] 464 | result[i]->dist= (*mapfunction->dist_to_rec)(distscale); | ^ ./mapm/orders.c:480:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | if (best_like==VERY_UNLIKELY) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | void place_locus(map,locus,start,finish,excluded,result,best_pos,best_map,temp) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:180: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] 180 | void place_locus(); | ^ ./mapm/orders.c:522:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | if (like_thresh>=0.0) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:547:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | if (best_i==-1) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.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 npt_exclusions(place,num_loci,like_thresh,one_err_thresh,net_err_thresh, | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:188: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] 188 | int npt_exclusions(); /* return num_ok_intervals */ | ^ ./mapm/orders.c:578:13: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | f2_genotype(locus[i],haplos,observations); | ^ ./mapm/orders.c:579:22: warning: passing arguments to 'f2_count_infs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | n_infs=f2_count_infs(&n_dom_obs,&n_het_obs,observations); | ^ ./mapm/orders.c:596:13: warning: passing arguments to 'get_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | get_two_pt(a,b,&lod,&theta); | ^ ./mapm/orders.c:600:18: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | f2_genotype(a,haplos,observations); | ^ ./mapm/orders.c:601:27: warning: passing arguments to 'f2_count_infs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | a_infs=f2_count_infs(&n_dom_obs,&n_het_obs,observations); | ^ ./mapm/orders.c:602:18: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | f2_genotype(b,haplos,observations); | ^ ./mapm/orders.c:603:27: warning: passing arguments to 'f2_count_infs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | b_infs=f2_count_infs(&n_dom_obs,&n_het_obs,observations); | ^ ./mapm/orders.c:563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | void informative_subset(locus,num_loci,min_infs,min_theta,codom_only,haplos, | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:163: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] 163 | void informative_subset(); | ^ ./mapm/orders.c:641:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | if (num_loci<3) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:648:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:652:18: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | keep_user_amused("subset",try+1,0); | ^ ./mapm/orders.c:654:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | sf(ps,SEED_FAILED,-thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:662:22: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | keep_user_amused("subset",++try,0); | ^ ./mapm/orders.c:666:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | sf(ps,SEED_FAILED,-thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:692:22: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | keep_user_amused("subset",++try,0); | ^ ./mapm/orders.c:697:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | sf(ps,SEED_FAILED,-thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | bool find_seed_order(is_subset,locus,num_loci,size,max_tries,thresh,map, | ^ ./mapm/orders.c:709:21: warning: passing arguments to 'make_compare_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | make_compare_seq(temp_map->locus,temp_map->num_loci,0,temp_map->num_loci); | ^ ./mapm/orders.c:710:5: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | for_all_orders(seq,temp_map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/orders.c:710:5: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/orders.c:710:5: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/orders.c:710:5: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/orders.c:714:16: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | init_rec_fracs(temp_map); | ^ ./mapm/orders.c:715:17: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | converge_to_map(temp_map); | ^ ./mapm/orders.c:717:49: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | { best2=best; best=temp_map->log_like; mapcpy(map,temp_map,TRUE); } | ^ ./mapm/orders.c:722:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | sf(ps,"Got one at log-likelihood %.2lf\n",best-best2); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:703:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | bool good_seed(map,temp_map,thresh) | ^ ./mapm/orders.c:760:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | if (placed->num_loci<2) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:762:23: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | temp_map=allocate_map(total); | ^ ./mapm/orders.c:763:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | parray(placements,total,PLACE); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/orders.c:763:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:763:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/orders.c:763:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:770:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | print("Start: "); | ^ ./mapm/orders.c:772:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | sf_locnum(placed->locus[j],FALSE); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:773:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | if (j!=placed->num_loci-1) print(" "); | ^ ./mapm/orders.c:774:4: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | } nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/orders.c:778:26: warning: passing arguments to 'extend_order_by_1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | if (!extend_order_by_1(placed,unplaced,num_unplaced,npt_thresh, | ^ ./mapm/orders.c:782:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | maybe_s(*num_unplaced)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:785:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | (placed_any ? "further ordering":"orders at all")); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:787:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | print("Maximum number of loci in one map reached.\n"); | ^ ./mapm/orders.c:792:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | { sf(ps,"Uniquely ordered all %d markers\n\n",total); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:795:20: warning: passing arguments to 'init_not_fixed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | init_not_fixed(placed); | ^ ./mapm/orders.c:796:21: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | converge_to_map(placed); | ^ ./mapm/orders.c:797:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/orders.c:798:20: warning: passing arguments to 'print_long_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | print_long_map(placed,"Map:"); | ^ ./mapm/orders.c:800:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/orders.c:801:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | print("Markers placed relative to above map:\n"); | ^ ./mapm/orders.c:802:23: warning: passing arguments to 'new_print_placements' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | new_print_placements(placed,unplaced,*num_unplaced); | ^ ./mapm/orders.c:807:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | free_map(temp_map); | ^ ./mapm/orders.c:808:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/orders.c:745:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | void extend_order(placed,unplaced,num_unplaced,npt_thresh,print_anyway) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:169: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] 169 | void extend_order(); | ^ ./mapm/orders.c:830:29: warning: passing arguments to 'randomize_markers_to_try' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | randomize_markers_to_try(unplaced,*num_unplaced); | ^ ./mapm/orders.c:843:37: warning: passing arguments to 'middles_excluded' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | if (places==1 && !middles_excluded(unplaced[i]->excluded, | ^ ./mapm/orders.c:846:19: warning: passing arguments to 'add_to_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | add_to_order(BY_3PT,placed->locus,&placed->num_loci, | ^ ./mapm/orders.c:876:19: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | init_rec_fracs(placed); converge_to_map(placed); | ^ ./mapm/orders.c:876:44: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | init_rec_fracs(placed); converge_to_map(placed); | ^ ./mapm/orders.c:877:24: warning: passing arguments to 'rank_markers_to_try' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | rank_markers_to_try(unplaced,*num_unplaced); | ^ ./mapm/orders.c:881:18: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | keep_user_amused("marker",i+1,*num_unplaced); | ^ ./mapm/orders.c:883:13: warning: passing arguments to 'find_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | find_window(placed->locus,placed->num_loci, | ^ ./mapm/orders.c:902:15: warning: passing arguments to 'add_to_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | add_to_order(i+1,placed->locus,&placed->num_loci,unplaced, | ^ ./mapm/orders.c:914:14: warning: passing arguments to 'add_to_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | add_to_order(how,placed->locus,&placed->num_loci,unplaced,i, | ^ ./mapm/orders.c:813:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | bool extend_order_by_1(placed,unplaced,num_unplaced,npt_thresh,contradiction, | ^ ./mapm/orders.c:31: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] 31 | bool extend_order_by_1(); | ^ ./mapm/orders.c:932:13: warning: passing arguments to 'f2_genotype' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | f2_genotype(unplaced[i]->locus,use_haplotypes,observations); | ^ ./mapm/orders.c:933:19: warning: passing arguments to 'f2_count_infs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | num=f2_count_infs(&n_dom,&n_het,observations); | ^ ./mapm/orders.c:935:9: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | imaxf(num-2*n_dom,0) + | ^ ./mapm/orders.c:924:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | void randomize_markers_to_try(unplaced,num_unplaced) | ^ ./mapm/orders.c:28: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] 28 | void randomize_markers_to_try(); | ^ ./mapm/orders.c:943:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | void rank_markers_to_try(unplaced,num_unplaced) | ^ ./mapm/orders.c:29: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] 29 | void rank_markers_to_try(); | ^ ./mapm/orders.c:952:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | int compare_markers_to_try(a,b) | ^ ./mapm/orders.c:27: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] 27 | int compare_markers_to_try(); | ^ ./mapm/orders.c:979:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | if (pos==*num_ordered+1) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:998:66: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | if (how>0) { sf(ps,"Npt-%d:\t ",how); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:1002:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | else if (how==BY_3PT) print("3pt: "); | ^ ./mapm/orders.c:1003:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | else if (how==BY_NPT_ENDS) print("Npt-End: "); | ^ ./mapm/orders.c:1004:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | else if (how==BY_NPT_ERRORS) print("Npt-Err: "); | ^ ./mapm/orders.c:1005:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | else if (how==BY_3PT_ENDS) print("3pt-End: "); | ^ ./mapm/orders.c:1006:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | else send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/orders.c:1007:14: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | to_column(9); | ^ ./mapm/orders.c:1010:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | sf_locnum(order[i],(order[i]==new_marker)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/orders.c:1011:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | if (i!=*num_ordered-1) print(" "); | ^ ./mapm/orders.c:1012:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | } nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/orders.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 add_to_order(how,order,num_ordered,unplaced,index,num_unplaced) | ^ ./mapm/orders.c:26: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] 26 | void add_to_order(); | ^ ./mapm/orders.c:1023:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | void find_window(order,num_placed,new_locus,excluded,min_window,start,end) | ^ In file included from ./mapm/orders.c:17: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:175: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] 175 | void find_window(); | ^ ./mapm/orders.c:1040:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | int count_positions(excluded,num_order,first_place) | ^ ./mapm/orders.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 | bool middles_excluded(excluded,num_order) | ^ ./mapm/orders.c:33: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] 33 | bool middles_excluded(); | ^ 149 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/sys_cmds.c -o ./mapm/sys_cmds.o In file included from ./mapm/sys_cmds.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/sys_cmds.c:48:20: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | if (!make_filename(name,mode,ext)) | ^ ./mapm/sys_cmds.c:49:37: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | { sf(ps,BAD_FILENAME,name); error(ps); } | ^ ./mapm/sys_cmds.c:50:21: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | fp=open_file(name,READ); | ^ ./mapm/sys_cmds.c:51:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | } except_when(CANTOPEN) | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sys_cmds.c:52:68: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | { sf(ps,LOAD_CANTOPEN,name,(prev_data ? PREV_KEPT:"")); error(ps); } | ^ ./mapm/sys_cmds.c:40:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | FILE *try_to_open(name,mode,ext,prev_data) /* return fp or send error */ | ^ ./mapm/sys_cmds.c:19:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | FILE *try_to_open(); | ^ ./mapm/sys_cmds.c:66:15: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | run getln("save current data set first? [yes] "); | ^ ./mapm/sys_cmds.c:69:13: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | default: relay; | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/sys_cmds.c:71:16: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (stoken(&ln,sREQUIRED,token) && matches(token,"no")) | ^ ./mapm/sys_cmds.c:71:41: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (stoken(&ln,sREQUIRED,token) && matches(token,"no")) | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/sys_cmds.c:74:35: warning: passing arguments to 'do_save_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (do_save && doit) do_save_data(raw.filename,genos_too); | ^ ./mapm/sys_cmds.c:75:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | else if (do_save) print("ok - not saving data\n"); | ^ ./mapm/sys_cmds.c:76:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | else /* !do_save */ print(NO_AUTOSAVE); | ^ ./mapm/sys_cmds.c:80:22: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | if (msg==INTERRUPT) relay; | ^ ./mapm/../lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./mapm/sys_cmds.c:81:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | print(SAVE_ERR1); trapped_msg(); print(SAVE_ERR2); | ^ ./mapm/sys_cmds.c:81:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | print(SAVE_ERR1); trapped_msg(); print(SAVE_ERR2); | ^ ./mapm/sys_cmds.c:82:44: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | if (fp!=NULL && msg!=CANTCLOSE) close_file(fp); | ^ ./mapm/sys_cmds.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 try_to_unload(fp,ask_first,do_save,do_unload,genos_too) | ^ ./mapm/sys_cmds.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void try_to_unload(); | ^ ./mapm/sys_cmds.c:97:21: warning: passing arguments to 'do_load_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | do_load_data(fp,name,raw); | ^ ./mapm/sys_cmds.c:98:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | close_file(fp); | ^ ./mapm/sys_cmds.c:101:19: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | make_filename(run_file,FORCE_EXTENSION,WRS(PREP_EXT)); | ^ ./mapm/sys_cmds.c:102:25: warning: passing arguments to 'redirect_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if (!redirect_input(run_file,FALSE)) { | ^ ./mapm/sys_cmds.c:104:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | run_file); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:108:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | run_file); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:112:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | sf(ps,LOAD_ERROR,(prev_data ? PREV_LOST:"")); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:113:32: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | if (msg!=CANTCLOSE) close_file(fp); | ^ ./mapm/sys_cmds.c:114:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | if (msg==BADDATA) { print(BADDATA_reason); nl(); } | ^ ./mapm/sys_cmds.c:114:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | if (msg==BADDATA) { print(BADDATA_reason); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sys_cmds.c:116:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if (data_loaded()) print(LOAD_MAYBE); | ^ ./mapm/sys_cmds.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void try_to_load(fp,name,prev_data,raw) | ^ ./mapm/sys_cmds.c:21: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] 21 | void try_to_load(); | ^ ./mapm/sys_cmds.c:126:45: warning: passing arguments to 'data_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | sf(ps,DATA_LOADED,raw.filename,data_info(TRUE)); fpr(fp); | ^ ./mapm/sys_cmds.c:126:54: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | sf(ps,DATA_LOADED,raw.filename,data_info(TRUE)); fpr(fp); | ^ ./mapm/../lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./mapm/sys_cmds.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void mapm_data_info(fp) | ^ In file included from ./mapm/sys_cmds.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | void mapm_data_info(); /* for mapm_update_hook() */ | ^ ./mapm/sys_cmds.c:140:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | mapm_ready(MAYBE_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:141:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | get_one_arg(stoken,"",name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:141:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:141:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:141:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:141:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:144:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (nullstr(name)) { | ^ ./mapm/sys_cmds.c:145:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if (!prev_data) print("no data are loaded\n"); | ^ ./mapm/sys_cmds.c:146:49: warning: passing arguments to 'data_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | else { sf(ps,DATA_LOADED,raw.filename,data_info(TRUE)); pr(); } | ^ ./mapm/sys_cmds.c:146:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | else { sf(ps,DATA_LOADED,raw.filename,data_info(TRUE)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:164:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | mapm_ready(MAYBE_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:165:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | get_one_arg(stoken,sREQUIRED,name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:165:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:165:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:165:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:165:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:185:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:186:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | get_one_arg(stoken,"",name); new_name= !nullstr(name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:186:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:186:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:186:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:186:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:186:52: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | get_one_arg(stoken,"",name); new_name= !nullstr(name); | ^ ./mapm/sys_cmds.c:189:35: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | if (new_name && !make_filename(name,FORCE_EXTENSION,WRS(DATA_EXT))) | ^ ./mapm/sys_cmds.c:190:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | { sf(ps,BAD_FILENAME,name); error(ps); } | ^ ./mapm/sys_cmds.c:198:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/sys_cmds.c:214:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | mapm_ready(ANY_DATA,1,LIST_SEQ,NULL); | ^ ./mapm/sys_cmds.c:215:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | get_one_arg(stoken,sREQUIRED,name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:215:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:215:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:215:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:215:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:216:19: warning: passing arguments to 'isa_class' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if (!isa_class(name,&classnum)) { sf(ps,NOT_A_CLASS,name); error(ps); } | ^ ./mapm/sys_cmds.c:216:69: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | if (!isa_class(name,&classnum)) { sf(ps,NOT_A_CLASS,name); error(ps); } | ^ ./mapm/sys_cmds.c:219:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | alloc_list_of_all_loci(seq,&locus,&n_loci); | ^ ./mapm/sys_cmds.c:222:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | class_name[classnum]); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:225:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/sys_cmds.c:236:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:238:18: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | while (stoken(&uncrunched_args,sREQUIRED,name)) | ^ ./mapm/sys_cmds.c:239:26: warning: passing arguments to 'make_new_class' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | if (!make_new_class(name,&errmsg)) | ^ ./mapm/sys_cmds.c:240:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | { sf(ps,CANT_MAKE_CLASS,name,errmsg); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:242:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | print("classes defined: "); print_class_names(); nl(); | ^ ./mapm/sys_cmds.c:242:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | print("classes defined: "); print_class_names(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sys_cmds.c:252:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | mapm_ready(ANY_DATA,1,LIST_SEQ,NULL); | ^ ./mapm/sys_cmds.c:254:16: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (!stoken(&args,sREQUIRED,token)) usage_error(1); | ^ ./mapm/sys_cmds.c:254:52: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (!stoken(&args,sREQUIRED,token)) usage_error(1); | ^ ./mapm/sys_cmds.c:257:21: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | else usage_error(1); | ^ ./mapm/sys_cmds.c:260:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | alloc_list_of_all_loci(seq,&locus,&n_loci); | ^ ./mapm/sys_cmds.c:263:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | (mod ? "new":"old")); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:267:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/sys_cmds.c:280:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | mapm_ready(ANY_DATA,1,LIST_SEQ,NULL); | ^ ./mapm/sys_cmds.c:282:16: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | if (!rtoken(&args,rREQUIRED,&rate) || !rrange(&rate,0.0,10.0)) | ^ ./mapm/sys_cmds.c:282:50: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | if (!rtoken(&args,rREQUIRED,&rate) || !rrange(&rate,0.0,10.0)) | ^ ./mapm/sys_cmds.c:283:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | usage_error(1); | ^ ./mapm/sys_cmds.c:287:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | alloc_list_of_all_loci(seq,&locus,&n_loci); | ^ ./mapm/sys_cmds.c:289:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | sf(ps,ERROR_PROB_IS,rate); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:293:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/sys_cmds.c:303:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | char *middle=ptr_to(""), *name=get_temp_string(), *rest, *errmsg; | ^ ./mapm/sys_cmds.c:305:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | mapm_ready(ANY_DATA,0,0,&n_loci); | ^ ./mapm/sys_cmds.c:312:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if (nullstr(uncrunched_args)) { | ^ ./mapm/sys_cmds.c:313:26: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | if (n_loci==0) error("note args error"); /* FIX */ | ^ ./mapm/sys_cmds.c:314:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | alloc_list_of_all_loci(seq,&locus,&n_loci); | ^ ./mapm/sys_cmds.c:315:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | print("\nNotes:\n"); | ^ ./mapm/sys_cmds.c:317:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | if (nullstr(note[locus[i]])) | ^ ./mapm/sys_cmds.c:318:28: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | sf(ps,NOTE_FORM,loc2str(locus[i]),""); | ^ ./mapm/sys_cmds.c:320:28: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | sf(ps,NOTE_FORM,loc2str(locus[i]),note[locus[i]]); | ^ ./mapm/sys_cmds.c:321:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:324:26: warning: passing arguments to 'split_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | } else if (!split_string(uncrunched_args,&rest,':')) { | ^ ./mapm/sys_cmds.c:325:12: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | stoken(&uncrunched_args,sREQUIRED,name); | ^ ./mapm/sys_cmds.c:326:21: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if (!is_a_locus(name,&n,&errmsg) || !nullstr(uncrunched_args)) | ^ ./mapm/sys_cmds.c:326:50: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if (!is_a_locus(name,&n,&errmsg) || !nullstr(uncrunched_args)) | ^ ./mapm/sys_cmds.c:327:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | error("note args error"); /* FIX */ | ^ ./mapm/sys_cmds.c:328:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | print("\nNote:\n"); | ^ ./mapm/sys_cmds.c:329:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (nullstr(note[n])) | ^ ./mapm/sys_cmds.c:330:31: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | sf(ps,NOTE_FORM,loc2str(n),""); | ^ ./mapm/sys_cmds.c:333:31: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | sf(ps,NOTE_FORM,loc2str(n),note[n]); | ^ ./mapm/sys_cmds.c:334:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:337:12: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | stoken(&uncrunched_args,sREQUIRED,name); | ^ ./mapm/sys_cmds.c:338:21: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (!is_a_locus(name,&n,NULL) || !nullstr(uncrunched_args)) | ^ ./mapm/sys_cmds.c:338:47: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (!is_a_locus(name,&n,NULL) || !nullstr(uncrunched_args)) | ^ ./mapm/sys_cmds.c:339:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | error("note args error"); /* FIX */ | ^ ./mapm/sys_cmds.c:341:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (len(rest)>MAX_NOTE_LEN) print("warning: note too long\n"); | ^ ./mapm/sys_cmds.c:342:13: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | nstrcpy(note[n],rest,MAX_NOTE_LEN); | ^ ./mapm/sys_cmds.c:357:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:359:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (nullstr(args)) { print_sequence(); return; } | ^ ./mapm/sys_cmds.c:361:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | nstrcpy(new_seq,args,MAX_SEQ_LEN); | ^ ./mapm/sys_cmds.c:362:17: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | set_current_seq(new_seq,FALSE); | ^ ./mapm/sys_cmds.c:364:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (alloc_list_of_all_loci(seq,&locus,&num_loci)) { | ^ ./mapm/sys_cmds.c:365:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,TRUE,MAYBE); | ^ ./mapm/sys_cmds.c:368:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | } except_when(BADSEQ) print_badseq(); | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sys_cmds.c:376:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:379:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | if (nullstr(args)) { | ^ ./mapm/sys_cmds.c:382:16: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | } else nstrcpy(new_seq,args,MAX_SEQ_LEN); | ^ ./mapm/sys_cmds.c:383:17: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | set_current_seq(new_seq,TRUE); | ^ ./mapm/sys_cmds.c:385:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if (alloc_list_of_all_loci(seq,&locus,&num_loci)) { | ^ ./mapm/sys_cmds.c:386:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,TRUE,MAYBE); | ^ ./mapm/sys_cmds.c:389:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | } except_when(BADSEQ) print_badseq(); | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sys_cmds.c:399:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:402:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (nullstr(args)) { | ^ ./mapm/sys_cmds.c:408:2: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | get_one_arg(stoken,sREQUIRED,name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:408:2: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:408:2: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:408:2: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:408:2: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:417:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | error(ps); | ^ ./mapm/sys_cmds.c:420:14: warning: passing arguments to 'edit_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | edit_line(prompt,new_seq,MAX_SEQ_LEN,new_seq); | ^ ./mapm/sys_cmds.c:423:21: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | set_current_seq(new_seq,FALSE); | ^ ./mapm/sys_cmds.c:424:32: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if (alloc_list_of_all_loci(seq,&locus,&num_loci)) { | ^ ./mapm/sys_cmds.c:425:20: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,TRUE,MAYBE); | ^ ./mapm/sys_cmds.c:428:4: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | } except_when(BADSEQ) print_badseq(); | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sys_cmds.c:430:20: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (!name_sequence(name,new_seq,&err,FALSE)) error(err); | ^ ./mapm/sys_cmds.c:430:52: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (!name_sequence(name,new_seq,&err,FALSE)) error(err); | ^ ./mapm/sys_cmds.c:432:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | print("ok\n"); | ^ ./mapm/sys_cmds.c:441:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:442:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | get_one_arg(itoken,20,&num_to_do); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:442:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:442:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:442:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:442:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:444:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | print("Previous Sequences:\n"); | ^ ./mapm/sys_cmds.c:445:23: warning: passing arguments to 'print_history_seqs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | print_history_seqs(num_to_do); | ^ ./mapm/sys_cmds.c:453:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:455:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if (nullstr(args) || !split_arglist(&seq,'=')) usage_error(0); | ^ ./mapm/sys_cmds.c:455:40: warning: passing arguments to 'split_arglist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if (nullstr(args) || !split_arglist(&seq,'=')) usage_error(0); | ^ ./mapm/sys_cmds.c:455:63: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | if (nullstr(args) || !split_arglist(&seq,'=')) usage_error(0); | ^ ./mapm/sys_cmds.c:456:16: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (!stoken(&args,sREQUIRED,name) || !nullstr(args)) usage_error(1); | ^ ./mapm/sys_cmds.c:456:50: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (!stoken(&args,sREQUIRED,name) || !nullstr(args)) usage_error(1); | ^ ./mapm/sys_cmds.c:456:69: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | if (!stoken(&args,sREQUIRED,name) || !nullstr(args)) usage_error(1); | ^ ./mapm/sys_cmds.c:457:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (nullstr(seq)) strcpy(seq,"none"); | ^ ./mapm/sys_cmds.c:459:23: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (!name_sequence(name,new_seq,&err,FALSE)) error(err); | ^ ./mapm/sys_cmds.c:459:55: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (!name_sequence(name,new_seq,&err,FALSE)) error(err); | ^ ./mapm/sys_cmds.c:460:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | sf(ps,"%s= %s\n",name,new_seq); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:470:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:472:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:472:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:473:22: warning: passing arguments to 'split_arglist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | if (split_arglist(&seq,'=')) set_me=TRUE; | ^ ./mapm/sys_cmds.c:474:16: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | if (!stoken(&args,sREQUIRED,name) || !nullstr(args)) usage_error(1); | ^ ./mapm/sys_cmds.c:474:50: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | if (!stoken(&args,sREQUIRED,name) || !nullstr(args)) usage_error(1); | ^ ./mapm/sys_cmds.c:474:69: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | if (!stoken(&args,sREQUIRED,name) || !nullstr(args)) usage_error(1); | ^ ./mapm/sys_cmds.c:476:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | if (nullstr(seq)) strcpy(seq,"none"); | ^ ./mapm/sys_cmds.c:477:20: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | if (!name_sequence(name,seq,&err,TRUE)) error(err); | ^ ./mapm/sys_cmds.c:477:47: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | if (!name_sequence(name,seq,&err,TRUE)) error(err); | ^ ./mapm/sys_cmds.c:478:20: warning: passing arguments to 'is_a_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (!is_a_sequence(name,&seq,&err)) send(CRASH); | ^ ./mapm/sys_cmds.c:478:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (!is_a_sequence(name,&seq,&err)) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/sys_cmds.c:480:20: warning: passing arguments to 'is_a_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | if (!is_a_sequence(name,&seq,&err)) | ^ ./mapm/sys_cmds.c:481:51: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | { sf(ps,"name '%s' is not defined",name); error(ps); } | ^ ./mapm/sys_cmds.c:484:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | sf(ps,"%s= %s\n",name,seq); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:490:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:491:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | nomore_args(0); | ^ ./mapm/sys_cmds.c:502:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/sys_cmds.c:503:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | get_one_arg(stoken,sREQUIRED,name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/sys_cmds.c:503:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:503:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/sys_cmds.c:503:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/sys_cmds.c:503:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/sys_cmds.c:505:25: warning: passing arguments to 'unname_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | if (!unname_sequence(name,&errmsg)) { | ^ ./mapm/sys_cmds.c:507:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | error(ps); | ^ ./mapm/sys_cmds.c:508:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | } else print("ok\n"); | ^ ./mapm/sys_cmds.c:519:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | mapm_ready(ANY_DATA,1,MAYBE_PERM,NULL); | ^ ./mapm/sys_cmds.c:520:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:520:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:521:21: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | parse_locus_args(&locus,&num_loci); /* error if fails */ | ^ ./mapm/sys_cmds.c:525:14: warning: passing arguments to 'tokenize_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | tokenize_seq(new_seq,seq_tokens,&num_seq_tokens); | ^ ./mapm/sys_cmds.c:533:13: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | if (xstreq(locus_num,seq_tokens[i]) || | ^ ./mapm/sys_cmds.c:534:15: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | xstreq(locus_plus,seq_tokens[i]) || | ^ ./mapm/sys_cmds.c:535:15: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | xstreq(locus_name,seq_tokens[i])) { | ^ ./mapm/sys_cmds.c:547:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | locus_num,locus_name); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:550:16: warning: passing arguments to 'untokenize_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | untokenize_seq(new_seq,seq_tokens,num_seq_tokens); | ^ ./mapm/sys_cmds.c:551:17: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | set_current_seq(new_seq,FALSE); | ^ ./mapm/sys_cmds.c:552:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | if (alloc_list_of_all_loci(seq,&seq_locus,&seq_loci)) | ^ ./mapm/sys_cmds.c:553:21: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | crunch_locus_list(seq_locus,&seq_loci,CRUNCH_WARNINGS,TRUE,MAYBE); | ^ ./mapm/sys_cmds.c:569:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | mapm_ready(ANY_DATA,1,MAYBE_PERM,NULL); | ^ ./mapm/sys_cmds.c:570:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:570:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:571:12: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | despace(args); | ^ ./mapm/sys_cmds.c:576:17: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | set_current_seq(new_seq,FALSE); | ^ ./mapm/sys_cmds.c:578:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | if (alloc_list_of_all_loci(seq,&locus,&num_loci)) { | ^ ./mapm/sys_cmds.c:579:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,TRUE,MAYBE); | ^ ./mapm/sys_cmds.c:582:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | } except_when(BADSEQ) print_badseq(); | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sys_cmds.c:593:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | mapm_ready(ANY_DATA,1,MAYBE_PERM,NULL); | ^ ./mapm/sys_cmds.c:594:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:594:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | if (nullstr(args)) usage_error(0); | ^ ./mapm/sys_cmds.c:595:23: warning: passing arguments to 'split_arglist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (!split_arglist(&appendage,':') || nullstr(appendage) || | ^ ./mapm/sys_cmds.c:595:50: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (!split_arglist(&appendage,':') || nullstr(appendage) || | ^ ./mapm/sys_cmds.c:596:9: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | !stoken(&args,"",name) || !nullstr(args)) | ^ ./mapm/sys_cmds.c:596:36: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | !stoken(&args,"",name) || !nullstr(args)) | ^ ./mapm/sys_cmds.c:597:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | usage_error(1); | ^ ./mapm/sys_cmds.c:598:37: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | if (len(appendage)>TOKLEN) error("sequence to insert is too long"); | ^ ./mapm/sys_cmds.c:600:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | if (!nullstr(name)) { | ^ ./mapm/sys_cmds.c:602:24: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | if (!is_a_locus(name,&locus,&errmsg)) error(errmsg); /* do better */ | ^ ./mapm/sys_cmds.c:602:52: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | if (!is_a_locus(name,&locus,&errmsg)) error(errmsg); /* do better */ | ^ ./mapm/sys_cmds.c:609:14: warning: passing arguments to 'tokenize_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | tokenize_seq(new_seq,seq_tokens,&num_seq_tokens); | ^ ./mapm/sys_cmds.c:614:9: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | xstreq(locus_plus,seq_tokens[i]) || | ^ ./mapm/sys_cmds.c:615:9: warning: passing arguments to 'xstreq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | xstreq(locus_name,seq_tokens[i])) { found=TRUE; break; } | ^ ./mapm/sys_cmds.c:619:33: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | locus_num,locus_name); error(ps); } | ^ ./mapm/sys_cmds.c:627:16: warning: passing arguments to 'untokenize_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | untokenize_seq(new_seq,seq_tokens,num_seq_tokens); | ^ ./mapm/sys_cmds.c:628:17: warning: passing arguments to 'set_current_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | set_current_seq(new_seq,FALSE); | ^ ./mapm/sys_cmds.c:630:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | if (alloc_list_of_all_loci(seq,&loci,&num_loci)) { | ^ ./mapm/sys_cmds.c:631:23: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | crunch_locus_list(loci,&num_loci,CRUNCH_WARNINGS,TRUE,MAYBE); | ^ ./mapm/sys_cmds.c:634:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | } except_when(BADSEQ) print_badseq(); | ^ ./mapm/../lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./mapm/sys_cmds.c:643:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | mapm_ready(ANY_DATA,MAYBE_SEQ,UNCRUNCHED_LIST,&num_loci); | ^ ./mapm/sys_cmds.c:645:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | if (!nullstr(args)) { | ^ ./mapm/sys_cmds.c:646:22: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | parse_locus_args(&locus,&num_loci); /* error if fails */ | ^ ./mapm/sys_cmds.c:647:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | if (num_loci==0) print("no loci\n"); | ^ ./mapm/sys_cmds.c:650:33: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | if (!alloc_list_of_all_loci(seq,&locus,&num_loci)) | ^ ./mapm/sys_cmds.c:651:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | error(NEED_SEQ_OR_ARGS); | ^ ./mapm/sys_cmds.c:655:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,source); | ^ ./mapm/sys_cmds.c:662:16: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | pad_to_len(ps,14); pr(); | ^ ./mapm/sys_cmds.c:662:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | pad_to_len(ps,14); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/sys_cmds.c:663:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | if (i==num_loci-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/sys_cmds.c:663:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | if (i==num_loci-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/sys_cmds.c:667:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ 250 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/two_cmds.c -o ./mapm/two_cmds.o In file included from ./mapm/two_cmds.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/two_cmds.c:32:66: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | { sf(ps,"%s at min LOD %.2lf, max Distance %s",str,lod,rag(rf2str(theta))); | ^ ./mapm/two_cmds.c:32:59: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | { sf(ps,"%s at min LOD %.2lf, max Distance %s",str,lod,rag(rf2str(theta))); | ^ ./mapm/two_cmds.c:33:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:29:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | void print_2pt_criteria(str,lod,theta) | ^ ./mapm/two_cmds.c:25: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] 25 | void print_2pt_criteria(); | ^ ./mapm/two_cmds.c:39:16: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (!rtoken(argptr,default_lod,lod) || !rrange(lod,0.0,1000.0)) | ^ ./mapm/two_cmds.c:39:51: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (!rtoken(argptr,default_lod,lod) || !rrange(lod,0.0,1000.0)) | ^ ./mapm/two_cmds.c:40:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | error("bad value for min LOD score"); | ^ ./mapm/two_cmds.c:41:16: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!rtoken(argptr,default_theta,theta) || !input_dist(theta)) | ^ ./mapm/two_cmds.c:41:59: warning: passing arguments to 'input_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!rtoken(argptr,default_theta,theta) || !input_dist(theta)) | ^ ./mapm/two_cmds.c:42:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | error("bad value for max distance"); | ^ ./mapm/two_cmds.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | void parse_2pt_criteria(argptr,lod,theta) | ^ ./mapm/two_cmds.c:26: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] 26 | void parse_2pt_criteria(); | ^ ./mapm/two_cmds.c:50:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | mapm_ready(ANY_DATA,2,UNCRUNCHED_LIST,NULL); | ^ ./mapm/two_cmds.c:51:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | nomore_args(0); | ^ ./mapm/two_cmds.c:55:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | alloc_list_of_all_loci(seq,&locus,&num_loci); | ^ ./mapm/two_cmds.c:56:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:60:22: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | keep_user_amused("pair",count++,total); | ^ ./mapm/two_cmds.c:61:20: warning: passing arguments to 'compute_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | compute_two_pt(a,b); | ^ ./mapm/two_cmds.c:63:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | print("two-point data are available.\n"); | ^ ./mapm/two_cmds.c:67:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:80:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | mapm_ready(ANY_DATA,2,UNCRUNCHED_LIST,NULL); | ^ ./mapm/two_cmds.c:82:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | nomore_args(2); | ^ ./mapm/two_cmds.c:85:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | alloc_list_of_all_loci(seq,&loci,&num_loci); | ^ ./mapm/two_cmds.c:86:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | crunch_locus_list(loci,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:87:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | array(linkage_group,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:87:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:88:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | array(really_unlinked,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:88:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:89:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | print_2pt_criteria("Linkage Groups",lodbound,thetabound); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:97:23: warning: passing arguments to 'get_linkage_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | get_linkage_group(loci,&num_left,linkage_group,&group_size, | ^ ./mapm/two_cmds.c:101:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (num_linkage_groups>0) print(GROUP_DIVIDER); else nl(); | ^ ./mapm/two_cmds.c:101:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | if (num_linkage_groups>0) print(GROUP_DIVIDER); else nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:102:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | sf(ps,"group%d= ",num_linkage_groups+1); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:104:24: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | print(rag(loc2str(linkage_group[i]))); print(" "); | ^ ./mapm/two_cmds.c:104:16: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | print(rag(loc2str(linkage_group[i]))); print(" "); | ^ ./mapm/two_cmds.c:104:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | print(rag(loc2str(linkage_group[i]))); print(" "); | ^ ./mapm/two_cmds.c:104:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | print(rag(loc2str(linkage_group[i]))); print(" "); | ^ ./mapm/two_cmds.c:107:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:116:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if (num_linkage_groups>0) print(GROUP_DIVIDER); else nl(); | ^ ./mapm/two_cmds.c:116:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if (num_linkage_groups>0) print(GROUP_DIVIDER); else nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:117:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | print("unlinked= "); | ^ ./mapm/two_cmds.c:119:20: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | print(rag(loc2str(really_unlinked[i]))); print(" "); | ^ ./mapm/two_cmds.c:119:12: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | print(rag(loc2str(really_unlinked[i]))); print(" "); | ^ ./mapm/two_cmds.c:119:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | print(rag(loc2str(really_unlinked[i]))); print(" "); | ^ ./mapm/two_cmds.c:119:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | print(rag(loc2str(really_unlinked[i]))); print(" "); | ^ ./mapm/two_cmds.c:122:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:130:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:151:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | mapm_ready(F2_DATA,2,UNCRUNCHED_LIST,&num_loci); | ^ ./mapm/two_cmds.c:152:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | get_arg(stoken,"",first); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/two_cmds.c:152:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/two_cmds.c:152:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/two_cmds.c:152:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/two_cmds.c:157:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | print("\nHaplotype groups allow NO Obligate Recombinants.\n"); | ^ ./mapm/two_cmds.c:160:23: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | } else if (nullstr(args)) { | ^ ./mapm/two_cmds.c:163:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | if (any) print(HAP_ON_NOTE); else print(HAP_OFF_NOTE); | ^ ./mapm/two_cmds.c:163:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | if (any) print(HAP_ON_NOTE); else print(HAP_OFF_NOTE); | ^ ./mapm/two_cmds.c:165:23: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | } else usage_error(1); | ^ ./mapm/two_cmds.c:166:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | nomore_args(0); | ^ ./mapm/two_cmds.c:169:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | array(loci,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:169:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:170:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | array(linkage_group,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:170:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:171:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | array(haplo_group,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:171:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:172:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | array(obs1,raw.data.f2.num_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:172:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:173:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | array(obs2,raw.data.f2.num_indivs,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:173:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:174:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | array(changed,2*raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:174:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:175:22: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | get_list_of_all_loci(seq,loci,&num_loci,num_loci); /* no crunching */ | ^ ./mapm/two_cmds.c:182:25: warning: passing arguments to 'delete_haplo_groups' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | if (delete_haplo_groups(loci,num_loci,changed,&num_changed)) { | ^ ./mapm/two_cmds.c:184:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:187:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | nl(); num_left=num_loci; | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:189:20: warning: passing arguments to 'get_linkage_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | get_linkage_group(loci,&num_left,linkage_group,&group_size, | ^ ./mapm/two_cmds.c:194:20: warning: passing arguments to 'find_haplo_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | find_haplo_group(linkage_group,&group_size,haplo_group, | ^ ./mapm/two_cmds.c:197:25: warning: passing arguments to 'setup_haplo_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | setup_haplo_group(haplo_group,num_haplo); | ^ ./mapm/two_cmds.c:200:18: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | locname(haplo_first[haplo_group[0]],TRUE)); | ^ ./mapm/two_cmds.c:201:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:203:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | if (i!=0) print(" "); | ^ ./mapm/two_cmds.c:204:22: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | print(rag(locname(haplo_group[i],FALSE))); | ^ ./mapm/two_cmds.c:204:14: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | print(rag(locname(haplo_group[i],FALSE))); | ^ ./mapm/two_cmds.c:204:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | print(rag(locname(haplo_group[i],FALSE))); | ^ ./mapm/two_cmds.c:207:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | print("]\n"); | ^ ./mapm/two_cmds.c:213:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:214:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (num_linkage_groups==0) print(HAP_NO_GROUPS); | ^ ./mapm/two_cmds.c:215:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | else if (num_haplo_groups==0) print(HAP_NO_HAPLOS); | ^ ./mapm/two_cmds.c:218:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | if (!find_em) nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:220:23: warning: passing arguments to 'bash_mapping_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | bash_mapping_data(changed,num_changed); | ^ ./mapm/two_cmds.c:221:21: warning: passing arguments to 'bash_order_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | bash_order_info(changed,num_changed); | ^ ./mapm/two_cmds.c:225:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | if (any) print(HAP_ON_NOTE); else print(HAP_OFF_NOTE); | ^ ./mapm/two_cmds.c:225:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | if (any) print(HAP_ON_NOTE); else print(HAP_OFF_NOTE); | ^ ./mapm/two_cmds.c:234:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:243:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | mapm_ready(F2_DATA,0,0,NULL); | ^ ./mapm/two_cmds.c:245:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (nullstr(args)) usage_error(1); | ^ ./mapm/two_cmds.c:245:32: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (nullstr(args)) usage_error(1); | ^ ./mapm/two_cmds.c:246:18: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | parse_locus_args(&loci,&num_loci); /* error if fails, is uncrunched */ | ^ ./mapm/two_cmds.c:247:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | array(changed,2*raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:247:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:249:25: warning: passing arguments to 'delete_haplo_groups' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | if (delete_haplo_groups(loci,num_loci,changed,&num_changed)) | ^ ./mapm/two_cmds.c:250:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | { sf(ps,HAP_DEL_NOTE,"these"); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:251:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | else print("No haplotype groups to delete\n"); | ^ ./mapm/two_cmds.c:254:23: warning: passing arguments to 'bash_mapping_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | bash_mapping_data(changed,num_changed); | ^ ./mapm/two_cmds.c:255:21: warning: passing arguments to 'bash_order_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | bash_order_info(changed,num_changed); | ^ ./mapm/two_cmds.c:260:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:269:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | mapm_ready(ANY_DATA,MAYBE_SEQ,UNCRUNCHED_LIST,NULL); | ^ ./mapm/two_cmds.c:271:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | if (!nullstr(args)) { | ^ ./mapm/two_cmds.c:272:22: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | parse_locus_args(&locus,&num_loci); /* error if fails */ | ^ ./mapm/two_cmds.c:273:28: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if (num_loci==0) error("no loci in arguments\n"); | ^ ./mapm/two_cmds.c:275:33: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if (!alloc_list_of_all_loci(seq,&locus,&num_loci)) | ^ ./mapm/two_cmds.c:276:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | error(NEED_SEQ_OR_ARGS); | ^ ./mapm/two_cmds.c:278:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:279:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | crunch_locus_list(locus,&num_loci,SILENTLY,ANY_CHROMS,0); | ^ ./mapm/two_cmds.c:280:37: warning: passing arguments to 'print_haplo_summary' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | hold(more_mode) print_haplo_summary(locus,num_loci); | ^ ./mapm/two_cmds.c:284:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:293:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | mapm_ready(ANY_DATA,MAYBE_SEQ,UNCRUNCHED_LIST,NULL); | ^ ./mapm/two_cmds.c:295:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | if (!nullstr(args)) { | ^ ./mapm/two_cmds.c:296:22: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | parse_locus_args(&locus,&num_loci); /* error if fails */ | ^ ./mapm/two_cmds.c:297:28: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | if (num_loci==0) error("no loci in arguments\n"); | ^ ./mapm/two_cmds.c:300:33: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if (!alloc_list_of_all_loci(seq,&locus,&num_loci)) | ^ ./mapm/two_cmds.c:301:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | error(NEED_SEQ_OR_ARGS); | ^ ./mapm/two_cmds.c:304:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,source); | ^ ./mapm/two_cmds.c:305:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:306:37: warning: passing arguments to 'print_locus_summary' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | hold(more_mode) print_locus_summary(locus,num_loci,use_haplotypes); | ^ ./mapm/two_cmds.c:310:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:324:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | mapm_ready(ANY_DATA,2,UNCRUNCHED_LIST,NULL); | ^ ./mapm/two_cmds.c:326:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | nomore_args(2); | ^ ./mapm/two_cmds.c:329:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | alloc_list_of_all_loci(seq,&loci,&num_loci); | ^ ./mapm/two_cmds.c:330:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | crunch_locus_list(loci,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:331:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | print_2pt_criteria("Linked Marker Pairs",lodbound,thetabound); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:332:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | if (!sex_specific) print(NOSEX_BIGLODS); else print(SEX_BIGLODS); | ^ ./mapm/two_cmds.c:332:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | if (!sex_specific) print(NOSEX_BIGLODS); else print(SEX_BIGLODS); | ^ ./mapm/two_cmds.c:336:20: warning: passing arguments to 'print_biglod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | print_biglod(a,b,lodbound,thetabound,sex_specific,NO_CHROM)) n++; | ^ ./mapm/two_cmds.c:337:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (n==0) print("no linked markers in sequence\n"); | ^ ./mapm/two_cmds.c:340:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:351:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | mapm_ready(ANY_DATA,2,UNCRUNCHED_LIST,NULL); | ^ ./mapm/two_cmds.c:352:22: warning: passing arguments to 'split_arglist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (split_arglist(&rest,':') && !nullstr(rest)) { | ^ ./mapm/two_cmds.c:352:45: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | if (split_arglist(&rest,':') && !nullstr(rest)) { | ^ ./mapm/two_cmds.c:354:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | if (!nullstr(rest)) usage_error(0); | ^ ./mapm/two_cmds.c:354:33: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | if (!nullstr(rest)) usage_error(0); | ^ ./mapm/two_cmds.c:356:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | if (nullstr(args)) usage_error(0); | ^ ./mapm/two_cmds.c:356:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | if (nullstr(args)) usage_error(0); | ^ ./mapm/two_cmds.c:357:21: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | parse_locus_args(&trial_locus,&num_trials); | ^ ./mapm/two_cmds.c:358:22: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | crunch_locus_list(trial_locus,&num_trials,CRUNCH_WARNINGS,ANY_CHROMS, | ^ ./mapm/two_cmds.c:362:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | alloc_list_of_all_loci(seq,&locus,&num_loci); | ^ ./mapm/two_cmds.c:363:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:365:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:366:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (!sex_specific) print(NOSEX_BIGLODS); else print(SEX_BIGLODS); | ^ ./mapm/two_cmds.c:366:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (!sex_specific) print(NOSEX_BIGLODS); else print(SEX_BIGLODS); | ^ ./mapm/two_cmds.c:373:22: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | assignment_chrom(locus[i]))) n++; | ^ ./mapm/two_cmds.c:372:19: warning: passing arguments to 'print_biglod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | if (print_biglod(a,b,lodbound,thetabound,sex_specific, | ^ ./mapm/two_cmds.c:375:60: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (n==0) { sf(ps," %-10s no linked markers\n",loc2str(a)); pr(); } | ^ ./mapm/two_cmds.c:375:66: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (n==0) { sf(ps," %-10s no linked markers\n",loc2str(a)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:380:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:391:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | mapm_ready(ANY_DATA,2,LIST_SEQ,&num_loci); | ^ ./mapm/two_cmds.c:392:24: warning: passing arguments to 'get_chrom_arg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | chrom=get_chrom_arg(TRUE); | ^ ./mapm/two_cmds.c:394:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | nomore_args(2); | ^ ./mapm/two_cmds.c:397:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | alloc_list_of_all_loci(seq,&locus,&num_loci); | ^ ./mapm/two_cmds.c:398:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:401:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | print_2pt_criteria(str,lodbound,thetabound); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:402:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (!sex_specific) print(NOSEX_BIGLODS); else print(SEX_BIGLODS); | ^ ./mapm/two_cmds.c:402:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | if (!sex_specific) print(NOSEX_BIGLODS); else print(SEX_BIGLODS); | ^ ./mapm/two_cmds.c:408:36: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | (chrom==NO_CHROM || assigned_to(b,chrom))) | ^ ./mapm/two_cmds.c:411:22: warning: passing arguments to 'assignment_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | assignment_chrom(b))) | ^ ./mapm/two_cmds.c:410:19: warning: passing arguments to 'print_biglod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | print_biglod(a,b,lodbound,thetabound,sex_specific, | ^ ./mapm/two_cmds.c:413:60: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | if (n==0) { sf(ps," %-10s no linked markers\n",loc2str(a)); pr(); } | ^ ./mapm/two_cmds.c:413:66: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | if (n==0) { sf(ps," %-10s no linked markers\n",loc2str(a)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:417:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:427:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | mapm_ready(ANY_DATA,MAYBE_SEQ,UNCRUNCHED_LIST,&num_loci); | ^ ./mapm/two_cmds.c:428:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | get_one_arg(stoken,"half",name); | ^ ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/two_cmds.c:428:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/two_cmds.c:428:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/two_cmds.c:428:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/two_cmds.c:428:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./mapm/two_cmds.c:429:9: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | if (matches(name,"half")) type=PRINT_HALF_LODTABLE; | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/two_cmds.c:430:16: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | else if (matches(name,"full")) type=PRINT_FULL_LODTABLE; | ^ ./mapm/../lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./mapm/two_cmds.c:431:23: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | else usage_error(1); | ^ ./mapm/two_cmds.c:434:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | if (!nullstr(args)) { | ^ ./mapm/two_cmds.c:435:22: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | parse_locus_args(&loci,&num_loci); /* error if fails */ | ^ ./mapm/two_cmds.c:436:28: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | if (num_loci==0) error("no loci in arguments\n"); | ^ ./mapm/two_cmds.c:439:33: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (!alloc_list_of_all_loci(seq,&loci,&num_loci)) | ^ ./mapm/two_cmds.c:440:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | error(NEED_SEQ_OR_ARGS); | ^ ./mapm/two_cmds.c:443:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | crunch_locus_list(loci,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,source); | ^ ./mapm/two_cmds.c:444:32: warning: passing arguments to 'print_lodtable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | hold(more_mode) print_lodtable(loci,loci,num_loci,num_loci,type); | ^ ./mapm/two_cmds.c:448:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:458:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | mapm_ready(ANY_DATA,2,UNCRUNCHED_LIST,&num_loci); | ^ ./mapm/two_cmds.c:460:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | if (nullstr(args)) usage_error(0); | ^ ./mapm/two_cmds.c:460:32: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | if (nullstr(args)) usage_error(0); | ^ ./mapm/two_cmds.c:461:18: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | parse_locus_args(&try_me,&num_trials); | ^ ./mapm/two_cmds.c:462:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | crunch_locus_list(try_me,&num_trials,CRUNCH_WARNINGS,ANY_CHROMS, | ^ ./mapm/two_cmds.c:464:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | alloc_list_of_all_loci(seq,&loci,&num_loci); | ^ ./mapm/two_cmds.c:465:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | crunch_locus_list(loci,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:467:39: warning: passing arguments to 'print_lodtable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | hold(more_mode) print_lodtable(try_me,loci,num_trials,num_loci, | ^ ./mapm/two_cmds.c:472:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:486:24: warning: passing arguments to 'get_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | if (!get_two_pt(i,j,&lod,&theta)) return(FALSE); | ^ ./mapm/two_cmds.c:488:46: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | sf(ps," %-10s %-10s %s %s %s",loc2str(i),loc2str(j), | ^ ./mapm/two_cmds.c:488:57: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | sf(ps," %-10s %-10s %s %s %s",loc2str(i),loc2str(j), | ^ ./mapm/two_cmds.c:489:12: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | rsd(5.2,theta),rsd(5.2,lod),rsd(6.2,cm_dist(theta))); pr(); | ^ ./mapm/two_cmds.c:489:27: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | rsd(5.2,theta),rsd(5.2,lod),rsd(6.2,cm_dist(theta))); pr(); | ^ ./mapm/two_cmds.c:489:45: 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] 489 | rsd(5.2,theta),rsd(5.2,lod),rsd(6.2,cm_dist(theta))); pr(); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/two_cmds.c:489:40: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | rsd(5.2,theta),rsd(5.2,lod),rsd(6.2,cm_dist(theta))); pr(); | ^ ./mapm/two_cmds.c:489:63: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | rsd(5.2,theta),rsd(5.2,lod),rsd(6.2,cm_dist(theta))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:490:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | if (chrom!=NO_CHROM) { sf(ps," (%s)",chrom2str(chrom)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:491:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:495:28: warning: passing arguments to 'get_sex_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | if (!get_sex_two_pt(i,j,&lod,&thetam,&thetaf)) return(FALSE); | ^ ./mapm/two_cmds.c:498:16: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | loc2str(i),loc2str(j), | ^ ./mapm/two_cmds.c:498:27: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | loc2str(i),loc2str(j), | ^ ./mapm/two_cmds.c:499:12: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | rsd(5.2,thetam),rsd(5.2,thetaf),rsd(5.2,lod), | ^ ./mapm/two_cmds.c:499:28: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | rsd(5.2,thetam),rsd(5.2,thetaf),rsd(5.2,lod), | ^ ./mapm/two_cmds.c:499:44: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | rsd(5.2,thetam),rsd(5.2,thetaf),rsd(5.2,lod), | ^ ./mapm/two_cmds.c:500: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] 500 | cm_dist(thetam),cm_dist(thetaf)); pr(); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/two_cmds.c:500:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | cm_dist(thetam),cm_dist(thetaf)); pr(); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/two_cmds.c:500:9: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 497 | sf(ps," %-10s %-10s %s %s %s %s %s", | ~~ | %f 498 | loc2str(i),loc2str(j), 499 | rsd(5.2,thetam),rsd(5.2,thetaf),rsd(5.2,lod), 500 | cm_dist(thetam),cm_dist(thetaf)); pr(); | ^~~~~~~~~~~~~~~ ./mapm/map_info.h:418:24: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mapm/two_cmds.c:500:25: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 497 | sf(ps," %-10s %-10s %s %s %s %s %s", | ~~ | %f 498 | loc2str(i),loc2str(j), 499 | rsd(5.2,thetam),rsd(5.2,thetaf),rsd(5.2,lod), 500 | cm_dist(thetam),cm_dist(thetaf)); pr(); | ^~~~~~~~~~~~~~~ ./mapm/map_info.h:418:24: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mapm/two_cmds.c:500:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | cm_dist(thetam),cm_dist(thetaf)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:501:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | if (chrom!=NO_CHROM) { sf(ps," (%s)",chrom2str(chrom)); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:502:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:477:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | bool print_biglod(i,j,lodbound,thetabound,sex,chrom) | ^ ./mapm/two_cmds.c:21: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] 21 | bool print_biglod(); | ^ ./mapm/two_cmds.c:515:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | print("Bottom number is LOD score, top number is "); | ^ ./mapm/two_cmds.c:516:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | if (units==CENTIMORGANS) print("centimorgan distance:\n"); | ^ ./mapm/two_cmds.c:517:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | else print("recombination fraction:\n"); | ^ ./mapm/two_cmds.c:524:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:526:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | print(" "); | ^ ./mapm/two_cmds.c:529:24: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | sf(ps,"%s ",loc2str(locus1[across])); | ^ ./mapm/two_cmds.c:530:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | print(ps); | ^ ./mapm/two_cmds.c:542:30: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | sf(ps,"%s ",loc2str(locus1[across])); | ^ ./mapm/two_cmds.c:546:27: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | sf(ps,"%s",loc2str(locus1[across])); | ^ ./mapm/two_cmds.c:551:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | print(line1); nl(); | ^ ./mapm/two_cmds.c:551:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | print(line1); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:552:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | print(line2); | ^ ./mapm/two_cmds.c:555:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:557:16: warning: passing arguments to 'print_lod_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | print_lod_line(locus2[down],locus1,num_across,how,num_done,down); | ^ ./mapm/two_cmds.c:558:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:509:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | void print_lodtable(locus1,locus2,num_loci1,num_loci2,how) | ^ ./mapm/two_cmds.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void print_lodtable(); | ^ ./mapm/two_cmds.c:579:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | if (print_names) print("\n "); | ^ ./mapm/two_cmds.c:580:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | else print("\n "); | ^ ./mapm/two_cmds.c:583:28: warning: passing arguments to 'get_sex_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | if (get_sex_two_pt(loc,toploc[across],&lod,&thetam,&thetaf)) | ^ ./mapm/two_cmds.c:584:25: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | sf(ps," %s",rf2str(thetam)); | ^ ./mapm/two_cmds.c:587:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | print(ps); | ^ ./mapm/two_cmds.c:594:25: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | sf(ps,"\n%s",loc2str(loc)); | ^ ./mapm/two_cmds.c:595:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | print(ps); | ^ ./mapm/two_cmds.c:598:24: warning: passing arguments to 'get_sex_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | if (get_sex_two_pt(loc,toploc[across],&lod,&thetam,&thetaf)) | ^ ./mapm/two_cmds.c:599:28: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | sf(ps,"%s ",rf2str(thetaf)); | ^ ./mapm/two_cmds.c:603:20: warning: passing arguments to 'get_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | if (get_two_pt(loc,toploc[across],&lod,&theta)) | ^ ./mapm/two_cmds.c:604:21: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | sf(ps,"%s ",rf2str(theta)); | ^ ./mapm/two_cmds.c:608:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | print(ps); | ^ ./mapm/two_cmds.c:610:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | if (print_names) print("\n "); | ^ ./mapm/two_cmds.c:611:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | else print("\n "); | ^ ./mapm/two_cmds.c:614:24: warning: passing arguments to 'get_sex_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | if (get_sex_two_pt(loc, toploc[across], &lod, &thetam, &thetaf)) | ^ ./mapm/two_cmds.c:615:25: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | sf(ps," %s",rsd(5.2,lod)); | ^ ./mapm/two_cmds.c:619:20: warning: passing arguments to 'get_two_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | if (get_two_pt(loc,toploc[across],&lod,&theta)) | ^ ./mapm/two_cmds.c:620:25: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | sf(ps," %s",rsd(5.2,lod)); | ^ ./mapm/two_cmds.c:624:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | print(ps); | ^ ./mapm/two_cmds.c:626:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:567:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | void print_lod_line(loc,toploc,topnum,how,topref,downref) | ^ ./mapm/two_cmds.c:27: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] 27 | void print_lod_line(); | ^ ./mapm/two_cmds.c:646:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | mapm_ready(ANY_DATA,3,LIST_SEQ,&num_loci); | ^ ./mapm/two_cmds.c:647:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | nomore_args(0); | ^ ./mapm/two_cmds.c:654:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | print_2pt_criteria("Linkage Groups",lodbound2,thetabound2); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:655:42: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | sf(ps,THREE_HEAD,lodbound3,rag(rf2str(thetabound3)),num_links); pr(); | ^ ./mapm/two_cmds.c:655:35: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | sf(ps,THREE_HEAD,lodbound3,rag(rf2str(thetabound3)),num_links); pr(); | ^ ./mapm/two_cmds.c:655:69: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | sf(ps,THREE_HEAD,lodbound3,rag(rf2str(thetabound3)),num_links); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:656:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | if (triplet_error_rate==0.0) print("'triple error detection' is off.\n"); | ^ ./mapm/two_cmds.c:658:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | print("'triple error detection' is on.\n"); | ^ ./mapm/two_cmds.c:660:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | print("'triple error detection' in three-point analysis is on.\n"); | ^ ./mapm/two_cmds.c:669:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | alloc_list_of_all_loci(seq,&loci,&num_loci); /* may delete haps! */ | ^ ./mapm/two_cmds.c:670:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | array(linkage_group,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:670:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:671:19: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | map= allocate_map(3); | ^ ./mapm/two_cmds.c:673:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | print("counting..."); flush(); | ^ ./mapm/two_cmds.c:677:23: warning: passing arguments to 'get_linkage_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | get_linkage_group(loci,&num_unlinked,linkage_group,&group_size, | ^ ./mapm/two_cmds.c:683:3: warning: passing arguments to 'Tinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | for_all_3pt_seqs (linkage_group,group_size,three_seq) { | ^ ./mapm/toplevel.h:255:17: note: expanded from macro 'for_all_3pt_seqs' 255 | for (seq=Tinit(&Tagain,&Ti,&Tj,&Tk,loci,num); Tagain; \ | ^ ./mapm/two_cmds.c:683:3: warning: passing arguments to 'Tnext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:256:20: note: expanded from macro 'for_all_3pt_seqs' 256 | Tagain=Tnext(&Ti,&Tj,&Tk,loci,num,seq)) | ^ ./mapm/two_cmds.c:684:27: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | get_list_of_all_loci(three_seq,three_locus,&foo,3); | ^ ./mapm/two_cmds.c:685:23: warning: passing arguments to 'three_linked' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | if (three_linked(three_locus,lodbound3,thetabound3, | ^ ./mapm/two_cmds.c:691:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | if (num_groups==0) { sf(ps,THREE_NO_GRPS); pr(); abort_command(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:693:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | sf(ps,THREE_NO_TRIPS,num_groups,maybe_s(num_groups)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:697:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | maybe_s(num_groups)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:700:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | print("\n log-likelihood differences\n"); | ^ ./mapm/two_cmds.c:701:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | print(" count markers a-b-c b-a-c a-c-b\n"); | ^ ./mapm/two_cmds.c:704:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | print("\n log-likelihood differences\n"); | ^ ./mapm/two_cmds.c:705:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | print(" count markers a-b-c b-a-c a-c-b\n"); | ^ ./mapm/two_cmds.c:710:22: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | get_list_of_all_loci(seq,loci,&num_unlinked,num_loci); | ^ ./mapm/two_cmds.c:711:19: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | crunch_locus_list(loci,&num_loci,SILENTLY,ANY_CHROMS,IN_SEQ); | ^ ./mapm/two_cmds.c:714:23: warning: passing arguments to 'get_linkage_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | get_linkage_group(loci,&num_unlinked,linkage_group,&group_size, | ^ ./mapm/two_cmds.c:719:3: warning: passing arguments to 'Tinit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | for_all_3pt_seqs (linkage_group,group_size,three_seq) { | ^ ./mapm/toplevel.h:255:17: note: expanded from macro 'for_all_3pt_seqs' 255 | for (seq=Tinit(&Tagain,&Ti,&Tj,&Tk,loci,num); Tagain; \ | ^ ./mapm/two_cmds.c:719:3: warning: passing arguments to 'Tnext' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:256:20: note: expanded from macro 'for_all_3pt_seqs' 256 | Tagain=Tnext(&Ti,&Tj,&Tk,loci,num,seq)) | ^ ./mapm/two_cmds.c:720:27: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | get_list_of_all_loci(three_seq,three_locus,&foo,3); | ^ ./mapm/two_cmds.c:721:23: warning: passing arguments to 'three_linked' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | if (three_linked(three_locus,lodbound3,thetabound3, | ^ ./mapm/two_cmds.c:723:15: warning: passing arguments to 'compute_3pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | compute_3pt(three_seq,TRIPLET_SEX,triplet_error_rate, | ^ ./mapm/two_cmds.c:729:18: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | pad_to_len(ps,23); pr(); | ^ ./mapm/two_cmds.c:729:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | pad_to_len(ps,23); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:735:18: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | pad_to_len(ps,38); pr(); | ^ ./mapm/two_cmds.c:735:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | pad_to_len(ps,38); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:737:26: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | sf(ps,"%s %s %s\n",rsd(6.2,three_like[0]), | ^ ./mapm/two_cmds.c:738:10: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | rsd(6.2,three_like[1]),rsd(6.2,three_like[2])); | ^ ./mapm/two_cmds.c:738:33: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | rsd(6.2,three_like[1]),rsd(6.2,three_like[2])); | ^ ./mapm/two_cmds.c:739:4: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:746:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | free_map(map); | ^ ./mapm/two_cmds.c:750:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/two_cmds.c:757:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/two_cmds.c:758:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | nomore_args(0); | ^ ./mapm/two_cmds.c:759:22: warning: passing arguments to 'bash_all_three_pt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | bash_all_three_pt(raw.num_markers); | ^ ./mapm/two_cmds.c:760:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | print("All three-point data forgotten.\n"); | ^ ./mapm/two_cmds.c:773:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | mapm_ready(F2_DATA,3,LIST_SEQ,&num_loci); /* F2 because #indivs */ | ^ ./mapm/two_cmds.c:775:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | nomore_args(0); | ^ ./mapm/two_cmds.c:777:70: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | print_2pt_criteria("Informative Subgroups",lodbound,thetabound); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:779:18: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | rag(rf2str(npt_min_theta))); pr(); | ^ ./mapm/two_cmds.c:779:11: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | rag(rf2str(npt_min_theta))); pr(); | ^ ./mapm/two_cmds.c:779:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | rag(rf2str(npt_min_theta))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:782:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | alloc_list_of_all_loci(seq,&loci,&num_loci); | ^ ./mapm/two_cmds.c:783:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | array(linkage_group,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:783:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:784:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | array(subset,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/two_cmds.c:784:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/two_cmds.c:791:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:793:23: warning: passing arguments to 'get_linkage_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | get_linkage_group(loci,&num_unlinked,linkage_group,&group_size, | ^ ./mapm/two_cmds.c:796:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | if (groups_done!=0) print(GROUP_DIVIDER); | ^ ./mapm/two_cmds.c:799:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | sf(ps,"Linkage group %d: ",groups_done); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:801:24: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | print(rag(loc2str(linkage_group[i]))); | ^ ./mapm/two_cmds.c:801:16: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | print(rag(loc2str(linkage_group[i]))); | ^ ./mapm/two_cmds.c:801:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | print(rag(loc2str(linkage_group[i]))); | ^ ./mapm/two_cmds.c:802:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | if (i!=group_size-1) print(" "); | ^ ./mapm/two_cmds.c:803:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | } nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:805:21: warning: passing arguments to 'informative_subset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | informative_subset(linkage_group,group_size, | ^ ./mapm/two_cmds.c:810:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | print("No informative markers.\n"); | ^ ./mapm/two_cmds.c:812:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | print("All markers are informative.\n"); | ^ ./mapm/two_cmds.c:815:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | subset_size,maybe_s(subset_size)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:818:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | sf(ps,"order%d= ",groups_done); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/two_cmds.c:819:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | if (subset_size==0) print("none"); | ^ ./mapm/two_cmds.c:821:24: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | print(rag(loc2str(subset[i]))); | ^ ./mapm/two_cmds.c:821:16: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | print(rag(loc2str(subset[i]))); | ^ ./mapm/two_cmds.c:821:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | print(rag(loc2str(subset[i]))); | ^ ./mapm/two_cmds.c:822:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | if (i!=subset_size-1) print(" "); | ^ ./mapm/two_cmds.c:826:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | } nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/two_cmds.c:831:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | if (groups_done==0) print("No Linkage Groups Found.\n"); | ^ ./mapm/two_cmds.c:838:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ 341 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/npt_cmds.c -o ./mapm/npt_cmds.o ./mapm/npt_cmds.c:11:1: warning: '/*' within block comment [-Wcomment] 11 | /* This file is part of MAPMAKER 3.0b, Copyright 1987-1992, Whitehead Institute | ^ In file included from ./mapm/npt_cmds.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/npt_cmds.c:44:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | mapm_ready(ANY_DATA,2,MAYBE_PERM,&num_loci); | ^ ./mapm/npt_cmds.c:45:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | nomore_args(0); | ^ ./mapm/npt_cmds.c:48:25: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | map=allocate_map(num_loci); | ^ ./mapm/npt_cmds.c:49:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:50:2: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | for_all_orders(seq, map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/npt_cmds.c:50:2: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/npt_cmds.c:50:2: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/npt_cmds.c:50:2: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/npt_cmds.c:51:20: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:52:21: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:53:20: warning: passing arguments to 'print_long_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | print_long_map(map,"Map:"); | ^ ./mapm/npt_cmds.c:54:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:57:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | free_map(map); | ^ ./mapm/npt_cmds.c:58:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/npt_cmds.c:75:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | mapm_ready(ANY_DATA,2,ONE_ORDER,&num_loci); | ^ ./mapm/npt_cmds.c:77:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | get_arg(stoken,"map",name); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:77:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:77:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:77:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:78:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | nomore_args(num_args); | ^ ./mapm/npt_cmds.c:81:20: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (!make_filename(name,FORCE_EXTENSION,WRS(PS_EXT))) | ^ ./mapm/npt_cmds.c:82:48: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | { sf(ps,"illegal filename '%s'",name); error(ps); } | ^ ./mapm/npt_cmds.c:83:15: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | fp= open_file(name,WRITE); | ^ ./mapm/npt_cmds.c:84:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | sf(ps,"Drawing map in PostScript file '%s'... \n",name); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:85:25: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | map=allocate_map(num_loci); | ^ ./mapm/npt_cmds.c:86:15: warning: passing arguments to 'get_one_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | get_one_order(seq,map); | ^ ./mapm/npt_cmds.c:87:16: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:88:17: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:89:14: warning: passing arguments to 'print_ps_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | print_ps_map(fp,map); | ^ ./mapm/npt_cmds.c:90:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | close_file(fp); | ^ ./mapm/npt_cmds.c:91:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | print("ok\n"); | ^ ./mapm/npt_cmds.c:95:56: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | sf(ps,"Can't create output file '%s'",name); error(ps); | ^ ./mapm/npt_cmds.c:97:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | error("\nCan't close file - disk is full?"); | ^ ./mapm/npt_cmds.c:99:14: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | free_map(map); | ^ ./mapm/npt_cmds.c:100:6: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/npt_cmds.c:112:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | mapm_ready(F2_DATA,2,MAYBE_PERM,&num_loci); | ^ ./mapm/npt_cmds.c:113:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | nomore_args(0); | ^ ./mapm/npt_cmds.c:116:25: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | map=allocate_map(num_loci); | ^ ./mapm/npt_cmds.c:117:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | print(MAP_DIVIDER); print("Genotypes:\n"); | ^ ./mapm/npt_cmds.c:117:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | print(MAP_DIVIDER); print("Genotypes:\n"); | ^ ./mapm/npt_cmds.c:118:2: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | for_all_orders(seq, map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/npt_cmds.c:118:2: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/npt_cmds.c:118:2: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/npt_cmds.c:118:2: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/npt_cmds.c:119:20: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:120:21: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:121:28: warning: passing arguments to 'print_f2_map_genotypes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | print_f2_map_genotypes(map,use_haplotypes,TRUE,0); | ^ ./mapm/npt_cmds.c:122:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:125:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | free_map(map); | ^ ./mapm/npt_cmds.c:126:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/npt_cmds.c:146:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | mapm_ready(ANY_DATA,2,PERM_SEQ,&num_loci); | ^ ./mapm/npt_cmds.c:147:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | get_arg(itoken,20,&maps_to_save); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:147:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:147:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:147:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:148:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | get_arg(rtoken,0.0,&threshold); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:148:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:148:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:148:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:149:56: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (maps_to_save<1 || maps_to_save>999) usage_error(1); | ^ ./mapm/npt_cmds.c:150:54: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (threshold<0.0 || threshold>100.0) usage_error(2); | ^ ./mapm/npt_cmds.c:152:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | nomore_args(num_args); | ^ ./mapm/npt_cmds.c:155:30: warning: passing arguments to 'allocate_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | list=allocate_map_list(maps_to_save,num_loci,SORTED,&map); | ^ ./mapm/npt_cmds.c:156:8: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | array(locus,num_loci,int); /* NO CRUNCH?, #loci shouldn't change */ | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:156:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:157:28: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | get_list_of_all_loci(seq,locus,&loci_per_map,num_loci); | ^ ./mapm/npt_cmds.c:161:17: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | setup_3pt_data(locus,loci_per_map,-three_pt_threshold); | ^ ./mapm/npt_cmds.c:164:8: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | for_all_orders(seq,map) total++; | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/npt_cmds.c:164:8: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/npt_cmds.c:164:8: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/npt_cmds.c:164:8: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/npt_cmds.c:165:8: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | for_all_orders(seq,map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/npt_cmds.c:165:8: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/npt_cmds.c:165:8: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/npt_cmds.c:165:8: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/npt_cmds.c:166:21: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | keep_user_amused("map",++n,total); | ^ ./mapm/npt_cmds.c:168:25: warning: passing arguments to 'three_pt_verify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | !three_pt_verify(map->locus,map->num_loci,three_pt_window)) | ^ ./mapm/npt_cmds.c:170:19: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:171:20: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:172:25: warning: passing arguments to 'insert_map_into_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | insert_map_into_list(list,&map); | ^ ./mapm/npt_cmds.c:176:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | { sf(ps,COMPARE_NONE,three_pt_threshold); pr(); abort_command(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:178:24: warning: passing arguments to 'get_best_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | map=get_best_map(list); best=map->log_like; i=1; | ^ ./mapm/npt_cmds.c:183:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | sf(ps,BEST_THRESH,maybe_s(num_to_print),-threshold); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:188:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:190:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | if (excluded>0) { sf(ps,N_EXCLUDED,excluded); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:191:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | print(":\n"); | ^ ./mapm/npt_cmds.c:192:18: warning: passing arguments to 'print_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | print_list(list,num_to_print); | ^ ./mapm/npt_cmds.c:194:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | print("order1 is set"); | ^ ./mapm/npt_cmds.c:201:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:205:21: warning: passing arguments to 'free_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | free_map_list(list); | ^ ./mapm/npt_cmds.c:206:8: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/npt_cmds.c:219:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | mapm_ready(ANY_DATA,3,ONE_ORDER,&n_loci); | ^ ./mapm/npt_cmds.c:220:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | get_arg(itoken,5,&window); if (!irange(&window,3,99)) usage_error(1); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:220:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:220:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:220:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:220:45: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | get_arg(itoken,5,&window); if (!irange(&window,3,99)) usage_error(1); | ^ ./mapm/npt_cmds.c:220:72: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | get_arg(itoken,5,&window); if (!irange(&window,3,99)) usage_error(1); | ^ ./mapm/npt_cmds.c:221:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | get_arg(rtoken,2.0,&thresh);if (!rrange(&thresh,0.0,100.0)) usage_error(1); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:221:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:221:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:221:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:221:44: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | get_arg(rtoken,2.0,&thresh);if (!rrange(&thresh,0.0,100.0)) usage_error(1); | ^ ./mapm/npt_cmds.c:221:76: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | get_arg(rtoken,2.0,&thresh);if (!rrange(&thresh,0.0,100.0)) usage_error(1); | ^ ./mapm/npt_cmds.c:223:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | error("window size is greater than number of loci in seq"); | ^ ./mapm/npt_cmds.c:224:24: warning: passing arguments to 'has_fixed_dists' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | if (has_fixed_dists(seq)) | ^ ./mapm/npt_cmds.c:225:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | error("can not use sequence with fixed distances"); | ^ ./mapm/npt_cmds.c:226:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | nomore_args(num_args); | ^ ./mapm/npt_cmds.c:230:19: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | map0=allocate_map(n_loci); | ^ ./mapm/npt_cmds.c:231:24: warning: passing arguments to 'allocate_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | list=allocate_map_list(n,n_loci,SORTED,&map); | ^ ./mapm/npt_cmds.c:232:15: warning: passing arguments to 'get_one_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | get_one_order(seq,map0); | ^ ./mapm/npt_cmds.c:233:16: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | init_rec_fracs(map0); | ^ ./mapm/npt_cmds.c:234:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:235:17: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | converge_to_map(map0); | ^ ./mapm/npt_cmds.c:236:16: warning: passing arguments to 'print_long_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | print_long_map(map0,"Map To Test:"); | ^ ./mapm/npt_cmds.c:238:18: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | setup_3pt_data(map0->locus,map0->num_loci,-three_pt_threshold); | ^ ./mapm/npt_cmds.c:240:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:242:21: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | window,thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:243:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | print("Comparing maps with ALL flanking markers...\n\n"); | ^ ./mapm/npt_cmds.c:245:16: warning: passing arguments to 'clean_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | clean_list(list); map=get_map_to_bash(list); | ^ ./mapm/npt_cmds.c:245:43: warning: passing arguments to 'get_map_to_bash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | clean_list(list); map=get_map_to_bash(list); | ^ ./mapm/npt_cmds.c:246:22: warning: passing arguments to 'make_compare_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | make_compare_seq(map0->locus,map0->num_loci,i,window); | ^ ./mapm/npt_cmds.c:248:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | print("compare "); | ^ ./mapm/npt_cmds.c:249:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | if (i>0) print("...{"); else print(" {"); | ^ ./mapm/npt_cmds.c:249:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | if (i>0) print("...{"); else print(" {"); | ^ ./mapm/npt_cmds.c:251:20: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | print(rag(loc2str(map0->locus[j]))); | ^ ./mapm/npt_cmds.c:251:12: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | print(rag(loc2str(map0->locus[j]))); | ^ ./mapm/npt_cmds.c:251:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | print(rag(loc2str(map0->locus[j]))); | ^ ./mapm/npt_cmds.c:252:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | if (j!=i+window-1) print(" "); | ^ ./mapm/npt_cmds.c:254:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (i+window-1num_loci-1) print("}... "); | ^ ./mapm/npt_cmds.c:255:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | else print("} "); | ^ ./mapm/npt_cmds.c:260:6: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | for_all_orders(seq,map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/npt_cmds.c:260:6: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/npt_cmds.c:260:6: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/npt_cmds.c:260:6: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/npt_cmds.c:262:23: warning: passing arguments to 'three_pt_verify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | !three_pt_verify(map->locus+i,window,three_pt_window)) | ^ ./mapm/npt_cmds.c:264:17: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:265:18: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:266:23: warning: passing arguments to 'insert_map_into_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | insert_map_into_list(list,&map); tried++; | ^ ./mapm/npt_cmds.c:268:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | if (tried==0) { print("(all excluded)\n"); continue; } | ^ ./mapm/npt_cmds.c:270:33: warning: passing arguments to 'get_best_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | same=TRUE; map=get_best_map(list); | ^ ./mapm/npt_cmds.c:278:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | sf(ps,"\nbest order%s:",maybe_s(k)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:279:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (excluded>0) { sf(ps," (%d excluded)",excluded); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:280:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | nl(); print_list(list,k); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:280:19: warning: passing arguments to 'print_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | nl(); print_list(list,k); nl(); | ^ ./mapm/npt_cmds.c:280:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | nl(); print_list(list,k); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:281:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | } else print("ok\n"); | ^ ./mapm/npt_cmds.c:283:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:286:15: warning: passing arguments to 'free_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | free_map_list(list); | ^ ./mapm/npt_cmds.c:287:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | free_map(map0); | ^ ./mapm/npt_cmds.c:288:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/npt_cmds.c:310:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | mapm_ready(ANY_DATA,2,MAYBE_PERM,&num_seq_loci); | ^ ./mapm/npt_cmds.c:312:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if (nullstr(args)) usage_error(0); | ^ ./mapm/npt_cmds.c:312:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | if (nullstr(args)) usage_error(0); | ^ ./mapm/npt_cmds.c:316:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | array(marker_to_try,raw.num_markers,int); /* w/paired, num_total */ | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:316:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:317:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | matrix(new_marker,raw.num_markers,MAX_PAIRED,int); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/npt_cmds.c:317:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:317:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/npt_cmds.c:317:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:324:18: warning: passing arguments to 'expand_seq_names' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | expand_seq_names(markers); | ^ ./mapm/npt_cmds.c:325:15: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | while (stoken(&markers,sREQUIRED,token)) { | ^ ./mapm/npt_cmds.c:327:14: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | if (!stoken(&markers,sREQUIRED,token)) | ^ ./mapm/npt_cmds.c:328:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | error("expected a locus after '['"); | ^ ./mapm/npt_cmds.c:329:18: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!is_a_locus(token,&n,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:329:45: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!is_a_locus(token,&n,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:330:48: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | { sf(ps,"'%s' is not a locus",token); error(ps); } | ^ ./mapm/npt_cmds.c:331:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | if (num_total==raw.num_markers) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:335:16: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | while (stoken(&markers,sREQUIRED,token)) { | ^ ./mapm/npt_cmds.c:337:22: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (!is_a_locus(token,&m,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:337:49: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (!is_a_locus(token,&m,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:338:52: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | { sf(ps,"'%s' is not a locus",token); error(ps); } | ^ ./mapm/npt_cmds.c:339:44: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | if (num_total==raw.num_markers) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:341:34: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (next==MAX_PAIRED) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:344:31: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (!streq(token,"]")) error("missing ']'"); | ^ ./mapm/npt_cmds.c:349:14: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | if (!stoken(&markers,sREQUIRED,token)) | ^ ./mapm/npt_cmds.c:350:10: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | error("expected a locus after '<'"); | ^ ./mapm/npt_cmds.c:351:18: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (!is_a_locus(token,&n,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:351:45: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (!is_a_locus(token,&n,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:352:48: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | { sf(ps,"'%s' is not a locus",token); error(ps); } | ^ ./mapm/npt_cmds.c:353:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | if (num_total==raw.num_markers) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:357:16: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | while (stoken(&markers,sREQUIRED,token)) { | ^ ./mapm/npt_cmds.c:359:22: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (!is_a_locus(token,&m,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:359:49: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (!is_a_locus(token,&m,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:360:52: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | { sf(ps,"'%s' is not a locus",token); error(ps); } | ^ ./mapm/npt_cmds.c:361:44: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | if (num_total==raw.num_markers) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:363:34: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (next==MAX_PAIRED) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:366:31: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | if (!streq(token,">")) error("missing '>'"); | ^ ./mapm/npt_cmds.c:376:18: warning: passing arguments to 'is_a_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if (!is_a_locus(token,&n,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:376:45: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if (!is_a_locus(token,&n,&err) || !nullstr(err)) | ^ ./mapm/npt_cmds.c:377:48: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | { sf(ps,"'%s' is not a locus",token); error(ps); } | ^ ./mapm/npt_cmds.c:378:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | if (num_total==raw.num_markers) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:388:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | matrix(exclude_interval,num_to_try_at_once,num_intervals,bool); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/npt_cmds.c:388:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:388:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/npt_cmds.c:388:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:389:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | matrix(zero_placement,num_to_try_at_once,num_intervals,bool); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/npt_cmds.c:389:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:389:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/npt_cmds.c:389:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:390:19: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | map= allocate_map(num_seq_loci); | ^ ./mapm/npt_cmds.c:391:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | array(list,num_to_try_at_once,SAVED_LIST*); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:391:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:393:30: warning: passing arguments to 'allocate_map_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | list[i]= allocate_map_list(num_intervals+1,num_seq_loci+max_paired, | ^ ./mapm/npt_cmds.c:397:15: warning: passing arguments to 'get_one_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | get_one_order(seq,map); | ^ ./mapm/npt_cmds.c:398:16: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | init_rec_fracs(map); /* no ctm */ | ^ ./mapm/npt_cmds.c:401:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if (num_total==raw.num_markers) error(TRY_TOO_MANY); | ^ ./mapm/npt_cmds.c:404:20: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | setup_3pt_data(marker_to_try,num_total,-three_pt_threshold); | ^ ./mapm/npt_cmds.c:414:2: warning: passing arguments to 'reset_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | for_all_orders(seq,map) { | ^ ./mapm/toplevel.h:230:28: note: expanded from macro 'for_all_orders' 230 | for (Oagain=TRUE, reset_seq(S,TRUE); \ | ^ ./mapm/npt_cmds.c:414:2: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:25: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/npt_cmds.c:414:2: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:231:32: note: expanded from macro 'for_all_orders' 231 | Oagain && clean_map(M) && get_map_order(S,M); \ | ^ ./mapm/toplevel.h:228:15: note: expanded from macro 'get_map_order' 228 | get_order(S,(M)->locus,(M)->rec_frac,&(M)->num_loci,(M)->max_loci) | ^ ./mapm/npt_cmds.c:414:2: warning: passing arguments to 'perm_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/toplevel.h:232:21: note: expanded from macro 'for_all_orders' 232 | Oagain=perm_seq(S,FALSE,FALSE)) | ^ ./mapm/npt_cmds.c:420:22: warning: passing arguments to 'try_marker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | if (!try_marker(new_marker[j],map,list[i], | ^ ./mapm/npt_cmds.c:422:37: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | { sf(ps,TRY_NONE,rag(loc2str(marker_to_try[j]))); pr(); } | ^ ./mapm/npt_cmds.c:422:29: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | { sf(ps,TRY_NONE,rag(loc2str(marker_to_try[j]))); pr(); } | ^ ./mapm/npt_cmds.c:422:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | { sf(ps,TRY_NONE,rag(loc2str(marker_to_try[j]))); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:424:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:425:13: warning: passing arguments to 'print_trys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | print_trys(list,map,exclude_interval,new_marker,i, | ^ ./mapm/npt_cmds.c:427:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | nl(); n=0; | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:428:50: warning: passing arguments to 'clean_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | for (i=0; ilocus,original_map->num_loci, | ^ ./mapm/npt_cmds.c:472: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] 472 | if (num_paired==0) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:476:8: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | mapcpy(map,original_map,TRUE); | ^ ./mapm/npt_cmds.c:478:21: warning: passing arguments to 'insert_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (!insert_locus(map,i+j,marker[j])) send(CRASH); | ^ ./mapm/npt_cmds.c:478:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (!insert_locus(map,i+j,marker[j])) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:479:18: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | keep_user_amused("map",++*count,0); | ^ ./mapm/npt_cmds.c:480:16: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:481:17: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:495:22: warning: passing arguments to 'insert_map_into_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | insert_map_into_list(list,&map); | ^ ./mapm/npt_cmds.c:496:28: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | } else keep_user_amused("map",++*count,0); | ^ ./mapm/npt_cmds.c:507:11: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | mapcpy(map,original_map,TRUE); /* cleans map */ | ^ ./mapm/npt_cmds.c:510:24: warning: passing arguments to 'insert_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | if (!insert_locus(map,map->num_loci+j,marker[j])) send(CRASH); | ^ ./mapm/npt_cmds.c:510:57: 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] 510 | if (!insert_locus(map,map->num_loci+j,marker[j])) send(CRASH); | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:511:21: warning: passing arguments to 'keep_user_amused' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | keep_user_amused("map",++*count,0); | ^ ./mapm/npt_cmds.c:514:19: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | init_rec_fracs(map); | ^ ./mapm/npt_cmds.c:515:20: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | converge_to_map(map); | ^ ./mapm/npt_cmds.c:516:25: warning: passing arguments to 'insert_map_into_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | insert_map_into_list(list,&map); | ^ ./mapm/npt_cmds.c:451:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | bool try_marker(marker,original_map,list,excluded,zero,count) | ^ ./mapm/npt_cmds.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | bool try_marker(); | ^ ./mapm/npt_cmds.c:544:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | mapm_ready(F2_DATA,3,LIST_SEQ,&num_loci); /* F2 because #indivs */ | ^ ./mapm/npt_cmds.c:545:16: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | if (!rtoken(&args,default_lod,&lodbound) || !rrange(&lodbound,0.0,1000.0)) | ^ ./mapm/npt_cmds.c:545:56: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | if (!rtoken(&args,default_lod,&lodbound) || !rrange(&lodbound,0.0,1000.0)) | ^ ./mapm/npt_cmds.c:546:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | usage_error(1); | ^ ./mapm/npt_cmds.c:547:16: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | if (!rtoken(&args,default_theta,&thetabound) || !input_dist(&thetabound)) | ^ ./mapm/npt_cmds.c:547:64: warning: passing arguments to 'input_dist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | if (!rtoken(&args,default_theta,&thetabound) || !input_dist(&thetabound)) | ^ ./mapm/npt_cmds.c:548:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | usage_error(2); | ^ ./mapm/npt_cmds.c:549:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | get_arg(itoken,5,&seed_size); if (seed_size<3) usage_error(0); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:549:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:549:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:549:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:549:65: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | get_arg(itoken,5,&seed_size); if (seed_size<3) usage_error(0); | ^ ./mapm/npt_cmds.c:550:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | get_arg(rtoken,3.0,&seed_like); if (seed_like<=0.0) usage_error(0); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:550:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:550:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:550:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:550:68: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | get_arg(rtoken,3.0,&seed_like); if (seed_like<=0.0) usage_error(0); | ^ ./mapm/npt_cmds.c:551:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | get_arg(itoken,50,&seed_tries); if (seed_tries<1) usage_error(0); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/npt_cmds.c:551:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:551:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/npt_cmds.c:551:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/npt_cmds.c:551:66: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | get_arg(itoken,50,&seed_tries); if (seed_tries<1) usage_error(0); | ^ ./mapm/npt_cmds.c:552:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | nomore_args(0); | ^ ./mapm/npt_cmds.c:555:44: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | sf(ps,LINK_CRITERIA,lodbound,rag(rf2str(thetabound))); pr(); | ^ ./mapm/npt_cmds.c:555:37: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | sf(ps,LINK_CRITERIA,lodbound,rag(rf2str(thetabound))); pr(); | ^ ./mapm/npt_cmds.c:555:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | sf(ps,LINK_CRITERIA,lodbound,rag(rf2str(thetabound))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:556:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | sf(ps,START_CRITERIA,seed_size,-seed_like,seed_tries); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:560:18: warning: passing arguments to 'rf2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | rag(rf2str(npt_min_theta))); pr(); | ^ ./mapm/npt_cmds.c:560:11: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | rag(rf2str(npt_min_theta))); pr(); | ^ ./mapm/npt_cmds.c:560:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | rag(rf2str(npt_min_theta))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:567:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:570:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | alloc_list_of_all_loci(seq,&loci,&num_loci); | ^ ./mapm/npt_cmds.c:571:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | array(linkage_group,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:571:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:572:20: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | order=allocate_map(MAX_MAP_LOCI); | ^ ./mapm/npt_cmds.c:573:23: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | seed_map=allocate_map(seed_size); | ^ ./mapm/npt_cmds.c:574:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | array(subset,num_loci,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:574:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:575:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | matrix(seed_temp,seed_tries+1,num_loci,int); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/npt_cmds.c:575:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:575:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/npt_cmds.c:575:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:576:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | parray(unplaced,num_loci,PLACEME); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/npt_cmds.c:576:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:576:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/npt_cmds.c:576:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:578:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | array(unplaced[i]->excluded,MAX_MAP_LOCI+1,bool); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:578:6: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:579:40: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | unplaced[i]->best_map=allocate_map(MAX_MAP_LOCI); | ^ ./mapm/npt_cmds.c:588:23: warning: passing arguments to 'get_linkage_group' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | get_linkage_group(loci,&num_unlinked,linkage_group,&group_size, | ^ ./mapm/npt_cmds.c:591:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:595:19: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | group_size); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:600:17: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | pad_to_len(ps,14); pr(); | ^ ./mapm/npt_cmds.c:600:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | pad_to_len(ps,14); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:601:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | if (i==group_size-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:601:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | if (i==group_size-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/npt_cmds.c:603:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:606:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | print("Group is too small to map.\n"); | ^ ./mapm/npt_cmds.c:607:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | sf(ps,"order%d= ",groups_done); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:609:27: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | sf(ps,"%s ",rag(loc2str(linkage_group[i]))); pr(); | ^ ./mapm/npt_cmds.c:609:19: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | sf(ps,"%s ",rag(loc2str(linkage_group[i]))); pr(); | ^ ./mapm/npt_cmds.c:609:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | sf(ps,"%s ",rag(loc2str(linkage_group[i]))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:614:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:620:19: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | setup_3pt_data(linkage_group,group_size,-three_pt_threshold); | ^ ./mapm/npt_cmds.c:622:21: warning: passing arguments to 'informative_subset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | informative_subset(linkage_group,group_size, | ^ ./mapm/npt_cmds.c:627:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | print("Most informative subset is too small... \n"); | ^ ./mapm/npt_cmds.c:629:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | print("All markers are informative... \n"); | ^ ./mapm/npt_cmds.c:631:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | print("Most informative subset: "); | ^ ./mapm/npt_cmds.c:635:4: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | pr(); if (ilocus[i]))); pr(); | ^ ./mapm/npt_cmds.c:680:22: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/npt_cmds.c:680:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:685:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:686:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | sf(ps,"other%d= ",groups_done); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:688:30: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/npt_cmds.c:688:22: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/npt_cmds.c:688:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:693:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:698:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | print(SUB_DIVIDER); | ^ ./mapm/npt_cmds.c:700:16: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/npt_cmds.c:700:8: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/npt_cmds.c:701:26: warning: passing arguments to 'print_special_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | print_special_map(unplaced[i]->best_map,ps, | ^ ./mapm/npt_cmds.c:708:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | if (groups_done==0) print(ORDER_NO_GROUPS); | ^ ./mapm/npt_cmds.c:709:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | else print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:714:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | free_map(order); | ^ ./mapm/npt_cmds.c:715:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | free_map(seed_map); | ^ ./mapm/npt_cmds.c:720:14: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | free_map(unplaced[i]->best_map); | ^ ./mapm/npt_cmds.c:723:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/npt_cmds.c:736:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | mapm_ready(F2_DATA,2,LIST_SEQ,&num_order); /* F2 because place_locus */ | ^ ./mapm/npt_cmds.c:737:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | if (nullstr(args)) usage_error(0); | ^ ./mapm/npt_cmds.c:737:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | if (nullstr(args)) usage_error(0); | ^ ./mapm/npt_cmds.c:738:21: warning: passing arguments to 'parse_locus_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | parse_locus_args(&locus,&num_loci); /* error if fails, >=1 */ | ^ ./mapm/npt_cmds.c:739:22: warning: passing arguments to 'crunch_locus_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | crunch_locus_list(locus,&num_loci,CRUNCH_WARNINGS,ANY_CHROMS,IN_ARGS); | ^ ./mapm/npt_cmds.c:747:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:749:39: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | if (num_order>=MAX_MAP_LOCI) error("starting order is too big"); | ^ ./mapm/npt_cmds.c:752:20: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | order=allocate_map(total); /* maybe MAX_MAP */ | ^ ./mapm/npt_cmds.c:753:22: warning: passing arguments to 'get_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | get_list_of_all_loci(seq,order->locus,&order->num_loci,total); | ^ ./mapm/npt_cmds.c:754:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | array(all_loci,total,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:754:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:755:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | parray(unplaced,num_loci,PLACEME); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/npt_cmds.c:755:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:755:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/npt_cmds.c:755:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:757:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | array(unplaced[i]->excluded,total+1,bool); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/npt_cmds.c:757:6: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/npt_cmds.c:758:40: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | unplaced[i]->best_map=allocate_map(total); | ^ ./mapm/npt_cmds.c:763:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:770:18: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | setup_3pt_data(all_loci,total,-three_pt_threshold); | ^ ./mapm/npt_cmds.c:775:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | sf(ps,"%d Markers to order:\n",total); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:780:16: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | pad_to_len(ps,14); pr(); | ^ ./mapm/npt_cmds.c:780:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | pad_to_len(ps,14); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:781:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | if (i==total-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:781:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | if (i==total-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/npt_cmds.c:784:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | nl(); sf(ps,ORDER_AT,npt_first_threshold); pr(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:784:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | nl(); sf(ps,ORDER_AT,npt_first_threshold); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:785:14: warning: passing arguments to 'extend_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | extend_order(order,unplaced,&num_unplaced,-npt_first_threshold,TRUE); | ^ ./mapm/npt_cmds.c:788:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | print(SUB_DIVIDER); | ^ ./mapm/npt_cmds.c:789:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | sf(ps,ORDER_AT,npt_threshold); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:790:18: warning: passing arguments to 'extend_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | extend_order(order,unplaced,&num_unplaced,-npt_threshold,FALSE); | ^ ./mapm/npt_cmds.c:792:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:793:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | print("order1= "); | ^ ./mapm/npt_cmds.c:795:29: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/npt_cmds.c:795:21: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/npt_cmds.c:795:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:800:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:801:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | print("other1= "); | ^ ./mapm/npt_cmds.c:803:29: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/npt_cmds.c:803:21: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/npt_cmds.c:803:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/npt_cmds.c:808:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/npt_cmds.c:813:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | print(SUB_DIVIDER); | ^ ./mapm/npt_cmds.c:814:49: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | sf(ps,"Best placement of %s:",rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/npt_cmds.c:814:41: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | sf(ps,"Best placement of %s:",rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/npt_cmds.c:815:25: warning: passing arguments to 'print_special_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | print_special_map(unplaced[i]->best_map,ps, | ^ ./mapm/npt_cmds.c:818:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | print(MAP_DIVIDER); | ^ ./mapm/npt_cmds.c:823:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | free_map(order); | ^ ./mapm/npt_cmds.c:826:14: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | free_map(unplaced[i]->best_map); | ^ ./mapm/npt_cmds.c:829:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ 394 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/auto_cmd.c -o ./mapm/auto_cmd.o In file included from ./mapm/auto_cmd.c:17: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/auto_cmd.c:37:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/auto_cmd.c:39:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (!nullstr(args)) { | ^ ./mapm/auto_cmd.c:40:15: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | while (stoken(&args,sREQUIRED,name)) { | ^ ./mapm/auto_cmd.c:41:21: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!valid_name(name)) | ^ ./mapm/auto_cmd.c:42:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | { sf(ps,CANT_MAKE,name,"illegal name"); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:44:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | { sf(ps,CANT_MAKE,name,"name is already in use"); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:45:30: warning: passing arguments to 'make_new_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | else if (!make_new_chrom(name,&num)) | ^ ./mapm/auto_cmd.c:46:61: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | { sf(ps,CANT_MAKE,name,"chromosome already exists"); pr(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:49:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | print("chromosomes defined: "); | ^ ./mapm/auto_cmd.c:50:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | if (num_chromosomes==0) print("none"); | ^ ./mapm/auto_cmd.c:52:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | { print(chrom2str(i)); print(" "); } | ^ ./mapm/auto_cmd.c:52:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | { print(chrom2str(i)); print(" "); } | ^ ./mapm/auto_cmd.c:53:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:61:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | mapm_ready(ANY_DATA,MAYBE_SEQ,LIST_SEQ,&num_loci); | ^ ./mapm/auto_cmd.c:62:24: warning: passing arguments to 'get_chrom_arg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | chrom=get_chrom_arg(FALSE); | ^ ./mapm/auto_cmd.c:63:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | nomore_args(num_args); | ^ ./mapm/auto_cmd.c:67:28: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | alloc_list_of_all_loci(seq,&locus,&num_loci); | ^ ./mapm/auto_cmd.c:69:26: warning: passing arguments to 'is_assignable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | if (!is_assignable(locus[i],chrom,FALSE)) | ^ ./mapm/auto_cmd.c:71:23: warning: passing arguments to 'set_chrom_anchors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | set_chrom_anchors(chrom,locus,num_loci); | ^ ./mapm/auto_cmd.c:72:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | sf(ps,"chromosome %s anchor(s): ",chrom2str(chrom)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:74:23: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (assigned_to(i,chrom) && anchor_locus(i)) | ^ ./mapm/auto_cmd.c:74:48: warning: passing arguments to 'anchor_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (assigned_to(i,chrom) && anchor_locus(i)) | ^ ./mapm/auto_cmd.c:75:18: warning: passing arguments to 'locname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | { print(locname(i,TRUE)); print(" "); } | ^ ./mapm/auto_cmd.c:75:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | { print(locname(i,TRUE)); print(" "); } | ^ ./mapm/auto_cmd.c:75:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | { print(locname(i,TRUE)); print(" "); } | ^ ./mapm/auto_cmd.c:76:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:78:23: warning: passing arguments to 'set_chrom_anchors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | set_chrom_anchors(chrom,locus,0); | ^ ./mapm/auto_cmd.c:79:68: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | sf(ps,"chromosome %s now has no anchors\n",chrom2str(chrom)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:83:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/auto_cmd.c:102:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | mapm_ready(ANY_DATA,MAYBE_SEQ,ONE_ORDER,&num_loci); | ^ ./mapm/auto_cmd.c:103:24: warning: passing arguments to 'get_chrom_arg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | chrom=get_chrom_arg(FALSE); | ^ ./mapm/auto_cmd.c:104:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | nomore_args(num_args); | ^ ./mapm/auto_cmd.c:106:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | error("too many loci in the sequence for a chromosome framework"); | ^ ./mapm/auto_cmd.c:108:24: warning: passing arguments to 'get_chrom_frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | old=get_chrom_frame(chrom,NULL); | ^ ./mapm/auto_cmd.c:109:24: warning: passing arguments to 'get_map_to_bash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | map=get_map_to_bash(chromosome); | ^ ./mapm/auto_cmd.c:112:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:112:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:113:11: warning: passing arguments to 'clean_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | clean_map(map); | ^ ./mapm/auto_cmd.c:114:17: warning: passing arguments to 'set_chrom_frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | set_chrom_frame(chrom,map); | ^ ./mapm/auto_cmd.c:118:15: warning: passing arguments to 'get_one_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | get_one_order(seq,map); | ^ ./mapm/auto_cmd.c:120:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | { sf(ps,CHROM_FRAME_EXISTS,chrom2str(chrom)); pr(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:120:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | { sf(ps,CHROM_FRAME_EXISTS,chrom2str(chrom)); pr(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:121:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | else { sf(ps,CHROM_SETTING,chrom2str(chrom)); pr(); nl(); } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:121:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | else { sf(ps,CHROM_SETTING,chrom2str(chrom)); pr(); nl(); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:123:16: warning: passing arguments to 'init_rec_fracs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | init_rec_fracs(map); | ^ ./mapm/auto_cmd.c:124:17: warning: passing arguments to 'converge_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | converge_to_map(map); | ^ ./mapm/auto_cmd.c:125:17: warning: passing arguments to 'set_chrom_frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | set_chrom_frame(chrom,map); | ^ ./mapm/auto_cmd.c:127:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:129:16: warning: passing arguments to 'print_long_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | print_long_map(map,title); | ^ ./mapm/auto_cmd.c:130:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:132:17: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | } on_exit { relay_messages; } | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/auto_cmd.c:147:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/auto_cmd.c:148:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | nomore_args(0); | ^ ./mapm/auto_cmd.c:149:34: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (num_chromosomes==0) error("no chromosomes presently defined\n"); | ^ ./mapm/auto_cmd.c:151:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | array(loci,raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/auto_cmd.c:151:5: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:153:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | nl(); print(CHROMS_TITLE); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:153:16: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | nl(); print(CHROMS_TITLE); | ^ ./mapm/auto_cmd.c:156:18: warning: passing arguments to 'count_chrom_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | count_chrom_loci(i,&anchor,&frame,&total,&placed,&unique,®ion, | ^ ./mapm/auto_cmd.c:159:21: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | unique,region); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:164:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | sum_placed,sum_unique,sum_region); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:173:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/auto_cmd.c:174:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | nomore_args(0); | ^ ./mapm/auto_cmd.c:175:34: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | if (num_chromosomes==0) error("no chromosomes presently defined\n"); | ^ ./mapm/auto_cmd.c:176:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | print("Chromosome assignments of all loci:\n"); nl(); | ^ ./mapm/auto_cmd.c:176:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | print("Chromosome assignments of all loci:\n"); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:179:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | sf(ps,"%s= ",chrom2str(chrom)); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:180:51: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | for (i=0; iexcluded,MAX_CHROM_LOCI+1,bool); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/auto_cmd.c:330:6: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:331:40: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | unplaced[i]->best_map=allocate_map(MAX_CHROM_LOCI+1); | ^ ./mapm/auto_cmd.c:333:19: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | temp=allocate_map(MAX_CHROM_LOCI+1); | ^ ./mapm/auto_cmd.c:335:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | sf(ps,PLACE_HEADER,npt_thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:337:21: warning: passing arguments to 'is_placeable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (!is_placeable(locus[i],ANY_CHROM)) locus[i]=NO_LOCUS; | ^ ./mapm/auto_cmd.c:344:23: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (assigned_to(locus[i],chrom) && is_placeable(locus[i],chrom)) | ^ ./mapm/auto_cmd.c:344:55: warning: passing arguments to 'is_placeable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (assigned_to(locus[i],chrom) && is_placeable(locus[i],chrom)) | ^ ./mapm/auto_cmd.c:348:28: warning: passing arguments to 'get_chrom_frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | frame= get_chrom_frame(chrom,&n_frame); | ^ ./mapm/auto_cmd.c:350:20: warning: passing arguments to 'get_chrom_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | get_chrom_loci(chrom,chrom_all,ALL_LOCI,&n_chrom,NULL); | ^ ./mapm/auto_cmd.c:354:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:356:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:356:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:357:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | if (n_frame<2) { sf(ps,PLACE_NOFRAME); pr(); nl(); continue; } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:357:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | if (n_frame<2) { sf(ps,PLACE_NOFRAME); pr(); nl(); continue; } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:361:20: warning: passing arguments to 'print_long_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | print_long_map(frame,"Framework Map:"); nl(); | ^ ./mapm/auto_cmd.c:361:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | print_long_map(frame,"Framework Map:"); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:364:22: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | setup_3pt_data(chrom_all,n_chrom,-three_pt_threshold); | ^ ./mapm/auto_cmd.c:367:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | print("Placing Markers:\n"); | ^ ./mapm/auto_cmd.c:374:36: warning: passing arguments to 'three_pt_exclusions' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | n_allowed=three_pt_exclusions(frame->locus,frame->num_loci, | ^ ./mapm/auto_cmd.c:377:18: warning: passing arguments to 'find_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | find_window(frame->locus,frame->num_loci, | ^ ./mapm/auto_cmd.c:386:19: warning: passing arguments to 'unplace_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | unplace_this(unplaced[i]->locus,chrom,M_PROBLEM,TRUE); | ^ ./mapm/auto_cmd.c:390:18: warning: passing arguments to 'place_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | place_locus(frame,unplaced[i]->locus,left,right, | ^ ./mapm/auto_cmd.c:394:17: warning: passing arguments to 'place_this' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | place_this(unplaced[i]->locus,chrom,placements,-npt_thresh, | ^ ./mapm/auto_cmd.c:400:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:401:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | if (n_to_place-n_to_punt==0) print("No Valid Placements\n"); | ^ ./mapm/auto_cmd.c:403:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | print("Placements:\n"); | ^ ./mapm/auto_cmd.c:404:23: warning: passing arguments to 'new_print_placements' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | new_print_placements(frame,unplaced,n_to_place); | ^ ./mapm/auto_cmd.c:407:23: warning: passing arguments to 'placed_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | placed_locus(unplaced[i]->locus)) { | ^ ./mapm/auto_cmd.c:408:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | print(SUB_DIVIDER); | ^ ./mapm/auto_cmd.c:410:16: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/auto_cmd.c:410:8: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/auto_cmd.c:411:26: warning: passing arguments to 'print_special_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | print_special_map(unplaced[i]->best_map,ps, | ^ ./mapm/auto_cmd.c:417:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | if (got_any) print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:418:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | else error(PLACE_NONE); | ^ ./mapm/auto_cmd.c:425:10: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | free_map(temp); | ^ ./mapm/auto_cmd.c:427:14: warning: passing arguments to 'free_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | free_map(unplaced[i]->best_map); | ^ ./mapm/auto_cmd.c:431:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/auto_cmd.c:444:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/auto_cmd.c:445:24: warning: passing arguments to 'get_chrom_arg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | chrom=get_chrom_arg(FALSE); | ^ ./mapm/auto_cmd.c:446:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | nomore_args(num_args); | ^ ./mapm/auto_cmd.c:449:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | array(marker,raw.num_markers,int); /* non-frame markers */ | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/auto_cmd.c:449:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:450:16: warning: passing arguments to 'get_chrom_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | get_chrom_loci(chrom,marker,NON_FRAME,&num_markers,NULL); | ^ ./mapm/auto_cmd.c:451:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | matrix(placement_state,num_markers, | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/auto_cmd.c:451:2: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:451:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/auto_cmd.c:451:2: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:454:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:455:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:457:16: warning: passing arguments to 'print_long_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | print_long_map(chromosome->map_list[chrom],title); | ^ ./mapm/auto_cmd.c:458:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:460:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | sf(ps,CHROM_MARKS,chrom2str(chrom)); pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:460:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | sf(ps,CHROM_MARKS,chrom2str(chrom)); pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:461:16: warning: passing arguments to 'get_chrom_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | get_chrom_loci(chrom,marker,ALL_LOCI,&num_markers,NULL); | ^ ./mapm/auto_cmd.c:462:21: warning: passing arguments to 'print_locus_summary' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | print_locus_summary(marker,num_markers,TRUE); /* change to FALSE? */ | ^ ./mapm/auto_cmd.c:463:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | if (use_haplotypes) { nl(); print_haplo_summary(marker,num_markers); } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:463:49: warning: passing arguments to 'print_haplo_summary' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | if (use_haplotypes) { nl(); print_haplo_summary(marker,num_markers); } | ^ ./mapm/auto_cmd.c:464:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:474:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/auto_cmd.c:492:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | mapm_ready(ANY_DATA,1,LIST_SEQ,&n_loci); | ^ ./mapm/auto_cmd.c:493:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | nomore_args(0); | ^ ./mapm/auto_cmd.c:500:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:503:24: warning: passing arguments to 'alloc_list_of_all_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | alloc_list_of_all_loci(seq,&locus,&n_loci); | ^ ./mapm/auto_cmd.c:504:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | array(chrom_locus,raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/auto_cmd.c:504:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:505:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | array(chrom_all,raw.num_markers,int); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/auto_cmd.c:505:2: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:506:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | parray(unplaced,n_loci,PLACEME); | ^ ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/auto_cmd.c:506:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:506:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/auto_cmd.c:506:2: 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] ./mapm/../lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:508:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | array(unplaced[i]->excluded,MAX_CHROM_LOCI+1,bool); | ^ ./mapm/../lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/auto_cmd.c:508:6: 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] ./mapm/../lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/auto_cmd.c:509:40: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | unplaced[i]->best_map=allocate_map(MAX_CHROM_LOCI+1); | ^ ./mapm/auto_cmd.c:511:20: warning: passing arguments to 'allocate_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | order=allocate_map(MAX_CHROM_LOCI+1); | ^ ./mapm/auto_cmd.c:513:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | sf(ps,PLACE_HEADER,npt_thresh); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:515:21: warning: passing arguments to 'is_placeable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | if (!is_placeable(locus[i],ANY_CHROM)) locus[i]=NO_LOCUS; | ^ ./mapm/auto_cmd.c:522:23: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | if (assigned_to(locus[i],chrom) && is_placeable(locus[i],chrom)) | ^ ./mapm/auto_cmd.c:522:55: warning: passing arguments to 'is_placeable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | if (assigned_to(locus[i],chrom) && is_placeable(locus[i],chrom)) | ^ ./mapm/auto_cmd.c:526:28: warning: passing arguments to 'get_chrom_frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | frame= get_chrom_frame(chrom,&n_frame); | ^ ./mapm/auto_cmd.c:528:20: warning: passing arguments to 'get_chrom_loci' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | get_chrom_loci(chrom,chrom_all,ALL_LOCI,&n_chrom,NULL); | ^ ./mapm/auto_cmd.c:532:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | print(MAP_DIVIDER); | ^ ./mapm/auto_cmd.c:534:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:534:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | pr(); nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:535:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (n_frame<2) { sf(ps,PLACE_NOFRAME); pr(); nl(); continue; } | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:535:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (n_frame<2) { sf(ps,PLACE_NOFRAME); pr(); nl(); continue; } | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:541:22: warning: passing arguments to 'setup_3pt_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | setup_3pt_data(chrom_all,n_chrom,-three_pt_threshold); | ^ ./mapm/auto_cmd.c:547:13: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | pad_to_len(ps,14); pr(); | ^ ./mapm/auto_cmd.c:547:22: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | pad_to_len(ps,14); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:548:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | if (i==n_chrom-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:548:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | if (i==n_chrom-1 || i%5==4) nl(); else print(" "); | ^ ./mapm/auto_cmd.c:551:12: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | mapcpy(order,frame,TRUE); | ^ ./mapm/auto_cmd.c:555:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | nl(); sf(ps,PLACE_AT,npt_first_threshold); pr(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:555:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | nl(); sf(ps,PLACE_AT,npt_first_threshold); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:556:18: warning: passing arguments to 'extend_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | extend_order(order,unplaced,&n_unplaced,-npt_first_threshold,TRUE); | ^ ./mapm/auto_cmd.c:559:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | print(SUB_DIVIDER); | ^ ./mapm/auto_cmd.c:560:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | sf(ps,PLACE_AT,npt_threshold); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:561:15: warning: passing arguments to 'extend_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | extend_order(order,unplaced,&n_unplaced,-npt_threshold,FALSE); | ^ ./mapm/auto_cmd.c:564:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:565:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | sf(ps,"order%d= ",num_orders+1); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:567:26: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/auto_cmd.c:567:18: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/auto_cmd.c:567:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | sf(ps,"%s ",rag(loc2str(order->locus[i]))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:572:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:573:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | sf(ps,"other%d= ",num_orders+1); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:575:26: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/auto_cmd.c:575:18: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/auto_cmd.c:575:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | sf(ps,"%s ",rag(loc2str(unplaced[i]->locus))); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:580:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | nl(); | ^ ./mapm/../lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./mapm/auto_cmd.c:585:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | print(SUB_DIVIDER); | ^ ./mapm/auto_cmd.c:587:19: warning: passing arguments to 'loc2str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/auto_cmd.c:587:11: warning: passing arguments to 'rag' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | rag(loc2str(unplaced[i]->locus))); | ^ ./mapm/auto_cmd.c:588:22: warning: passing arguments to 'print_special_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | print_special_map(unplaced[i]->best_map,ps, | ^ ./mapm/auto_cmd.c:593:20: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | if (got_any) print(MAP_DIVIDER); else error(PLACE_NONE); | ^ ./mapm/auto_cmd.c:593:45: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | if (got_any) print(MAP_DIVIDER); else error(PLACE_NONE); | ^ ./mapm/auto_cmd.c:597:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/auto_cmd.c:608:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/auto_cmd.c:610:24: warning: passing arguments to 'get_chrom_arg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | chrom=get_chrom_arg(FALSE); | ^ ./mapm/auto_cmd.c:611:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | get_arg(stoken,chrom2str(chrom),name); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/auto_cmd.c:611:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/auto_cmd.c:611:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/auto_cmd.c:611:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/auto_cmd.c:612:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | nomore_args(num_args); | ^ ./mapm/auto_cmd.c:615:20: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | if (!make_filename(name,FORCE_EXTENSION,PS_EXT)) | ^ ./mapm/auto_cmd.c:616:48: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | { sf(ps,"illegal filename '%s'",name); error(ps); } | ^ ./mapm/auto_cmd.c:617:15: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | fp= open_file(name,WRITE); | ^ ./mapm/auto_cmd.c:619:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | chrom2str(chrom),name); pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:620:16: warning: passing arguments to 'print_ps_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | print_ps_chrom(fp,chrom); | ^ ./mapm/auto_cmd.c:621:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | close_file(fp); | ^ ./mapm/auto_cmd.c:622:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | print("ok\n"); | ^ ./mapm/auto_cmd.c:625:68: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | when CANTOPEN: sf(ps,"Can't create output file '%s'",name); error(ps); | ^ ./mapm/auto_cmd.c:626:23: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | when CANTCLOSE: error("\nCan't close file - disk is full?"); | ^ ./mapm/auto_cmd.c:627:21: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | default: close_file(fp); relay_messages; | ^ ./mapm/auto_cmd.c:627:27: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | default: close_file(fp); relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./mapm/auto_cmd.c:638:15: warning: passing arguments to 'mapm_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | mapm_ready(ANY_DATA,0,0,NULL); | ^ ./mapm/auto_cmd.c:640:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | get_arg(stoken,raw.filename,name); | ^ ./mapm/../lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./mapm/auto_cmd.c:640:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/auto_cmd.c:640:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./mapm/auto_cmd.c:640:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./mapm/auto_cmd.c:641:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | nomore_args(num_args); | ^ ./mapm/auto_cmd.c:645:20: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | if (!make_filename(name,FORCE_EXTENSION,PS_EXT)) | ^ ./mapm/auto_cmd.c:646:48: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | { sf(ps,"illegal filename '%s'",name); error(ps); } | ^ ./mapm/auto_cmd.c:647:14: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | fp=open_file(name,WRITE); | ^ ./mapm/auto_cmd.c:649:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | pr(); | ^ ./mapm/../lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./mapm/auto_cmd.c:650:21: warning: passing arguments to 'print_all_ps_chroms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | print_all_ps_chroms(fp); | ^ ./mapm/auto_cmd.c:651:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | close_file(fp); | ^ ./mapm/auto_cmd.c:652:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | print("ok\n"); | ^ ./mapm/auto_cmd.c:655:68: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | when CANTOPEN: sf(ps,"Can't create output file '%s'",name); error(ps); | ^ ./mapm/auto_cmd.c:656:23: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | when CANTCLOSE: error("\nCan't close file - disk is full?"); | ^ ./mapm/auto_cmd.c:657:21: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | default: close_file(fp); relay_messages; | ^ ./mapm/auto_cmd.c:657:27: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | default: close_file(fp); relay_messages; | ^ ./mapm/../lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ 303 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./lib/makehelp.c -o ./lib/makehelp.o ./lib/makehelp.c:114:14: warning: passing arguments to 'finput' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | do finput(file,str,MAXLINE); /* crunches */ | ^ ./lib/makehelp.c:123:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | sf(ps,"%s ",msg); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/makehelp.c:125:18: 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] 125 | if (punt==2) send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/makehelp.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | void parse_error(msg,punt) | ^ ./lib/makehelp.c:95:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | void nextstr(), parse_error(), parse_entry(), close_files(); | ^ ./lib/makehelp.c:132:15: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | close_file(file); | ^ ./lib/makehelp.c:134:5: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | fwrite(hlp,WRS("@end\n")); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:135:15: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | close_file(hlp); | ^ ./lib/makehelp.c:138:15: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | close_file(code); | ^ ./lib/makehelp.c:144:16: warning: passing arguments to 'ps_page_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | ps_page_end(man); | ^ ./lib/makehelp.c:145:16: warning: passing arguments to 'ps_file_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | ps_file_end(man); | ^ ./lib/makehelp.c:148:15: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | close_file(man); | ^ ./lib/makehelp.c:150:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | sf(ps,"%s done\n",name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/makehelp.c:129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | void close_files(name) | ^ ./lib/makehelp.c:95:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | void nextstr(), parse_error(), parse_entry(), close_files(); | ^ ./lib/makehelp.c:164:8: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | fprint(stderr,ps); | ^ ./lib/makehelp.c:175:15: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | make_filename(code_failed,FORCE_EXTENSION,WRS("failed")); | ^ ./lib/makehelp.c:177:22: warning: passing arguments to 'make_filename_in_dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | make_filename_in_dir(final_hlp_name,FORCE_EXTENSION,WRS("help"), | ^ ./lib/makehelp.c:180:17: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | file= open_file(file_name,READ); | ^ ./lib/makehelp.c:181:17: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | code= open_file(code_name,WRITE); | ^ ./lib/makehelp.c:182:17: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | hlp= open_file(hlp_name, WRITE); | ^ ./lib/makehelp.c:183:17: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | man= open_file(man_name,WRITE); | ^ ./lib/makehelp.c:187:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | matrix(entry,MAX_COMMANDS,MAXLINE+1,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/makehelp.c:187:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/makehelp.c:187:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./lib/makehelp.c:187:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./lib/makehelp.c:190:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | fwrite(hlp,WRS("#MAPMAKER help file - do not edit!\n")); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:194:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | fwrite(code,WRS("/* MAPMAKER help code file - do not edit! */ \n\n")); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:195:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | fwrite(code,WRS("#define INC_LIB \n#define INC_SHELL \n")); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:196:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | fwrite(code,WRS("#include \"system.h\" \n\n")); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:199:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | fwrite(code,WRS("void make_help_entries()\n{\n")); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:205:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | while (nullstr(str)) nextstr(); | ^ ./lib/makehelp.c:212:30: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | do nextstr(); while (nullstr(str)); | ^ ./lib/makehelp.c:219:20: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | while (nullstr(str)) nextstr(); | ^ ./lib/makehelp.c:222:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | sf(ps,"error: bad header:%s\n",str); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/makehelp.c:242:33: warning: passing arguments to 'despace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | strcpy(name,str+i); despace(name); | ^ ./lib/makehelp.c:244:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | sf(ps,"\t%s... ",name); pr(); flush(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./lib/makehelp.c:246:47: warning: passing arguments to 'parse_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | if (streq(type,"cmd")) parse_entry(CMD,name,abbreviation); | ^ ./lib/makehelp.c:247:47: warning: passing arguments to 'parse_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | else if (streq(type,"opt")) parse_entry(OPT,name,abbreviation); | ^ ./lib/makehelp.c:248:47: warning: passing arguments to 'parse_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | else if (streq(type,"param")) parse_entry(PAR,name,abbreviation); | ^ ./lib/makehelp.c:249:47: warning: passing arguments to 'parse_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | else if (streq(type,"info")) parse_entry(HLP,name,abbreviation); | ^ ./lib/makehelp.c:250:47: warning: passing arguments to 'parse_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | else if (streq(type,"topic")) parse_entry(TOP,name,abbreviation); | ^ ./lib/makehelp.c:252:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./lib/makehelp.c:256:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (msg==ENDOFILE) print("error: unexpected end of file\n"); | ^ ./lib/makehelp.c:257:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | else print("error: makehelp failed"); | ^ ./lib/makehelp.c:259:13: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | rename_file(code_name,code_failed); | ^ ./lib/makehelp.c:154:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | int main(argc,argv) | ^ ./lib/makehelp.c:287:15: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | nstrcpy(description,str+1,MAX_COM_HELP_LEN); | ^ ./lib/makehelp.c:333:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | while (nullstr(str)) nextstr(); | ^ ./lib/makehelp.c:335:29: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | strcpy(key,name); crunch(key); | ^ ./lib/makehelp.c:338:32: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (num_args>0 && nullstr(arguments)) parse_error("no args text",0); | ^ ./lib/makehelp.c:339:32: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | if (num_args==0 && !nullstr(arguments)) parse_error("extra args text",0); | ^ ./lib/makehelp.c:340:32: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | if (num_args==0 && !nullstr(defaults)) parse_error("extra default text",0); | ^ ./lib/makehelp.c:341:31: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (kind==TOP && (!nullstr(arguments) || !nullstr(defaults) || | ^ ./lib/makehelp.c:341:54: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (kind==TOP && (!nullstr(arguments) || !nullstr(defaults) || | ^ ./lib/makehelp.c:342:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | !nullstr(results) || !nullstr(sequence) || num_args>0)) | ^ ./lib/makehelp.c:342:38: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | !nullstr(results) || !nullstr(sequence) || num_args>0)) | ^ ./lib/makehelp.c:344:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (nullstr(description)) parse_error("no description",0); | ^ ./lib/makehelp.c:351:33: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | sf(ps,"%cTOPIC %s\n",'@',key); fwrite(hlp,ps); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:356:27: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | sf(ps,"%c%s\n",'@',key); fwrite(hlp,ps); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:358:14: warning: passing arguments to 'write_mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | write_mkhelp(key,abbrev,pos,prefix,num_args,description,arguments, | ^ ./lib/makehelp.c:362:33: warning: passing arguments to 'man_new_topic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | if (kind==TOP) man_new_topic(name,description,str[0]!='@'); | ^ ./lib/makehelp.c:363:25: warning: passing arguments to 'man_new_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | else man_new_entry(kind,name,str[0]!='@'); | ^ ./lib/makehelp.c:369:59: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | else if (str[0]=='^') { strcpy(line,str+1); uppercase(line); } | ^ ./lib/makehelp.c:372:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | if (!(nullstr(line) && str[0]=='@')) { /* punt last line if blank */ | ^ ./lib/makehelp.c:373:8: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | fwrite(hlp,line); fnl(hlp); | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:373:26: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | fwrite(hlp,line); fnl(hlp); | ^ ./lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:375:22: warning: passing arguments to 'man_write_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | man_write_line(line); | ^ ./lib/makehelp.c:266:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | void parse_entry(kind,name,abbrev) | ^ ./lib/makehelp.c:95:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | void nextstr(), parse_error(), parse_entry(), close_files(); | ^ ./lib/makehelp.c:402:30: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | num_args,temp,topic); fpr(code); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/makehelp.c:403:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | sf(ps," \"%s\",\n", desc); fpr(code); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/makehelp.c:404:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | sf(ps," \"%s\",\n", args); fpr(code); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/makehelp.c:405:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | sf(ps," \"%s\");\n",defs); fpr(code); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/makehelp.c:383:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | void write_mkhelp(cmd,abbrev,pos,prefix,num_args,desc,args,defs,topic,kind) | ^ ./lib/makehelp.c:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | void write_mkhelp(), write_topics_and_end(); | ^ ./lib/makehelp.c:414:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:416:5: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | fnl(code); | ^ ./lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./lib/makehelp.c:420:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | fpr(code); s++; | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./lib/makehelp.c:422:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | fprint(code,WRS("}\n")); | ^ ./lib/makehelp.c:433:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:439:26: warning: passing arguments to 'ps_page_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | ps_page=1; ps_page_start(man,ps_page); return; } | ^ ./lib/makehelp.c:450:16: warning: passing arguments to 'ps_page_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | ps_page_end(man); | ^ ./lib/makehelp.c:452:18: warning: passing arguments to 'ps_page_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | ps_page_start(man,ps_page); | ^ ./lib/makehelp.c:474:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:483:14: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | ps_string(save+1)); | ^ ./lib/makehelp.c:486:57: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | LEFT_MARGIN, (lines*FONT_SIZE)+TOP_MARGIN, ps_string(save)); | ^ ./lib/makehelp.c:471:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | void man_write_line(line) | ^ ./lib/makehelp.c:108:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | void man_write_line(), man_write_done(), man_new_entry(), man_new_page(); | ^ ./lib/makehelp.c:507:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:514:12: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | ps_string(save+1)); | ^ ./lib/makehelp.c:517:55: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | LEFT_MARGIN, (lines*FONT_SIZE)+TOP_MARGIN, ps_string(save)); | ^ ./lib/makehelp.c:542:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:544:24: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | if (n>0 && !nullstr(arguments) && !nullstr(defaults)) need++; | ^ ./lib/makehelp.c:544:47: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | if (n>0 && !nullstr(arguments) && !nullstr(defaults)) need++; | ^ ./lib/makehelp.c:562:34: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | strcpy(temp0,name); uppercase(temp0); | ^ ./lib/makehelp.c:563:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | if (nullstr(abbreviation)) temp2[0]='\0'; | ^ ./lib/makehelp.c:569:56: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN,ps_string(templine)); | ^ ./lib/makehelp.c:571:58: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN-1,ps_string(templine)); | ^ ./lib/makehelp.c:574:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | if (!nullstr(description)) { | ^ ./lib/makehelp.c:578:12: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | ps_string(templine)); | ^ ./lib/makehelp.c:588:22: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | else if (!nullstr(arguments)) { | ^ ./lib/makehelp.c:591:53: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN,ps_string(templine)); | ^ ./lib/makehelp.c:595:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (!nullstr(defaults)) { | ^ ./lib/makehelp.c:599:14: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | ps_string(templine)); | ^ ./lib/makehelp.c:533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | void man_new_entry(kind,name,has_description) /* only CMD or OPT */ | ^ ./lib/makehelp.c:108:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | void man_write_line(), man_write_done(), man_new_entry(), man_new_page(); | ^ ./lib/makehelp.c:637:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:643:42: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | strcpy(upcase,description); uppercase(upcase); | ^ ./lib/makehelp.c:648:56: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN,ps_string(templine)); | ^ ./lib/makehelp.c:650:58: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN-1,ps_string(templine)); | ^ ./lib/makehelp.c:630:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | void man_new_topic(name,description,has_description) | ^ ./lib/makehelp.c:109:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | void man_new_topic(), man_write_contents(), man_write_title(); | ^ ./lib/makehelp.c:664:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:667:36: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | strcpy(upcase,title); uppercase(upcase); | ^ ./lib/makehelp.c:672:56: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN,ps_string(templine)); | ^ ./lib/makehelp.c:683:44: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | strcpy(upcase,section[s]); uppercase(upcase); | ^ ./lib/makehelp.c:686:42: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | strcpy(upcase,entry[i]); uppercase(upcase); | ^ ./lib/makehelp.c:689:42: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | strcpy(upcase,entry[i]); uppercase(upcase); | ^ ./lib/makehelp.c:692:42: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | strcpy(upcase,entry[i]); uppercase(upcase); | ^ ./lib/makehelp.c:695:42: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | strcpy(upcase,entry[i]); uppercase(upcase); | ^ ./lib/makehelp.c:705:36: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | strcpy(upcase,title); uppercase(upcase); | ^ ./lib/makehelp.c:710:56: warning: passing arguments to 'ps_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | LEFT_MARGIN,(lines*FONT_SIZE)+TOP_MARGIN,ps_string(templine)); | ^ ./lib/makehelp.c:720:42: warning: passing arguments to 'uppercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | strcpy(upcase,section[s]); uppercase(upcase); | ^ ./lib/makehelp.c:742:10: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | if (!make_man) return; | ^ ./lib/makehelp.c:106:27: note: expanded from macro 'make_man' 106 | #define make_man (!nullstr(man_name)) | ^ ./lib/makehelp.c:745:18: warning: passing arguments to 'ps_file_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | ps_file_start(man); | ^ ./lib/makehelp.c:751:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | void ps_file_start(fp) | ^ ./lib/makehelp.c:98:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./lib/makehelp.c:803:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | void ps_file_end(fp) | ^ ./lib/makehelp.c:98:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./lib/makehelp.c:812:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | void ps_page_start(fp,pagenum) | ^ ./lib/makehelp.c:98:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./lib/makehelp.c:822:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | void ps_page_end(fp) | ^ ./lib/makehelp.c:98:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./lib/makehelp.c:830:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | char *ps_string(str) | ^ ./lib/makehelp.c:99:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | char *ps_string(); | ^ 136 warnings generated. cc ./lib/makehelp.o lib.o -lm -lncurses -o ./lib/makehelp ./lib/makehelp ./mapm/mapmhelp.src ./mapm/mapmhelp.c mapmaker.help mapmaker.ps General Information... About MAPMAKER... Release Notes... Starting MAPMAKER... Tutorial... entering commands... abbreviating commands... keyboard editing... PostScript Output... Basic Commands... help... photo... prepare data... load data... save data... quit... Sequences... sequence... history... expand sequence... insert... append... delete... edit sequence... let... names... forget named sequence... translate... Two-Point Analysis... two point... lod table... big lods... near... links... pairwise... group... default linkage criteria... suggest subset... informativeness criteria... Multipoint Analysis... map... draw map... compare... try... ripple... order... build... multipoint criteria... Genome Analysis... make chromosome... assign... attach... unassign... anchor... framework... place... together... list loci... list status... list chromosomes... list assignments... draw chromosome... draw all chromosomes... age... class... make class... Error Detection... error detection... error probability... error thresholds... genotypes... Three Point... use three point... three point... triple linkage criteria... triple exclusion criteria... triple error detection... forget three point... Joining Haplotypes... join haplotypes... list haplotypes... restore haplotypes... Parameters and Options... print names... print maps... tolerance... auto save data... units... centimorgan function... more mode... Miscellaneous Commands... previous commands... review output... change directory... run... time... comment... remark... system... import data... export data... wizard mode... ./lib/makehelp done cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/mapmhelp.c -o ./mapm/mapmhelp.o ./mapm/mapmhelp.c:9:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | mkhelp("about mapmaker","",789l,EXACTLY,-1,CMD,1, | ^ ./mapm/mapmhelp.c:13:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | mkhelp("release notes","",1796l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:17:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | mkhelp("starting mapmaker","",2621l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:21:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | mkhelp("tutorial","",7510l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:25:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | mkhelp("entering commands","",7914l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:29:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | mkhelp("abbreviating commands","",9424l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:33:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | mkhelp("keyboard editing","",10756l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:37:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | mkhelp("postscript output","",12291l,EXACTLY,-1,HLP,1, | ^ ./mapm/mapmhelp.c:41:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | mkhelp("help","?",14105l,UPTO,1,CMD,2, | ^ ./mapm/mapmhelp.c:45:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | mkhelp("photo","",14794l,UPTO,1,CMD,2, | ^ ./mapm/mapmhelp.c:49:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | mkhelp("prepare data","pd",16007l,EXACTLY,1,CMD,2, | ^ ./mapm/mapmhelp.c:53:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | mkhelp("load data","ld",18603l,UPTO,1,CMD,2, | ^ ./mapm/mapmhelp.c:57:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | mkhelp("save data","",20084l,UPTO,1,CMD,2, | ^ ./mapm/mapmhelp.c:61:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | mkhelp("quit","q",20380l,EXACTLY,0,CMD,2, | ^ ./mapm/mapmhelp.c:65:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | mkhelp("sequence","s",21625l,UPTO,1,CMD,3, | ^ ./mapm/mapmhelp.c:69:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | mkhelp("history","h",24791l,EXACTLY,1,CMD,3, | ^ ./mapm/mapmhelp.c:73:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | mkhelp("expand sequence","x",25665l,UPTO,1,CMD,3, | ^ ./mapm/mapmhelp.c:77:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | mkhelp("insert","i",26154l,EXACTLY,2,CMD,3, | ^ ./mapm/mapmhelp.c:81:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mkhelp("append","a",26696l,EXACTLY,1,CMD,3, | ^ ./mapm/mapmhelp.c:85:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | mkhelp("delete","d",26934l,EXACTLY,1,CMD,3, | ^ ./mapm/mapmhelp.c:89:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | mkhelp("edit sequence","e",27170l,UPTO,1,CMD,3, | ^ ./mapm/mapmhelp.c:93:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | mkhelp("let","l",27943l,EXACTLY,1,CMD,3, | ^ ./mapm/mapmhelp.c:97:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | mkhelp("names","n",29530l,EXACTLY,0,CMD,3, | ^ ./mapm/mapmhelp.c:101:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | mkhelp("forget named sequence","",30576l,EXACTLY,1,CMD,3, | ^ ./mapm/mapmhelp.c:105:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | mkhelp("translate","t",30813l,EXACTLY,0,CMD,3, | ^ ./mapm/mapmhelp.c:109:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | mkhelp("two point","",32574l,EXACTLY,0,CMD,4, | ^ ./mapm/mapmhelp.c:113:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | mkhelp("lod table","",33146l,UPTO,1,CMD,4, | ^ ./mapm/mapmhelp.c:117:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | mkhelp("big lods","",34200l,UPTO,1,CMD,4, | ^ ./mapm/mapmhelp.c:121:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | mkhelp("near","",34809l,EXACTLY,1,CMD,4, | ^ ./mapm/mapmhelp.c:125:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | mkhelp("links","",36109l,UPTO,3,CMD,4, | ^ ./mapm/mapmhelp.c:129:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | mkhelp("pairwise","",37460l,EXACTLY,1,CMD,4, | ^ ./mapm/mapmhelp.c:133:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | mkhelp("group","",38187l,UPTO,2,CMD,4, | ^ ./mapm/mapmhelp.c:137:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | mkhelp("default linkage criteria","",39407l,UPTO,2,PAR,4, | ^ ./mapm/mapmhelp.c:141:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | mkhelp("suggest subset","",40132l,UPTO,2,CMD,4, | ^ ./mapm/mapmhelp.c:145:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | mkhelp("informativeness criteria","",41315l,UPTO,3,PAR,4, | ^ ./mapm/mapmhelp.c:149:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | mkhelp("map","m",42706l,EXACTLY,0,CMD,5, | ^ ./mapm/mapmhelp.c:153:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | mkhelp("draw map","",43072l,UPTO,1,CMD,5, | ^ ./mapm/mapmhelp.c:157:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | mkhelp("compare","c",43545l,UPTO,2,CMD,5, | ^ ./mapm/mapmhelp.c:161:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | mkhelp("try","",45763l,EXACTLY,1,CMD,5, | ^ ./mapm/mapmhelp.c:165:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | mkhelp("ripple","",49972l,UPTO,2,CMD,5, | ^ ./mapm/mapmhelp.c:169:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | mkhelp("order","",52329l,UPTO,5,CMD,5, | ^ ./mapm/mapmhelp.c:173:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | mkhelp("build","",55531l,EXACTLY,1,CMD,5, | ^ ./mapm/mapmhelp.c:177:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | mkhelp("multipoint criteria","",59436l,UPTO,3,PAR,5, | ^ ./mapm/mapmhelp.c:181:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | mkhelp("make chromosome","",63837l,EXACTLY,1,CMD,6, | ^ ./mapm/mapmhelp.c:185:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | mkhelp("assign","",64221l,UPTO,4,CMD,6, | ^ ./mapm/mapmhelp.c:189:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | mkhelp("attach","",64945l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:193:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | mkhelp("unassign","",65133l,EXACTLY,0,CMD,6, | ^ ./mapm/mapmhelp.c:197:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | mkhelp("anchor","",65309l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:201:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | mkhelp("framework","",65816l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:205:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | mkhelp("place","",66313l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:209:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | mkhelp("together","",67447l,EXACTLY,-1,CMD,6, | ^ ./mapm/mapmhelp.c:213:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | mkhelp("list loci","ll",68252l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:217:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | mkhelp("list status","ls",69031l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:221:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | mkhelp("list chromosomes","lc",69418l,EXACTLY,0,CMD,6, | ^ ./mapm/mapmhelp.c:225:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | mkhelp("list assignments","la",69780l,EXACTLY,0,CMD,6, | ^ ./mapm/mapmhelp.c:229:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | mkhelp("draw chromosome","",70042l,UPTO,2,CMD,6, | ^ ./mapm/mapmhelp.c:233:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | mkhelp("draw all chromosomes","",70951l,UPTO,1,CMD,6, | ^ ./mapm/mapmhelp.c:237:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | mkhelp("age","",71736l,EXACTLY,1,CMD,6, | ^ ./mapm/mapmhelp.c:241:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | mkhelp("class","",71926l,EXACTLY,1,CMD,6, | ^ ./mapm/mapmhelp.c:245:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | mkhelp("make class","",72267l,EXACTLY,1,CMD,6, | ^ ./mapm/mapmhelp.c:249:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | mkhelp("error detection","",74802l,UPTO,1,OPT,7, | ^ ./mapm/mapmhelp.c:253:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | mkhelp("error probability","",75582l,EXACTLY,1,CMD,7, | ^ ./mapm/mapmhelp.c:257:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | mkhelp("error thresholds","",76085l,UPTO,3,PAR,7, | ^ ./mapm/mapmhelp.c:261:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | mkhelp("genotypes","",76929l,EXACTLY,0,CMD,7, | ^ ./mapm/mapmhelp.c:265:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | mkhelp("use three point","",80516l,UPTO,1,OPT,8, | ^ ./mapm/mapmhelp.c:269:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | mkhelp("three point","",80911l,EXACTLY,0,CMD,8, | ^ ./mapm/mapmhelp.c:273:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | mkhelp("triple linkage criteria","",81536l,UPTO,3,PAR,8, | ^ ./mapm/mapmhelp.c:277:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | mkhelp("triple exclusion criteria","",82358l,UPTO,1,PAR,8, | ^ ./mapm/mapmhelp.c:281:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | mkhelp("triple error detection","",82901l,UPTO,1,OPT,8, | ^ ./mapm/mapmhelp.c:285:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | mkhelp("forget three point","",83867l,EXACTLY,0,CMD,8, | ^ ./mapm/mapmhelp.c:289:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | mkhelp("join haplotypes","",86528l,UPTO,2,CMD,9, | ^ ./mapm/mapmhelp.c:293:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | mkhelp("list haplotypes","lh",87564l,EXACTLY,1,CMD,9, | ^ ./mapm/mapmhelp.c:297:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | mkhelp("restore haplotypes","",87712l,EXACTLY,1,CMD,9, | ^ ./mapm/mapmhelp.c:301:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | mkhelp("print names","",88038l,UPTO,1,OPT,10, | ^ ./mapm/mapmhelp.c:305:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | mkhelp("print maps","",88476l,UPTO,1,OPT,10, | ^ ./mapm/mapmhelp.c:309:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | mkhelp("tolerance","",89011l,UPTO,1,PAR,10, | ^ ./mapm/mapmhelp.c:313:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | mkhelp("auto save data","",89394l,UPTO,1,OPT,10, | ^ ./mapm/mapmhelp.c:317:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | mkhelp("units","",90350l,UPTO,1,PAR,10, | ^ ./mapm/mapmhelp.c:321:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | mkhelp("centimorgan function","",91295l,UPTO,1,PAR,10, | ^ ./mapm/mapmhelp.c:325:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | mkhelp("more mode","",91676l,UPTO,1,OPT,10, | ^ ./mapm/mapmhelp.c:329:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | mkhelp("previous commands","p",92327l,EXACTLY,0,CMD,11, | ^ ./mapm/mapmhelp.c:333:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | mkhelp("review output","",92775l,EXACTLY,0,CMD,11, | ^ ./mapm/mapmhelp.c:337:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | mkhelp("change directory","cd",93208l,EXACTLY,1,CMD,11, | ^ ./mapm/mapmhelp.c:341:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | mkhelp("run","",93659l,EXACTLY,1,CMD,11, | ^ ./mapm/mapmhelp.c:345:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | mkhelp("time","",94595l,EXACTLY,0,CMD,11, | ^ ./mapm/mapmhelp.c:349:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | mkhelp("comment","",94786l,EXACTLY,1,CMD,11, | ^ ./mapm/mapmhelp.c:353:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | mkhelp("remark","",95431l,EXACTLY,1,CMD,11, | ^ ./mapm/mapmhelp.c:357:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | mkhelp("system","",95472l,UPTO,1,CMD,11, | ^ ./mapm/mapmhelp.c:361:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | mkhelp("import data","",96768l,UPTO,2,CMD,11, | ^ ./mapm/mapmhelp.c:365:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | mkhelp("export data","",96898l,UPTO,2,CMD,11, | ^ ./mapm/mapmhelp.c:369:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | mkhelp("wizard mode","",97028l,EXACTLY,1,CMD,11, | ^ ./mapm/mapmhelp.c:374:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | mktopic(1,"General Information on MAPMAKER Version 3.0",TOP,62l); | ^ ./mapm/mapmhelp.c:375:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | mktopic(2,"Basic MAPMAKER Commands",TOP,13580l); | ^ ./mapm/mapmhelp.c:376:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | mktopic(3,"Sequence Command and Related Features",TOP,20695l); | ^ ./mapm/mapmhelp.c:377:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | mktopic(4,"Two-Point (Pairwise) Analysis Commands",TOP,31446l); | ^ ./mapm/mapmhelp.c:378:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | mktopic(5,"Multipoint Analysis Commands",TOP,42074l); | ^ ./mapm/mapmhelp.c:379:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | mktopic(6,"Genome Analysis Features",TOP,60507l); | ^ ./mapm/mapmhelp.c:380:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | mktopic(7,"Systematic Error Detection Mechanism",TOP,72706l); | ^ ./mapm/mapmhelp.c:381:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | mktopic(8,"Three-Point Analysis Mechanism",TOP,77519l); | ^ ./mapm/mapmhelp.c:382:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | mktopic(9,"Joining Haplotypes in Large Data Sets",TOP,84113l); | ^ ./mapm/mapmhelp.c:383:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | mktopic(10,"MAPMAKER Parameters and Options",TOP,87944l); | ^ ./mapm/mapmhelp.c:384:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | mktopic(11,"Miscellaneous Commands",TOP,92242l); | ^ 102 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/database.c -o ./mapm/database.o In file included from ./mapm/database.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/database.c:87:21: warning: passing arguments to 'allocate_f2_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | allocate_f2_data(num_markers, num_indivs); | ^ 2 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./mapm/ps_maps.c -o ./mapm/ps_maps.o In file included from ./mapm/ps_maps.c:16: In file included from ./mapm/mapm.h:416: ./mapm/toplevel.h:46:1: warning: '/*' within block comment [-Wcomment] 46 | /* side-effects locus[], *num_loci; and, if verbose, may print a msg. | ^ ./mapm/ps_maps.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void ps_file_start(fp) | ^ ./mapm/ps_maps.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./mapm/ps_maps.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void ps_file_end(fp) | ^ ./mapm/ps_maps.c:20:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./mapm/ps_maps.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 ps_page_start(fp,pagenum) | ^ ./mapm/ps_maps.c:20:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./mapm/ps_maps.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void ps_page_end(fp) | ^ ./mapm/ps_maps.c:20:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./mapm/ps_maps.c:120: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] 120 | map_length += cm_dist(map->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:122:21: warning: passing arguments to 'ps_scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | scale = ps_scale(map_length); | ^ ./mapm/ps_maps.c:125:28: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | sf(loc_str,"%s",ps_loc_str(map->locus[i])); | ^ ./mapm/ps_maps.c:126:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | interval_length = cm_dist(map->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:129:29: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | sf(ps," %s",ps_loc_str(map->locus[i])); | ^ ./mapm/ps_maps.c:136:29: 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] 136 | interval_length += cm_dist(map->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:153:13: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | ps_loc_str(map->locus[i])); | ^ ./mapm/ps_maps.c:103:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | void print_ps_map(fp,map) | ^ In file included from ./mapm/ps_maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:364: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] 364 | void print_ps_map(); /* args: fp, map; in ps_maps.c */ | ^ ./mapm/ps_maps.c:167:49: warning: passing arguments to 'print_all_ps_chroms' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | if (chrom == NO_CHROM) { print_all_ps_chroms(fp); return; } | ^ ./mapm/ps_maps.c:171: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] 171 | map_length += cm_dist(chromosome->map_list[chrom]->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:173:21: warning: passing arguments to 'ps_scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | scale = ps_scale(map_length); | ^ ./mapm/ps_maps.c:178:18: warning: passing arguments to 'ps_dump_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | ps_dump_chrom(fp, chrom, scale); | ^ ./mapm/ps_maps.c:160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | void print_ps_chrom(fp,chrom) | ^ In file included from ./mapm/ps_maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:365: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] 365 | void print_ps_chrom(); /* args: fp, chrom; in ps_maps.c */ | ^ ./mapm/ps_maps.c:194:20: 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] 194 | map_length += cm_dist(chromosome->map_list[i]->rec_frac[j][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:197:21: warning: passing arguments to 'ps_scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | scale = ps_scale(best); | ^ ./mapm/ps_maps.c:203:15: warning: passing arguments to 'ps_dump_chrom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | ps_dump_chrom(fp, i, scale); | ^ ./mapm/ps_maps.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void print_all_ps_chroms(fp) | ^ In file included from ./mapm/ps_maps.c:16: In file included from ./mapm/mapm.h:415: ./mapm/map_info.h:366: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] 366 | void print_all_ps_chroms(); /* args: fp; in ps_maps.c */ | ^ ./mapm/ps_maps.c:215:39: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if(map_length > LONGEST_MAP) error("map too long for output"); | ^ ./mapm/ps_maps.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | real ps_scale(map_length) | ^ ./mapm/ps_maps.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | real ps_scale(); | ^ ./mapm/ps_maps.c:235:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | matrix(placed_markers, frame->num_loci+1, PLACE_STRING, char); | ^ ./mapm/../lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/ps_maps.c:235:5: 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] ./mapm/../lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ps_maps.c:235:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./mapm/../lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./mapm/ps_maps.c:235:5: 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] ./mapm/../lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./mapm/../lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./mapm/ps_maps.c:243:22: warning: passing arguments to 'assigned_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | if (assigned_to(marker,chrom) && placed_locus(marker)) { | ^ ./mapm/ps_maps.c:243:52: warning: passing arguments to 'placed_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | if (assigned_to(marker,chrom) && placed_locus(marker)) { | ^ ./mapm/ps_maps.c:253:33: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | sf(ps,"()(%s)%c ",ps_loc_str(i), | ^ ./mapm/ps_maps.c:257:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | sf(ps,"(%.1lf)(%s)%c ",cm_dist(dist),ps_loc_str(i), | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:257:52: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | sf(ps,"(%.1lf)(%s)%c ",cm_dist(dist),ps_loc_str(i), | ^ ./mapm/ps_maps.c:263:33: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | sf(ps,"()(%s)%c ",ps_loc_str(i), | ^ ./mapm/ps_maps.c:269:33: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | sf(ps,"()(%s)%c ",ps_loc_str(i), | ^ ./mapm/ps_maps.c:273:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | sf(ps,"(%.1lf)(%s)%c ",cm_dist(dist),ps_loc_str(i), | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:273:52: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | sf(ps,"(%.1lf)(%s)%c ",cm_dist(dist),ps_loc_str(i), | ^ ./mapm/ps_maps.c:281:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (!nullstr(frame->map_name)) { | ^ ./mapm/ps_maps.c:299:30: warning: passing arguments to 'ps_frame_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | sf(loc_str,"%s",ps_frame_str(frame->locus[i])); | ^ ./mapm/ps_maps.c:300:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | interval_length = cm_dist(frame->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:310:29: 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] 310 | interval_length += cm_dist(frame->rec_frac[i][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:319:48: 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] 319 | for(l = k; l < num_crunched; l++) dist += cm_dist(frame->rec_frac[i-(l+1)][0]); | ^ ./mapm/map_info.h:418:52: note: expanded from macro 'cm_dist' 418 | #define cm_dist(theta) ((*mapfunction->rec_to_dist)(theta)*100.0) | ^ ./mapm/ps_maps.c:322:37: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | sf(ps,"()(%s)0 ",ps_loc_str(frame->locus[i-k])); | ^ ./mapm/ps_maps.c:325:40: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | sf(ps,"(%.1lf)(%s)0 ",dist,ps_loc_str(frame->locus[i-k])); | ^ ./mapm/ps_maps.c:333:34: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | sf(ps,"()(%s)0 ",ps_loc_str(j)); | ^ ./mapm/ps_maps.c:356:15: warning: passing arguments to 'ps_frame_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | ps_frame_str(frame->locus[i])); | ^ ./mapm/ps_maps.c:361:34: warning: passing arguments to 'ps_loc_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | sf(ps,"()(%s)0 ",ps_loc_str(j)); | ^ ./mapm/ps_maps.c:224:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | void ps_dump_chrom(fp, chrom, scale) | ^ ./mapm/ps_maps.c:21: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] 21 | void ps_dump_chrom(); | ^ ./mapm/ps_maps.c:374:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | char *ps_loc_str(i) | ^ ./mapm/ps_maps.c:23:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | char *ps_loc_str(), *ps_frame_str(); | ^ ./mapm/ps_maps.c:387:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | char *ps_frame_str(i) | ^ ./mapm/ps_maps.c:23:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | char *ps_loc_str(), *ps_frame_str(); | ^ 61 warnings generated. cc ./mapm/state.o ./mapm/reader.o ./mapm/ctm.o ./mapm/print.o ./mapm/sequence.o ./mapm/main.o ./mapm/quick23.o ./mapm/maps.o ./mapm/info.o ./mapm/chroms.o ./mapm/orders.o ./mapm/sys_cmds.o ./mapm/two_cmds.o ./mapm/npt_cmds.o ./mapm/auto_cmd.o ./mapm/mapmhelp.o ./mapm/database.o ./mapm/ps_maps.o lib.o -lm -lncurses -o mapmaker cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qcmds.c -o ./quant/qcmds.o ./quant/qcmds.c:114:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | array(temp,MAXLINE+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:114:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:134:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | mkcommand("help", "?", help, CMD); | ^ ./quant/qcmds.c:135:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | mkcommand("quit", "q", quit, CMD); | ^ ./quant/qcmds.c:136:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | mkcommand("run", "r", run_from_file, CMD); | ^ ./quant/qcmds.c:137:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | mkcommand("photo", "", do_photo, CMD); | ^ ./quant/qcmds.c:138:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | mkcommand("change directory", "cd", cd_command, CMD); | ^ ./quant/qcmds.c:139:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | mkcommand("system", "!", system_command, CMD); | ^ ./quant/qcmds.c:140:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | mkcommand("previous commands", "", show_cmd_history,CMD); | ^ ./quant/qcmds.c:141:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | mkcommand("review output", "", review_output, CMD); | ^ ./quant/qcmds.c:142:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | mkcommand("time", "", show_time, CMD); | ^ ./quant/qcmds.c:143:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | mkcommand("wizard mode", "", set_wizard, CMD); | ^ ./quant/qcmds.c:144:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | mkcommand("comment", "", comment, CMD); | ^ ./quant/qcmds.c:145:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | mkcommand("about mapmaker/qtl", "", about, CMD); | ^ ./quant/qcmds.c:148:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | mkcommand("scan", "", wiggle, CMD); | ^ ./quant/qcmds.c:149:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | mkcommand("map", "m", qtl_map, CMD); | ^ ./quant/qcmds.c:150:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | mkcommand("like", "", qtl_like, WIZ); | ^ ./quant/qcmds.c:151:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | mkcommand("compare", "", compare, CMD); | ^ ./quant/qcmds.c:153:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | mkcommand("list scans", "", list_wiggles, CMD); | ^ ./quant/qcmds.c:154:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | mkcommand("show scan", "", show_wiggle, CMD); | ^ ./quant/qcmds.c:155:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | mkcommand("draw scan", "", draw_wiggle, CMD); | ^ ./quant/qcmds.c:156:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | mkcommand("show peaks", "", show_peaks, CMD); | ^ ./quant/qcmds.c:157:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | mkcommand("show trys", "", show_test_wiggle,CMD); | ^ ./quant/qcmds.c:158:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | mkcommand("forget scan", "", forget_scan, CMD); | ^ ./quant/qcmds.c:159:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | mkcommand("forget all scans", "", forget_all_scans,CMD); | ^ ./quant/qcmds.c:161:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | mkcommand("list compares", "", list_compares, CMD); | ^ ./quant/qcmds.c:162:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | mkcommand("show best maps", "", show_best, CMD); | ^ ./quant/qcmds.c:163:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | mkcommand("show compare", "", show_compare, CMD); | ^ ./quant/qcmds.c:172:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | mkcommand("sequence", "s", set_intervals, CMD); | ^ ./quant/qcmds.c:173:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | mkcommand("history", "h", show_seq_history,CMD); | ^ ./quant/qcmds.c:174:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | mkcommand("trait", "t", set_trait, CMD); | ^ ./quant/qcmds.c:175:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | mkcommand("let", "", let, CMD); | ^ ./quant/qcmds.c:176:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | mkcommand("names", "", names, CMD); | ^ ./quant/qcmds.c:177:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | mkcommand("forget named sequence", "", forget, CMD); | ^ ./quant/qcmds.c:178:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | mkcommand("edit sequence", "", sequence_editor, CMD); | ^ ./quant/qcmds.c:182:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | mkcommand("load data", "ld", load_data, CMD); | ^ ./quant/qcmds.c:183:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | mkcommand("save data", "", save_status, CMD); | ^ ./quant/qcmds.c:184:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | mkcommand("auto save data", "", set_autosave, OPT); | ^ ./quant/qcmds.c:185:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | mkcommand("list loci", "", translate, CMD); | ^ ./quant/qcmds.c:186:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | mkcommand("list traits", "", list_traits, CMD); | ^ ./quant/qcmds.c:187:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | mkcommand("show linkage map", "", new_show_map, CMD); | ^ ./quant/qcmds.c:188:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | mkcommand("show trait", "", show_trait, CMD); | ^ ./quant/qcmds.c:189:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | mkcommand("make trait", "", make_trait, CMD); | ^ ./quant/qcmds.c:190:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | mkcommand("forget trait", "", forget_trait, CMD); | ^ ./quant/qcmds.c:192:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | mkcommand("forget compare", "", forget_compare, CMD); | ^ ./quant/qcmds.c:193:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | mkcommand("forget all compares", "",forget_all_compares,CMD); | ^ ./quant/qcmds.c:195:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | mkcommand("units", "", set_units, PAR); | ^ ./quant/qcmds.c:196:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | mkcommand("print names", "", set_print_nam, OPT); | ^ ./quant/qcmds.c:197:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | mkcommand("print scans", "", set_print_scans, WIZ); | ^ ./quant/qcmds.c:198:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | mkcommand("more mode", "", set_more_mode, OPT); | ^ ./quant/qcmds.c:200:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | mkcommand("print rec mat", "", set_print_rm, WIZ); | ^ ./quant/qcmds.c:201:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | mkcommand("brute force", "", set_brute, WIZ); | ^ ./quant/qcmds.c:202:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | mkcommand("bag qctm", "", set_bag_qctm, WIZ); | ^ ./quant/qcmds.c:203:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | mkcommand("debug qctm", "", set_dbg_qctm, WIZ); | ^ ./quant/qcmds.c:204:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | mkcommand("print brute force", "", set_print_bf, WIZ); | ^ ./quant/qcmds.c:205:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | mkcommand("print bf", "", set_print_bf, WIZ); | ^ ./quant/qcmds.c:206:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | mkcommand("print long maps", "plm",set_print_long, WIZ); | ^ ./quant/qcmds.c:207:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | mkcommand("print iterations", "pi", set_print_iter, WIZ); | ^ ./quant/qcmds.c:208:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | mkcommand("tolerance", "", set_tolerance, WIZ); | ^ ./quant/qcmds.c:210:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | mkcommand("test", "", tester, WIZ); | ^ ./quant/qcmds.c:211:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | mkcommand("predict trait", "", predict, WIZ); | ^ ./quant/qcmds.c:212:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | mkcommand("dump traits", "", dump_traits, WIZ); | ^ ./quant/qcmds.c:213:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | mkcommand("dump genome", "", dump_genome, WIZ); | ^ ./quant/qcmds.c:214:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | mkcommand("dump scan", "", dump_scan, WIZ); | ^ ./quant/qcmds.c:215:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | mkcommand("tweak weight", "", tweak_weight, WIZ); | ^ ./quant/qcmds.c:216:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | mkcommand("min trait", "", set_min_trait, WIZ); | ^ ./quant/qcmds.c:217:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | mkcommand("max trait", "", set_max_trait, WIZ); | ^ ./quant/qcmds.c:220:14: warning: passing arguments to 'mkcommand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | mkcommand("singles", "", singles, WIZ); | ^ ./quant/qcmds.c:263:42: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | command set_print_iter() { maybe_set_bool(&print_iter); } | ^ ./quant/qcmds.c:264:41: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | command set_print_rm() { maybe_set_bool(&print_rec_mat); } | ^ ./quant/qcmds.c:265:42: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | command set_print_long() { maybe_set_bool(&print_long_maps); } | ^ ./quant/qcmds.c:266:42: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | command set_print_nam() { maybe_set_bool(&print_names); } | ^ ./quant/qcmds.c:267:42: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | command set_print_scans(){ maybe_set_bool(&print_scans); } | ^ ./quant/qcmds.c:268:38: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | command set_brute() { maybe_set_bool(&brute_force); } | ^ ./quant/qcmds.c:269:41: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | command set_print_bf() { maybe_set_bool(&print_brute_force); } | ^ ./quant/qcmds.c:270:41: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | command set_dbg_qctm() { maybe_set_bool(&debug_qctm); } | ^ ./quant/qcmds.c:271:41: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | command set_bag_qctm() { maybe_set_bool(&bag_qctm); } | ^ ./quant/qcmds.c:272:42: warning: passing arguments to 'maybe_set_real' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | command set_tolerance() { maybe_set_real(&like_tolerance,0.0,VERY_BIG,8.6); } | ^ ./quant/qcmds.c:273:42: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | command set_autosave() { maybe_set_bool(&auto_save); } | ^ ./quant/qcmds.c:274:42: warning: passing arguments to 'maybe_set_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | command set_more_mode() { maybe_set_bool(&more_mode); } | ^ ./quant/qcmds.c:276:42: warning: passing arguments to 'maybe_set_real' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | command set_min_trait() { maybe_set_real(&min_trait_val,0.0,VERY_BIG,8.6); } | ^ ./quant/qcmds.c:277:42: warning: passing arguments to 'maybe_set_real' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | command set_max_trait() { maybe_set_real(&max_trait_val,0.0,VERY_BIG,8.6); } | ^ ./quant/qcmds.c:280:16: warning: passing arguments to 'maybe_set_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | { maybe_set_int(&max_intervals,1,7); } /* limit is discussed in qctm.c */ | ^ ./quant/qcmds.c:284:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if (nullstr(args)) { | ^ ./quant/qcmds.c:286:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | print("the 'units' are currently set to recombination-fractions.\n"); | ^ ./quant/qcmds.c:288:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | print("the 'units' are currently set to haldane centimorgans.\n"); | ^ ./quant/qcmds.c:291:8: warning: passing arguments to 'crunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | crunch(args); | ^ ./quant/qcmds.c:292:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | if (matches(args,"recombination fractions") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:293:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | matches(args,"rec-fracs") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:294:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | matches(args,"recombination-fractions") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:295:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | matches(args,"rec fracs") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:296:6: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | matches(args,"rf")) units = RECFRACS; | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:297:11: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | else if (matches(args,"centimorgans") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:298:4: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | matches(args,"cm") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:299:4: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | matches(args,"haldane centimorgans") || | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:300:4: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | matches(args,"haldane cm")) units= CENTIMORGANS; | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qcmds.c:301:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | else usage_error(1); | ^ ./quant/qcmds.c:303:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | print("the 'units' are now set to recombination-fractions.\n"); | ^ ./quant/qcmds.c:305:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | print("the 'units' are now set to haldane centimorgans.\n"); | ^ ./quant/qcmds.c:314:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:315:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | if (nullstr(args)) { | ^ ./quant/qcmds.c:317:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | (len(ints_string)<55 ? " '":":\n'"),ints_string); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:319:32: warning: passing arguments to 'set_qtl_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | } else if (set_qtl_sequence(args,errmsg,&errpos)) { | ^ ./quant/qcmds.c:322:10: warning: passing arguments to 'maybe_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | maybe_ok(ps); | ^ ./quant/qcmds.c:325:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | print("Error in sequence '"); print(args); print("'\n "); | ^ ./quant/qcmds.c:325:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | print("Error in sequence '"); print(args); print("'\n "); | ^ ./quant/qcmds.c:325:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | print("Error in sequence '"); print(args); print("'\n "); | ^ ./quant/qcmds.c:326:7: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./quant/qcmds.c:326:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./quant/qcmds.c:326:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./quant/qcmds.c:326:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:337:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | get_one_arg(itoken,1000,&num_to_print); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:337:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:337:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:337:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:337:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./quant/qcmds.c:338:36: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (num_to_print<1) usage_error(1); | ^ ./quant/qcmds.c:341:26: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | first_to_print= imaxf(context[active_context]->seq_history_num-num_to_print,0); | ^ ./quant/qcmds.c:346:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if(!printed_any){print("Previous sequences:\n"); printed_any=TRUE;} | ^ ./quant/qcmds.c:347:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | sf(ps,"%3d ",i+1); pr(); print(cmd_str); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:347:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | sf(ps,"%3d ",i+1); pr(); print(cmd_str); nl(); | ^ ./quant/qcmds.c:347:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | sf(ps,"%3d ",i+1); pr(); print(cmd_str); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:350:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | if (!printed_any) print("No sequences have yet been entered.\n"); | ^ ./quant/qcmds.c:356:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:358:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | if (nullstr(args)) { | ^ ./quant/qcmds.c:359:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (trait<0) print("The current trait is not set.\n"); | ^ ./quant/qcmds.c:360:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | else { print("The current trait is: "); print(trait_str()); nl(); } | ^ ./quant/qcmds.c:360:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | else { print("The current trait is: "); print(trait_str()); nl(); } | ^ ./quant/qcmds.c:360:66: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | else { print("The current trait is: "); print(trait_str()); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:363:20: warning: passing arguments to 'set_trait_spec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | set_trait_spec(args); | ^ ./quant/qcmds.c:365:14: warning: passing arguments to 'maybe_ok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | maybe_ok(ps); | ^ ./quant/qcmds.c:368:5: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | except_when(BADTRAIT) { | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./quant/qcmds.c:370:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | error(ps); | ^ ./quant/qcmds.c:379:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:380:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | nomore_args(0); | ^ ./quant/qcmds.c:383:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | print(BIG_DIVIDER); print("LOCI:\n"); | ^ ./quant/qcmds.c:383:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | print(BIG_DIVIDER); print("LOCI:\n"); | ^ ./quant/qcmds.c:385:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | if ((printed++)%5==0) nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:386:63: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | sf(ps,"%3d %-10s ",raw.original_locus[i],raw.locus_name[i]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:388:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:397:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | print(BIG_DIVIDER); | ^ ./quant/qcmds.c:417:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | qtl_ready(ANY_DATA,SEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:418:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:420:5: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | for_all_orders(ints,map,perm) { | ^ ./quant/qtop.h:93:24: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:420:5: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:93:42: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:420:5: warning: passing arguments to 'next_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:94:22: note: expanded from macro 'for_all_orders' 94 | Omore=next_order(seq,&(perm))) | ^ ./quant/qcmds.c:421:14: warning: passing arguments to 'make_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | make_qtl_map(map); | ^ ./quant/qcmds.c:423:13: warning: passing arguments to 'print_trait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | print_trait(1); nl(); | ^ ./quant/qcmds.c:423:18: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | print_trait(1); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:424:15: warning: passing arguments to 'print_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | print_qtl_map(map,free_genetics); | ^ ./quant/qcmds.c:435:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | qtl_ready(ANY_DATA,SEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:436:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:436:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:436:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:436:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:437:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | get_arg(rtoken,0.25,&scale); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:437:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:437:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:437:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:440:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:441:16: warning: passing arguments to 'print_trait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | print_trait(num_orders); nl(); | ^ ./quant/qcmds.c:441:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | print_trait(num_orders); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:442:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:445:5: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | for_all_orders(ints,map,perm) { | ^ ./quant/qtop.h:93:24: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:445:5: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:93:42: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:445:5: warning: passing arguments to 'next_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:94:22: note: expanded from macro 'for_all_orders' 94 | Omore=next_order(seq,&(perm))) | ^ ./quant/qcmds.c:447:14: warning: passing arguments to 'make_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | make_qtl_map(map); | ^ ./quant/qcmds.c:448:21: warning: passing arguments to 'print_short_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | print_short_qtl_map(map,threshold,scale); | ^ ./quant/qcmds.c:450:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:473:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | qtl_ready(ANY_DATA,SEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:475:30: warning: passing arguments to 'allocate_compare_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | comp=allocate_compare_struct(trait,ints,ints_string,num_intervals, | ^ ./quant/qcmds.c:478:2: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | for_all_orders(ints,map,perm) { | ^ ./quant/qtop.h:93:24: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:478:2: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:93:42: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:478:2: warning: passing arguments to 'next_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:94:22: note: expanded from macro 'for_all_orders' 94 | Omore=next_order(seq,&(perm))) | ^ ./quant/qcmds.c:480:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | { i=0; nl(); print_tiny_map(map,-1,0.0); } /* print tiny title */ | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:480:35: warning: passing arguments to 'print_tiny_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | { i=0; nl(); print_tiny_map(map,-1,0.0); } /* print tiny title */ | ^ ./quant/qcmds.c:482:18: warning: passing arguments to 'make_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | make_qtl_map(map); | ^ ./quant/qcmds.c:483:20: warning: passing arguments to 'print_tiny_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | print_tiny_map(map,i++,0.0); | ^ ./quant/qcmds.c:484:23: warning: passing arguments to 'store_compare_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | store_compare_map(comp,map,(perm<=CONTIG)); | ^ ./quant/qcmds.c:488:23: warning: passing arguments to 'bash_compare_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | bash_compare_struct(num_compares-1); | ^ ./quant/qcmds.c:496:12: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | print("No compare results have been saved.\n"); | ^ ./quant/qcmds.c:497:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | else { print("\nSaved compare results:\n\n"); print_saved_compares(); } | ^ ./quant/qcmds.c:513:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:514:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:514:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:514:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:514:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:515:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:515:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:515:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:515:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:516:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | get_arg(rtoken,-1.0,&falloff); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:516:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:516:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:516:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:517:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | nomore_args(num_args); | ^ ./quant/qcmds.c:519:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | usage_error(num_args); | ^ ./quant/qcmds.c:521:21: warning: passing arguments to 'get_compare_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | get_compare_nums(arg,&compare,&contig); | ^ ./quant/qcmds.c:526:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | op=compares[compare]; nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:529:63: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | sf(ps,SAVED_COMP_BEST,maybe_s(op->num_contigs),compare+1,1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:531:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | { sf(ps,SAVED_COMP_COMPS,compare+1,op->num_contigs); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:532:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | sf(ps,SAVED_COMP_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:533:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | print_old_seq(op->seq_string); | ^ ./quant/qcmds.c:534:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | sf(ps,SAVED_COMP_THRESH,threshold,falloff); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:536:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | nl(); sf(ps,SAVED_COMP_NUM,compare+1,i+1); pr(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:536:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | nl(); sf(ps,SAVED_COMP_NUM,compare+1,i+1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:537:27: warning: passing arguments to 'print_best_saved_maps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | print_best_saved_maps(compare,i,threshold,falloff); | ^ ./quant/qcmds.c:541:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | sf(ps,SAVED_COMP_BEST,"",compare+1,contig+1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:542:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | sf(ps,SAVED_COMP_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:543:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | print_old_seq(op->seq_string); | ^ ./quant/qcmds.c:544:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | sf(ps,SAVED_COMP_THRESH,threshold,falloff); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:545:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | nl(); print_best_saved_maps(compare,contig,threshold,falloff); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:545:29: warning: passing arguments to 'print_best_saved_maps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | nl(); print_best_saved_maps(compare,contig,threshold,falloff); | ^ ./quant/qcmds.c:558:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:559:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:559:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:559:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:559:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:560:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | nomore_args(num_args); | ^ ./quant/qcmds.c:562:21: warning: passing arguments to 'get_compare_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | get_compare_nums(arg,&compare,&contig); | ^ ./quant/qcmds.c:567:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | op=compares[compare]; nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:570:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | sf(ps,SAVED_COMP_WHICH,maybe_s(op->num_contigs),compare+1,1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:572:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | { sf(ps,SAVED_COMP_COMPS,compare+1,op->num_contigs); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:573:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | sf(ps,SAVED_COMP_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:574:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | print_old_seq(op->seq_string); | ^ ./quant/qcmds.c:576:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | nl(); sf(ps,SAVED_COMP_NUM,compare+1,i+1); pr(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:576:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | nl(); sf(ps,SAVED_COMP_NUM,compare+1,i+1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:577:22: warning: passing arguments to 'print_saved_maps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | print_saved_maps(compare,i); | ^ ./quant/qcmds.c:581:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | sf(ps,SAVED_COMP_WHICH,"",compare+1,contig+1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:582:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | sf(ps,SAVED_COMP_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:583:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | print_old_seq(op->seq_string); | ^ ./quant/qcmds.c:584:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | nl(); print_saved_maps(compare,contig); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:584:24: warning: passing arguments to 'print_saved_maps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | nl(); print_saved_maps(compare,contig); | ^ ./quant/qcmds.c:599:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | qtl_ready(ANY_DATA,WIGSEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:600:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | get_arg(rtoken,2.0,&inc); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:600:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:600:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:600:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:601:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:601:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:601:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:601:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:602:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | get_arg(rtoken,0.25,&scale); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:602:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:602:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:602:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:603:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | nomore_args(num_args); | ^ ./quant/qcmds.c:604:59: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | if (inc<0.0 || threshold<0.0 || scale<0.0) usage_error(num_args); | ^ ./quant/qcmds.c:607:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | nl(); print_trait(2); print_seq(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:607:19: warning: passing arguments to 'print_trait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | nl(); print_trait(2); print_seq(); | ^ ./quant/qcmds.c:608:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | sf(ps,THRESHOLD_AND_SCALE,threshold,scale); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:611:31: warning: passing arguments to 'allocate_wiggle_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | wiggle=allocate_wiggle_struct(trait,ints,ints_string,num_intervals, | ^ ./quant/qcmds.c:614:2: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | for_wiggle_orders(ints,map,inc,perm) { | ^ ./quant/qtop.h:98:24: note: expanded from macro 'for_wiggle_orders' 98 | Omore && reset_map(map) && get_order(seq,TRUE,map); \ | ^ ./quant/qcmds.c:614:2: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:98:42: note: expanded from macro 'for_wiggle_orders' 98 | Omore && reset_map(map) && get_order(seq,TRUE,map); \ | ^ ./quant/qcmds.c:614:2: warning: passing arguments to 'next_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:99:23: note: expanded from macro 'for_wiggle_orders' 99 | Omore=next_wiggle(seq,&(perm),step)) | ^ ./quant/qcmds.c:618:47: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | if (perm!=FIRST) { print_wiggle_interval(NULL); } | ^ ./quant/qcmds.c:619:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | nl(); print_wiggle_left_seq(map); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:619:34: warning: passing arguments to 'print_wiggle_left_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | nl(); print_wiggle_left_seq(map); | ^ ./quant/qcmds.c:620:28: warning: passing arguments to 'print_wiggle_genetics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | print_wiggle_genetics(&map->constraint[num_intervals-1]); | ^ ./quant/qcmds.c:621:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:623:28: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | print_wiggle_interval(map); | ^ ./quant/qcmds.c:624:28: warning: passing arguments to 'store_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | store_wiggle_interval(wiggle,map,TRUE,FALSE,inc); | ^ ./quant/qcmds.c:627:46: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | if (perm==SKIP) { print_wiggle_interval(NULL); nl(); } | ^ ./quant/qcmds.c:627:54: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | if (perm==SKIP) { print_wiggle_interval(NULL); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:628:28: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | print_wiggle_interval(map); | ^ ./quant/qcmds.c:629:28: warning: passing arguments to 'store_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | store_wiggle_interval(wiggle,map,FALSE,(perm==CONTIG),inc); | ^ ./quant/qcmds.c:634:26: warning: passing arguments to 'store_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | store_wiggle_interval(wiggle,map,TRUE,FALSE,inc); | ^ ./quant/qcmds.c:636:28: warning: passing arguments to 'store_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | store_wiggle_interval(wiggle,map,FALSE,(perm==CONTIG),inc); | ^ ./quant/qcmds.c:638:18: warning: passing arguments to 'make_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | make_qtl_map(map); | ^ ./quant/qcmds.c:639:39: warning: passing arguments to 'print_wiggle_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | if (print_scans) print_wiggle_map(map,threshold,scale); | ^ ./quant/qcmds.c:640:24: warning: passing arguments to 'store_wiggle_point' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | store_wiggle_point(wiggle,map); | ^ ./quant/qcmds.c:644:25: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | print_wiggle_interval(NULL); nl(); /* line on the bottom */ | ^ ./quant/qcmds.c:644:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | print_wiggle_interval(NULL); nl(); /* line on the bottom */ | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:648:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:652:22: warning: passing arguments to 'bash_wiggle_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | bash_wiggle_struct(num_wiggles-1); /* the current one */ | ^ ./quant/qcmds.c:668:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:669:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | get_arg(stoken,"",arg); nomore_args(num_args); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:669:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:669:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:669:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:669:40: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | get_arg(stoken,"",arg); nomore_args(num_args); | ^ ./quant/qcmds.c:671:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | if (first_wiggle==num_wiggles) print("No scan results have been saved.\n"); | ^ ./quant/qcmds.c:672:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | if (nullstr(arg)) | ^ ./quant/qcmds.c:673:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | { print("\nSaved scan results:\n\n"); print_saved_wiggles(); return; } | ^ ./quant/qcmds.c:675:20: warning: passing arguments to 'get_wiggle_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | get_wiggle_nums(arg,&wiggle,&order); | ^ ./quant/qcmds.c:678:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | op=wiggles[wiggle]; nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:680:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | sf(ps,SAVED_WIGGLE_WIG,maybe_s(op->num_orders),wiggle+1,1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:682:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | { sf(ps,SAVED_WIGGLE_WIGS,wiggle+1,op->num_orders); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:683:70: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | sf(ps,SAVED_WIGGLE_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:684:18: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | print_old_seq(op->seq_string); nl(); | ^ ./quant/qcmds.c:684:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | print_old_seq(op->seq_string); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:685:23: warning: passing arguments to 'print_saved_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | print_saved_wiggle(wiggle); | ^ ./quant/qcmds.c:696:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:697:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:697:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:697:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:697:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:698:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:698:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:698:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:698:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:699:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | get_arg(rtoken,0.25,&scale); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:699:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:699:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:699:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:700:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | nomore_args(num_args); | ^ ./quant/qcmds.c:702:49: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | if (threshold<0.0 || scale<=0.0) usage_error(2); | ^ ./quant/qcmds.c:703:20: warning: passing arguments to 'get_wiggle_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | get_wiggle_nums(arg,&wiggle,&order); | ^ ./quant/qcmds.c:706:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | op=wiggles[wiggle]; nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:709:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | sf(ps,SAVED_WIGGLE_WIG,maybe_s(op->num_orders),wiggle+1,1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:711:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | { sf(ps,SAVED_WIGGLE_WIGS,wiggle+1,op->num_orders); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:712:67: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | sf(ps,SAVED_WIGGLE_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:713:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | print_old_seq(op->seq_string); nl(); | ^ ./quant/qcmds.c:713:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | print_old_seq(op->seq_string); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:714:20: warning: passing arguments to 'print_saved_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | print_saved_wiggle(wiggle); | ^ ./quant/qcmds.c:716:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | sf(ps,SAVED_WIGGLE_WIG,"",wiggle+1,order+1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:717:67: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | sf(ps,SAVED_WIGGLE_TRAIT,op->trait+1,raw.trait_name[op->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:718:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | print_old_seq(op->seq_string); | ^ ./quant/qcmds.c:719:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | sf(ps,THRESHOLD_AND_SCALE,threshold,scale); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:720:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | nl(); print_wiggle_left_seq(op->data[order][0]->map); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:720:29: warning: passing arguments to 'print_wiggle_left_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | nl(); print_wiggle_left_seq(op->data[order][0]->map); | ^ ./quant/qcmds.c:722:23: warning: passing arguments to 'print_wiggle_genetics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | print_wiggle_genetics(&op->data[order][0]->map->constraint[last]); | ^ ./quant/qcmds.c:723:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | nl(); print_saved_wiggle_order(wiggle,order,threshold,scale); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:723:32: warning: passing arguments to 'print_saved_wiggle_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | nl(); print_saved_wiggle_order(wiggle,order,threshold,scale); | ^ ./quant/qcmds.c:744:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,QCTM); /* find_wiggle_peaks calls QCTM */ | ^ ./quant/qcmds.c:745:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:745:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:745:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:745:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:746:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:746:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:746:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:746:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:747:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | get_arg(rtoken,-2.0,&falloff); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:747:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:747:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:747:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:748:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | nomore_args(num_args); | ^ ./quant/qcmds.c:751:18: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | usage_error(num_args); | ^ ./quant/qcmds.c:752:20: warning: passing arguments to 'get_wiggle_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | get_wiggle_nums(arg,&wiggle,&order); | ^ ./quant/qcmds.c:756:46: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | wiggles[wiggle]->num_orders-1); error(ps); } | ^ ./quant/qcmds.c:759:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | array(name, NAME_LEN+1, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:759:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:760:25: warning: passing arguments to 'find_wiggle_peaks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | peaks=find_wiggle_peaks(wiggle,order,threshold,-2.0,falloff,2.0,TRUE); | ^ ./quant/qcmds.c:761:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:763:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | raw.trait_name[wiggles[wiggle]->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:764:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | print_old_seq(wiggles[wiggle]->seq_string); | ^ ./quant/qcmds.c:765:23: warning: passing arguments to 'print_wiggle_left_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | print_wiggle_left_seq(wiggles[wiggle]->data[order][0]->map); | ^ ./quant/qcmds.c:767:23: warning: passing arguments to 'print_wiggle_genetics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | print_wiggle_genetics( | ^ ./quant/qcmds.c:769:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | sf(ps,PEAKS_PARAMS,threshold,falloff); pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:769:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | sf(ps,PEAKS_PARAMS,threshold,falloff); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:772:14: warning: passing arguments to 'print_peak' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | print_peak(p,peak); | ^ ./quant/qcmds.c:774:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | print_map_divider(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:775:13: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | nstrcpy(name,raw.trait_name[wiggles[wiggle]->trait],7); | ^ ./quant/qcmds.c:777:16: warning: passing arguments to 'name_peaks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | name_peaks(peaks,name,TRUE); | ^ ./quant/qcmds.c:780:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | } else print(PEAKS_NONE); | ^ ./quant/qcmds.c:782:40: warning: passing arguments to 'free_wiggle_peaks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | } when_aborting { free_wiggle_peaks(peaks); unarray(name, char) } | ^ ./quant/qcmds.c:791:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | qtl_ready(ANY_DATA,WIGSEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:795:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | print("\nlinkage maps:\n"); | ^ ./quant/qcmds.c:796:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | print(MAP_DIVIDER); | ^ ./quant/qcmds.c:797:5: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | for_wiggle_orders(ints,map,inc,perm) { | ^ ./quant/qtop.h:98:24: note: expanded from macro 'for_wiggle_orders' 98 | Omore && reset_map(map) && get_order(seq,TRUE,map); \ | ^ ./quant/qcmds.c:797:5: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:98:42: note: expanded from macro 'for_wiggle_orders' 98 | Omore && reset_map(map) && get_order(seq,TRUE,map); \ | ^ ./quant/qcmds.c:797:5: warning: passing arguments to 'next_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:99:23: note: expanded from macro 'for_wiggle_orders' 99 | Omore=next_wiggle(seq,&(perm),step)) | ^ ./quant/qcmds.c:799:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | print(MAP_DIVIDER); | ^ ./quant/qcmds.c:802:23: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | dist = map_length(map->left[i], map->right[i]); | ^ ./quant/qcmds.c:805:18: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | interval_str(map->left[i],map->right[i],TRUE), | ^ ./quant/qcmds.c:806:6: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | haldane_cm(dist),dist*100.0); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qcmds.c:807:3: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:810:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | print(MAP_DIVIDER); | ^ ./quant/qcmds.c:811:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | print("MAP:\n\n"); | ^ ./quant/qcmds.c:816:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | print(MAP_DIVIDER); | ^ ./quant/qcmds.c:817:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:832:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | qtl_ready(INTERCROSS,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:833:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:833:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:833:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:833:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:834:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:834:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:834:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:834:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:835:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | nomore_args(num_args); | ^ ./quant/qcmds.c:837:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | if (threshold<0.0) usage_error(2); | ^ ./quant/qcmds.c:838:20: warning: passing arguments to 'get_wiggle_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | get_wiggle_nums(arg,&wiggle,&order); | ^ ./quant/qcmds.c:840:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | if (!isa_test_wiggle(wiggle)) error(TEST_ISNT); | ^ ./quant/qcmds.c:843:46: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | wiggles[wiggle]->num_orders-1); error(ps); } | ^ ./quant/qcmds.c:846:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:848:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | raw.trait_name[wiggles[wiggle]->trait]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:849:15: warning: passing arguments to 'print_old_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | print_old_seq(wiggles[wiggle]->seq_string); | ^ ./quant/qcmds.c:850:23: warning: passing arguments to 'print_wiggle_left_seq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | print_wiggle_left_seq(wiggles[wiggle]->data[order][0]->map); | ^ ./quant/qcmds.c:852:17: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | threshold); pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:852:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | threshold); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:853:25: warning: passing arguments to 'print_test_wiggle_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | print_test_wiggle_order(wiggle,order,threshold); | ^ ./quant/qcmds.c:874:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | array(postfixed, MAX_EQN_SIZE, EQUATION*); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:874:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:875:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:876:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | if (nullstr(args)) usage_error(0); | ^ ./quant/qcmds.c:876:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | if (nullstr(args)) usage_error(0); | ^ ./quant/qcmds.c:878:23: warning: passing arguments to 'split_arglist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | if (!split_arglist(&eqn,'=')) usage_error(1); | ^ ./quant/qcmds.c:878:46: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | if (!split_arglist(&eqn,'=')) usage_error(1); | ^ ./quant/qcmds.c:879:10: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | if (!nstoken(&name,sREQUIRED,name_to_check,NAME_LEN)) usage_error(2); | ^ ./lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./quant/qcmds.c:879:70: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | if (!nstoken(&name,sREQUIRED,name_to_check,NAME_LEN)) usage_error(2); | ^ ./quant/qcmds.c:881:30: warning: passing arguments to 'valid_new_trait_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | if (!valid_new_trait_name(name_to_check,errmsg)) | ^ ./quant/qcmds.c:882:52: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | { sf(ps,TRAIT_BADNAME,name_to_check,errmsg); error(ps); } | ^ ./quant/qcmds.c:886:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | if (nullstr(raw.trait_name[i])) { | ^ ./quant/qcmds.c:893:41: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | if (raw.n_traits==raw.max_traits) error(TRAITS_FULL); | ^ ./quant/qcmds.c:903:11: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | nstrcpy(variable_table[k],raw.trait_name[k],NAME_LEN); | ^ ./quant/qcmds.c:904:27: warning: passing arguments to 'make_equation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | postfixed = make_equation(eqn,variable_lookup); | ^ ./quant/qcmds.c:909:25: warning: passing arguments to 'evaluate_equation' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | evaluate_equation(postfixed,value_lookup); | ^ ./quant/qcmds.c:915:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | nl(); sf(ps,TRAIT_MADE,trait_index+1,name_to_check); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:915:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | nl(); sf(ps,TRAIT_MADE,trait_index+1,name_to_check); pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:915:61: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | nl(); sf(ps,TRAIT_MADE,trait_index+1,name_to_check); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:916:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | array(normal_array,raw.n_indivs,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:916:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:927:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | single(normal_check, NORMAL_TEST); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:927:2: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:928:31: warning: passing arguments to 'check_normalcy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | normal_check = check_normalcy(normal_array,adjusted_array_size); | ^ ./quant/qcmds.c:929:14: warning: passing arguments to 'print_normal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | print_normal(normal_check, -1.0); | ^ ./quant/qcmds.c:930:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | nl(); print_rhisto(normal_array,adjusted_array_size); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:930:20: warning: passing arguments to 'print_rhisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | nl(); print_rhisto(normal_array,adjusted_array_size); | ^ ./quant/qcmds.c:933:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | print("error in equation: "); print(eqn); nl(); | ^ ./quant/qcmds.c:933:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | print("error in equation: "); print(eqn); nl(); | ^ ./quant/qcmds.c:933:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | print("error in equation: "); print(eqn); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:934:35: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | if (BADEQN_errpos<60) { space(BADEQN_errpos+19); print("^\n"); } | ^ ./quant/qcmds.c:934:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | if (BADEQN_errpos<60) { space(BADEQN_errpos+19); print("^\n"); } | ^ ./quant/qcmds.c:935:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | print(BADEQN_errmsg); nl(); | ^ ./quant/qcmds.c:935:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | print(BADEQN_errmsg); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:949:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | qtl_ready(INTERCROSS,SEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:950:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | if (nullstr(args)) usage_error(0); | ^ ./quant/qcmds.c:950:35: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | if (nullstr(args)) usage_error(0); | ^ ./quant/qcmds.c:951:10: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (!nstoken(&args,sREQUIRED,name,NAME_LEN)) usage_error(2); | ^ ./lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./quant/qcmds.c:951:61: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (!nstoken(&args,sREQUIRED,name,NAME_LEN)) usage_error(2); | ^ ./quant/qcmds.c:952:30: warning: passing arguments to 'valid_new_trait_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | if (!valid_new_trait_name(name,errmsg)) | ^ ./quant/qcmds.c:953:43: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | { sf(ps,TRAIT_BADNAME,name,errmsg); error(ps); } | ^ ./quant/qcmds.c:956:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | if (nullstr(raw.trait_name[i])) | ^ ./quant/qcmds.c:959:41: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | if (raw.n_traits==raw.max_traits) error(TRAITS_FULL); | ^ ./quant/qcmds.c:964:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | error("The current sequence spcifies more than one model.\n"); | ^ ./quant/qcmds.c:965:5: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | for_all_orders(ints,map,perm) { | ^ ./quant/qtop.h:93:24: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:965:5: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:93:42: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:965:5: warning: passing arguments to 'next_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:94:22: note: expanded from macro 'for_all_orders' 94 | Omore=next_order(seq,&(perm))) | ^ ./quant/qcmds.c:966:23: warning: passing arguments to 'get_fixed_qtl_weights' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | get_fixed_qtl_weights(map); | ^ ./quant/qcmds.c:969:49: warning: passing arguments to 'model_prediction' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | raw.trait[i][trait_index]= model_prediction(map,i); | ^ ./quant/qcmds.c:972:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | nl(); sf(ps,TRAIT_MADE,trait_index+1,name); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:972:49: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | nl(); sf(ps,TRAIT_MADE,trait_index+1,name); pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:972:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | nl(); sf(ps,TRAIT_MADE,trait_index+1,name); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:991:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:992:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:992:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:992:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:992:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:993:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:993:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:993:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:993:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:994:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | get_arg(rtoken,0.25,&scale); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:994:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:994:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:994:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:995:20: warning: passing arguments to 'get_wiggle_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | get_wiggle_nums(arg,&wiggle,&order); | ^ ./quant/qcmds.c:1000:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | sf(ps,"dumping to '%s'\n",name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1001:18: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | fp= open_file(name,WRITE); | ^ ./quant/qcmds.c:1019:15: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | close_file(fp); | ^ ./quant/qcmds.c:1028:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1032:19: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | if (num==8) error("too many traits"); | ^ ./quant/qcmds.c:1033:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | if (!itoken(&args,iREQUIRED,&t[num]) || | ^ ./quant/qcmds.c:1034:22: warning: passing arguments to 'valid_trait_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | !valid_trait_num(--(t[num++]))) error("bad trait"); | ^ ./quant/qcmds.c:1034:44: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | !valid_trait_num(--(t[num++]))) error("bad trait"); | ^ ./quant/qcmds.c:1035:22: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | } while (!nullstr(args)); | ^ ./quant/qcmds.c:1038:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | print("dumping to 'traits.dump'\n"); | ^ ./quant/qcmds.c:1039:15: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | fp= open_file("traits.dump",WRITE); | ^ ./quant/qcmds.c:1055:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | close_file(fp); | ^ ./quant/qcmds.c:1066:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | print("dumping to 'genome.dump'\n"); | ^ ./quant/qcmds.c:1067:16: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | fp = open_file("genome.dump",WRITE); | ^ ./quant/qcmds.c:1068:24: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 1068 | fprintf(fp,"*loci\t \%AA\t \%AB \%BB\t n_indivs"); | ~~^ ./quant/qcmds.c:1077:7: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 1076 | fprintf(fp,"%s\t %lf\t %lf\t %lf\t %d",raw.locus_name[k], | ~~~ | %d 1077 | 100*tot_aa/total_num,100*tot_bb/total_num,100*tot_ab/total_num, | ^~~~~~~~~~~~~~~~~~~~ ./quant/qcmds.c:1077:28: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 1076 | fprintf(fp,"%s\t %lf\t %lf\t %lf\t %d",raw.locus_name[k], | ~~~ | %d 1077 | 100*tot_aa/total_num,100*tot_bb/total_num,100*tot_ab/total_num, | ^~~~~~~~~~~~~~~~~~~~ ./quant/qcmds.c:1077:49: warning: format specifies type 'double' but the argument has type 'int' [-Wformat] 1076 | fprintf(fp,"%s\t %lf\t %lf\t %lf\t %d",raw.locus_name[k], | ~~~ | %d 1077 | 100*tot_aa/total_num,100*tot_bb/total_num,100*tot_ab/total_num, | ^~~~~~~~~~~~~~~~~~~~ ./quant/qcmds.c:1085:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | close_file(fp); | ^ ./quant/qcmds.c:1095:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | print(BIG_DIVIDER); print("TRAITS:\n\n"); | ^ ./quant/qcmds.c:1095:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | print(BIG_DIVIDER); print("TRAITS:\n\n"); | ^ ./quant/qcmds.c:1097:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | if (nullstr(raw.trait_name[i])) sf(ps, "%3d ",i+1); | ^ ./quant/qcmds.c:1099:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | pr();nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1099:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | pr();nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:1101:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | print(BIG_DIVIDER); | ^ ./quant/qcmds.c:1114:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1115:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | get_one_arg(stoken,"",arg); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1115:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1115:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1115:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1115:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./quant/qcmds.c:1116:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | if (!nullstr(arg)) { if (!valid_trait_str(arg,&t,errmsg)) error(errmsg); } | ^ ./quant/qcmds.c:1116:46: warning: passing arguments to 'valid_trait_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | if (!nullstr(arg)) { if (!valid_trait_str(arg,&t,errmsg)) error(errmsg); } | ^ ./quant/qcmds.c:1116:68: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | if (!nullstr(arg)) { if (!valid_trait_str(arg,&t,errmsg)) error(errmsg); } | ^ ./quant/qcmds.c:1117:32: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | else { if (trait<0) error(SHOW_WHAT); else t=trait; } | ^ ./quant/qcmds.c:1120:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | sf(ps,"\nTrait %d (%s)",t+1,raw.trait_name[t]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1121:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | if (!nullstr(raw.trait_eqn[t])) | ^ ./quant/qcmds.c:1122:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | { sf(ps,"='%s'",raw.trait_eqn[t]); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1123:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | print(":\n\n"); | ^ ./quant/qcmds.c:1124:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | array(normal_array,raw.n_indivs,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:1124:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1135:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | single(normal_check, NORMAL_TEST); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:1135:2: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1136:31: warning: passing arguments to 'check_normalcy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | normal_check = check_normalcy(normal_array,adjusted_array_size); | ^ ./quant/qcmds.c:1137:14: warning: passing arguments to 'print_normal' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | print_normal(normal_check, -1.0); | ^ ./quant/qcmds.c:1138:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | nl(); print_rhisto(normal_array,adjusted_array_size); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:1138:20: warning: passing arguments to 'print_rhisto' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | nl(); print_rhisto(normal_array,adjusted_array_size); | ^ ./quant/qcmds.c:1154:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1155:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | get_one_arg(stoken,sREQUIRED,trait_name); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1155:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1155:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1155:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1155:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./quant/qcmds.c:1156:25: warning: passing arguments to 'valid_trait_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | if (!valid_trait_str(trait_name,&t,errmsg)) error(errmsg); | ^ ./quant/qcmds.c:1156:54: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | if (!valid_trait_str(trait_name,&t,errmsg)) error(errmsg); | ^ ./quant/qcmds.c:1157:31: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | if (raw.n_traits==1) error("There is only one trait in the data set!\n."); | ^ ./quant/qcmds.c:1159:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | sf(ps,"Deleting trait %d (%s)",t+1,raw.trait_name[t]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1160:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | if (!nullstr(raw.trait_eqn[t])) { sf(ps,"='%s'",raw.trait_eqn[t]); pr(); } | ^ ./quant/qcmds.c:1160:72: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | if (!nullstr(raw.trait_eqn[t])) { sf(ps,"='%s'",raw.trait_eqn[t]); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1161:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | print("\n"); | ^ ./quant/qcmds.c:1162:10: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | getln("Are you sure you want to delete it? [no] "); | ^ ./quant/qcmds.c:1163:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | if (!parse_char(&ln,"y",TRUE,&c)) return; | ^ ./quant/qcmds.c:1167:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | print("Trait Deleted.\n"); | ^ ./quant/qcmds.c:1168:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | if (t==trait) { trait= -1; print("The current trait is now not set!\n"); } | ^ ./quant/qcmds.c:1183:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1184:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | get_one_arg(itoken,iREQUIRED,&comp_number); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1184:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1184:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1184:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1184:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./quant/qcmds.c:1185:42: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | if (comp_number > num_compares) error(errmsg); | ^ ./quant/qcmds.c:1186:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | sf (ps,"Deleting compare %d \n",comp_number);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1188:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | sf(ps,COMP_LIST_TITLE,(print_names ? " ":"")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1198:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1199:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | print("\n"); | ^ ./quant/qcmds.c:1200:10: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | getln("Are you sure you want to delete it? [no] "); | ^ ./quant/qcmds.c:1201:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | if (!parse_char(&ln,"y",TRUE,&c)) return; | ^ ./quant/qcmds.c:1202:24: warning: passing arguments to 'bash_compare_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | bash_compare_struct(i); | ^ ./quant/qcmds.c:1211:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1212:43: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | sf (ps, "\nDeleting ALL compares!\n");pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1213:10: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | getln("\nAre you sure you want to delete them? [no] "); | ^ ./quant/qcmds.c:1214:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | if (!parse_char(&ln,"y",TRUE,&c)) return; | ^ ./quant/qcmds.c:1217:23: warning: passing arguments to 'bash_compare_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | bash_compare_struct(i); | ^ ./quant/qcmds.c:1229:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1230:5: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | get_one_arg(itoken,iREQUIRED,&scan_number); | ^ ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1230:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1230:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1230:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:4: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1230:5: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:62:52: note: expanded from macro 'get_one_arg' 62 | { get_arg(parse_func,default,val_ptr); nomore_args(0); } | ^ ./quant/qcmds.c:1231:41: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | if (scan_number > num_wiggles) error(errmsg); | ^ ./quant/qcmds.c:1232:46: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | sf(ps,"Deleting scan %d \n",scan_number);pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1234:55: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | sf(ps,WIG_LIST_TITLE,(print_names ? " ":""));pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1241:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1242:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | print("\n"); | ^ ./quant/qcmds.c:1243:10: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | getln("Are you sure you want to delete it? [no] "); | ^ ./quant/qcmds.c:1244:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | if (!parse_char(&ln,"y",TRUE,&c)) return; | ^ ./quant/qcmds.c:1245:23: warning: passing arguments to 'bash_wiggle_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | bash_wiggle_struct(t); | ^ ./quant/qcmds.c:1246:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | print("Scan results deleted.\n"); | ^ ./quant/qcmds.c:1254:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1255:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | sf (ps, "Deleting ALL saved scan results!\n");pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1256:10: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | getln("\nAre you sure you want to delete them? [no] "); | ^ ./quant/qcmds.c:1257:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | if (!parse_char(&ln,"y",TRUE,&c)) return; | ^ ./quant/qcmds.c:1260:22: warning: passing arguments to 'bash_wiggle_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | bash_wiggle_struct(i); | ^ ./quant/qcmds.c:1263:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | print("All scan results deleted.\n"); | ^ ./quant/qcmds.c:1272:18: warning: passing arguments to 'split_arglist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | split_arglist(&seqnce,'='); | ^ ./quant/qcmds.c:1274:22: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | if(!name_sequence(name,seqnce,&err)) | ^ ./quant/qcmds.c:1275:14: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | error(err); | ^ ./quant/qcmds.c:1284:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | print(ps); | ^ ./quant/qcmds.c:1294:14: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | if(stoken(&args,sREQUIRED,name)) { | ^ ./quant/qcmds.c:1295:24: warning: passing arguments to 'delete_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | if(!delete_named_entry(name,context[active_context]->named_sequences,&fail)) { | ^ ./quant/qcmds.c:1300:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | error(ps); | ^ ./quant/qcmds.c:1314:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1319:9: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | array(new_seq, SEQ_LEN+1, char); new_seq[0]='\0'; | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qcmds.c:1319: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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1322:11: warning: passing arguments to 'edit_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | edit_line(prompt,new_seq,SEQ_LEN,ints_string); | ^ ./quant/qcmds.c:1323:23: warning: passing arguments to 'set_qtl_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | if (!set_qtl_sequence(new_seq,errmsg,&errpos)) { | ^ ./quant/qcmds.c:1324:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | print("Error in sequence '"); print(new_seq); print("'\n "); | ^ ./quant/qcmds.c:1324:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | print("Error in sequence '"); print(new_seq); print("'\n "); | ^ ./quant/qcmds.c:1324:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | print("Error in sequence '"); print(new_seq); print("'\n "); | ^ ./quant/qcmds.c:1325:11: warning: passing arguments to 'space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./quant/qcmds.c:1325:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./quant/qcmds.c:1325:52: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./quant/qcmds.c:1325:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | space((errpos+20) % LINE); print("^\n"); print(errmsg); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:1326:6: 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] 1326 | send(BADSEQ); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1328:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | print("ok\n"); | ^ ./quant/qcmds.c:1330:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | } except_when(BADSEQ) { unarray(new_seq,char); } | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./quant/qcmds.c:1348:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | if (nullstr(args)) { | ^ ./quant/qcmds.c:1349:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | if (!data_loaded()) print(NO_LOADED_DATA); else { | ^ ./quant/qcmds.c:1351:19: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | make_filename(tfile,FORCE_EXTENSION,WRS(TRAIT_EXT)); | ^ ./quant/qcmds.c:1354:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | raw.n_loci,raw.n_traits,maybe_s(raw.n_traits)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1360:39: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | if ((prev_dat = data_loaded())) error(ALREADY_LOADED_DATA); | ^ ./quant/qcmds.c:1363:2: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1363 | nstoken(&args,sREQUIRED,dfile,PATH_LENGTH); tfile[0]='\0'; | ^ ./lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./quant/qcmds.c:1364:13: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | nomore_args(num_args); | ^ ./quant/qcmds.c:1366:24: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | if (!make_filename(dfile,FORCE_EXTENSION,WRS(DATA_EXT))) send(CANTOPEN); | ^ ./quant/qcmds.c:1366:63: 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] 1366 | if (!make_filename(dfile,FORCE_EXTENSION,WRS(DATA_EXT))) send(CANTOPEN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1367:20: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | fpa= open_file(dfile,READ); | ^ ./quant/qcmds.c:1368:13: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | fgetln_(fpa); | ^ ./quant/qcmds.c:1383:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | error("unrecognized header line in data file"); | ^ ./quant/qcmds.c:1387:24: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | if (!make_filename(tfile,FORCE_EXTENSION,WRS(TRAIT_EXT))) | ^ ./quant/qcmds.c:1388:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | send(CANTOPEN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1389:21: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | fpb = open_file(tfile,READ); | ^ ./quant/qcmds.c:1391:24: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | if (!make_filename(mfile,FORCE_EXTENSION,WRS(MAPS_EXT))) | ^ ./quant/qcmds.c:1392:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | send(CANTOPEN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1393:21: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | fpc = open_file(mfile,READ); | ^ ./quant/qcmds.c:1395:15: warning: passing arguments to 'read_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1395 | read_data(fpa,fpb,fpc,dfile,num_of_file); | ^ ./quant/qcmds.c:1398:25: warning: passing arguments to 'allocate_qtl_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | allocate_qtl_struct(raw.max_traits*2,raw.max_traits*2); | ^ ./quant/qcmds.c:1402:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | raw.n_loci-dum_loc,raw.n_traits,maybe_s(raw.n_traits)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1410:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | sf(ps,"error: unable to open data file\n"); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1413:6: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 1412 | sf(ps,"error: unable to load data from file\nline %d:", | ~~ | %s 1413 | temp,BADDATA_line_num); pr(); | ^~~~ ./quant/qcmds.c:1413:11: warning: data argument not used by format string [-Wformat-extra-args] 1412 | sf(ps,"error: unable to load data from file\nline %d:", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1413 | temp,BADDATA_line_num); pr(); | ^ ./quant/qcmds.c:1413:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | temp,BADDATA_line_num); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1414:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | print(BADDATA_error); nl(); | ^ ./quant/qcmds.c:1414:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | print(BADDATA_error); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:1418:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | print("data file not loaded\n"); | ^ ./quant/qcmds.c:1420:13: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | close_file(fpa); close_file(fpb); close_file(fpc); | ^ ./quant/qcmds.c:1420:30: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | close_file(fpa); close_file(fpb); close_file(fpc); | ^ ./quant/qcmds.c:1420:47: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | close_file(fpa); close_file(fpb); close_file(fpc); | ^ ./quant/qcmds.c:1421:3: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qcmds.c:1486:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | if(nullstr(raw.file)) { | ^ ./quant/qcmds.c:1487:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | print("No data have been loaded, none can be saved.\n"); return; } | ^ ./quant/qcmds.c:1488:20: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | name = mkstrcpy(raw.file); | ^ ./quant/qcmds.c:1489:21: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | name3 = mkstrcpy(raw.file); | ^ ./quant/qcmds.c:1491:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | make_filename(name, FORCE_EXTENSION, WRS(QTL_EXT)); | ^ ./quant/qcmds.c:1496:16: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | fp = open_file(name,READ); | ^ ./quant/qcmds.c:1497:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | close_file(fp); | ^ ./quant/qcmds.c:1498:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | } except_when(CANTOPEN) { | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./quant/qcmds.c:1499:16: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1499 | fp = open_file(name,WRITE); | ^ ./quant/qcmds.c:1500:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | close_file(fp); | ^ ./quant/qcmds.c:1503:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | make_filename(name3, FORCE_EXTENSION, WRS(QTL_OLD)); | ^ ./quant/qcmds.c:1505:16: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | fp = open_file(name2, WRITE); | ^ ./quant/qcmds.c:1506:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | sf(ps,"Now saving %s...\n",name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1507:16: warning: passing arguments to 'save_qtl_files' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | save_qtl_files(fp); | ^ ./quant/qcmds.c:1508:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | close_file(fp); | ^ ./quant/qcmds.c:1509:17: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | if (rename_file(name,name3)) rename_file(name2,name); | ^ ./quant/qcmds.c:1509:42: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1509 | if (rename_file(name,name3)) rename_file(name2,name); | ^ ./quant/qcmds.c:1512:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | sf(ps,"Can't open %s.\n",name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1514:17: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | rename_file(name3,name); | ^ ./quant/qcmds.c:1515:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1515 | if(msg == INTERRUPT) send(INTERRUPT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1516:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | print("\nAn error occurred while the data files were being rewritten.\n"); | ^ ./quant/qcmds.c:1517:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | print("You may have to turn the 'auto save' option 'off' before quitting.\n"); | ^ ./quant/qcmds.c:1518:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | if(redirecting_input) send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1523:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | make_filename(name, FORCE_EXTENSION, WRS(TRAIT_EXT)); | ^ ./quant/qcmds.c:1524:18: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | make_filename(name3, FORCE_EXTENSION, WRS(TRAIT_OLD)); | ^ ./quant/qcmds.c:1526:16: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | fp = open_file(name2, WRITE); | ^ ./quant/qcmds.c:1527:37: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1527 | sf(ps,"Now saving %s...\n",name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1528:16: warning: passing arguments to 'save_traitfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | save_traitfile(fp); | ^ ./quant/qcmds.c:1529:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1529 | close_file(fp); | ^ ./quant/qcmds.c:1530:17: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | if (rename_file(name,name3)) rename_file(name2,name); | ^ ./quant/qcmds.c:1530:42: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | if (rename_file(name,name3)) rename_file(name2,name); | ^ ./quant/qcmds.c:1533:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | sf(ps,"Can't open fle '%s'.\n",name); pr(); /* fall through */ | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1535:17: warning: passing arguments to 'rename_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | rename_file(name3,name); | ^ ./quant/qcmds.c:1536:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | if(msg == INTERRUPT) send(INTERRUPT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1537:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | print("\nAn error occurred while the data files were being rewritten.\n"); | ^ ./quant/qcmds.c:1538:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | print("You may have to turn the 'auto save' option 'off' before quitting.\n"); | ^ ./quant/qcmds.c:1539:29: 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] 1539 | if (redirecting_input) send(QUIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | bool save_on_exit(do_it_now) | ^ ./quant/qcmds.c:35: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] 35 | bool save_on_exit(); | ^ ./quant/qcmds.c:1560:13: warning: passing arguments to 'save_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | save_wiggle(fp,i); | ^ ./quant/qcmds.c:1563:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | fprint(fp,WRS("#Compares\n")); | ^ ./quant/qcmds.c:1567:14: warning: passing arguments to 'save_compare' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | save_compare(fp,i); | ^ ./quant/qcmds.c:1552:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | void save_qtl_files(fp) | ^ ./quant/qcmds.c:34:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | void load_qtl_files(), save_qtl_files(); | ^ ./quant/qcmds.c:1590:15: warning: passing arguments to 'make_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | make_filename(name,FORCE_EXTENSION,WRS(QTL_EXT)); | ^ ./quant/qcmds.c:1591:15: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | fp= open_file(name,READ); | ^ ./quant/qcmds.c:1593:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | if(fscanf(fp,"%d\n",&filenum) != 1) send(IOERROR); /* KLUDGE */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1595:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | print(QTL_LD_OLD1); print(QTL_LD_OLD2); | ^ ./quant/qcmds.c:1595:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | print(QTL_LD_OLD1); print(QTL_LD_OLD2); | ^ ./quant/qcmds.c:1597:58: 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] 1597 | else if(fscanf(fp,"%d %d\n",&n_wigs,&first_wiggle)!= 2) send(IOERROR); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1601:14: warning: passing arguments to 'load_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | load_wiggle(fp); | ^ ./quant/qcmds.c:1604:16: warning: passing arguments to 'fgetdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1604 | fgetdataln(fp,NULL); | ^ ./quant/qcmds.c:1607:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | send(IOERROR); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcmds.c:1610:15: warning: passing arguments to 'load_compare' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | load_compare(fp); | ^ ./quant/qcmds.c:1614:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1616:12: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | close_file(fp); | ^ ./quant/qcmds.c:1620:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | print("Unable to load any saved QTL map data.\n"); | ^ ./quant/qcmds.c:1623:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | sf(ps,QTL_LD_ERROR1,name); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1624:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | print(QTL_LD_ERROR2); print(QTL_LD_ERROR3); | ^ ./quant/qcmds.c:1624:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | print(QTL_LD_ERROR2); print(QTL_LD_ERROR3); | ^ ./quant/qcmds.c:1625:14: warning: passing arguments to 'close_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | close_file(fp); | ^ ./quant/qcmds.c:1636:10: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | getln("Theta, L_Pos, R_pos: "); | ^ ./quant/qcmds.c:1641:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | sf(ps,"left_rf=%lf right_rf=%lf\n",left_rf,right_rf); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1646:32: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | raw.f3=TRUE; c=transition_prob(INTERCROSS,left,right,theta); | ^ ./quant/qcmds.c:1648:73: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | sf(ps,"left=%d right=%d F2-prob=%lf F3-prob=%lf\n",left,right,z,c); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1651:27: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | ((a=transition_prob(INTERCROSS,left,qtl,left_rf)) * | ^ ./quant/qcmds.c:1652:27: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | (b=transition_prob(INTERCROSS,qtl,right,right_rf))) /c; | ^ ./quant/qcmds.c:1656:72: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1656 | sf(ps,"qtl= %d F2: L=%lf R=%lf F3: L=%lf R=%lf\n",qtl,x,y,a,b); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1658:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | sf(ps,"==== F2 sum= %lf F3 sum=%lf\n",f2_sum,f3_sum); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qcmds.c:1668:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | qtl_ready(ANY_DATA,SEQ,TRAIT,QCTM); | ^ ./quant/qcmds.c:1669:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | get_arg(rtoken,0.0,&start); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1669:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1669:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1669:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1670:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | get_arg(rtoken,1.0,&end); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1670:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1670:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1670:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1671:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | get_arg(rtoken,0.1,&step); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1671:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1671:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1671:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1672:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | nomore_args(num_args); | ^ ./quant/qcmds.c:1676:2: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | for_all_orders(ints,map,perm) { | ^ ./quant/qtop.h:93:24: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:1676:2: warning: passing arguments to 'get_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:93:42: note: expanded from macro 'for_all_orders' 93 | Omore && reset_map(map) && get_order(seq,FALSE,map); \ | ^ ./quant/qcmds.c:1676:2: warning: passing arguments to 'next_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qtop.h:94:22: note: expanded from macro 'for_all_orders' 94 | Omore=next_order(seq,&(perm))) | ^ ./quant/qcmds.c:1677:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1677 | nl(); print_wiggle_title(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:1678:27: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | print_wiggle_interval(map); | ^ ./quant/qcmds.c:1681:15: warning: passing arguments to 'make_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | make_qtl_map(map); | ^ ./quant/qcmds.c:1682:19: warning: passing arguments to 'print_wiggle_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | print_wiggle_map(map,2.0,0.25); | ^ ./quant/qcmds.c:1684:27: warning: passing arguments to 'print_wiggle_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1684 | print_wiggle_interval(NULL); | ^ ./quant/qcmds.c:1698:14: warning: passing arguments to 'qtl_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1698 | qtl_ready(ANY_DATA,NOSEQ,NOTRAIT,NOQCTM); | ^ ./quant/qcmds.c:1699:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | get_arg(stoken,"",arg); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1699:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1699:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1699:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1700:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | get_arg(rtoken,2.0,&threshold); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1700:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1700:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1700:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1701:5: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | get_arg(rtoken,0.25,&scale); | ^ ./lib/shell.h:57:16: note: expanded from macro 'get_arg' 57 | if (parse_func(&args,default,val_ptr)) num_args++; \ | ^ ./quant/qcmds.c:1701:5: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:20: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1701:5: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:58:39: note: expanded from macro 'get_arg' 58 | else { if (nullstr(args)) usage_error(num_args); \ | ^ ./quant/qcmds.c:1701:5: warning: passing arguments to 'more_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/shell.h:59:18: note: expanded from macro 'get_arg' 59 | more_args(++num_args); } | ^ ./quant/qcmds.c:1702:16: warning: passing arguments to 'nomore_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1702 | nomore_args(num_args); | ^ ./quant/qcmds.c:1704:49: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | if (threshold<0.0 || scale<=0.0) usage_error(2); | ^ ./quant/qcmds.c:1705:20: warning: passing arguments to 'get_wiggle_nums' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | get_wiggle_nums(arg,&wiggle,&order); | ^ ./quant/qcmds.c:1708:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | op=wiggles[wiggle]; nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qcmds.c:1711:30: warning: passing arguments to 'print_ps_multi_wiggle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | print_ps_multi_wiggle(wiggle, threshold); | ^ ./quant/qcmds.c:1713:23: warning: passing arguments to 'print_ps_wiggle_order' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | print_ps_wiggle_order(wiggle, order, threshold); | ^ 727 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qctm.c -o ./quant/qctm.o ./quant/qctm.c:118:28: warning: passing arguments to 'ipow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | n_qtl_genotypes= ipow((raw.data_type==INTERCROSS ? 3:2),n_intervals); | ^ ./quant/qctm.c:128:7: 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] 128 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qctm.c:184:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (n_intervals<2) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qctm.c:203:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | } else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qctm.c:104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | void set_qctm_globals(data,map) /* called only by qctm itself */ | ^ ./quant/qctm.c:30: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] 30 | void set_qctm_globals(); | ^ ./quant/qctm.c:247:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | } else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qctm.c:207:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | void fill_in_qtl_map(map,new_like,qtl_weight) | ^ ./quant/qctm.c:31: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] 31 | void fill_in_qtl_map(); | ^ ./quant/qctm.c:274:13: warning: passing arguments to 'E_step' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | E_step(map->qtl_pos,null_qtl_weight,&map->null_mu,&map->null_sigma_sq, | ^ ./quant/qctm.c:278:41: warning: passing arguments to 'print_null_iteration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | if (print_iter) print_null_iteration(map); | ^ ./quant/qctm.c:285:10: warning: passing arguments to 'E_step' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | E_step(map->qtl_pos,qctm_qtl_weight,&map->mu,&map->sigma_sq,data, | ^ ./quant/qctm.c:292:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | print("*** warning: likelihood decreased, quitting...\n"); | ^ ./quant/qctm.c:298:21: warning: passing arguments to 'print_iteration' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | print_iteration(i,map,(i==0 ? 0.0 : new_like-old_like)); | ^ ./quant/qctm.c:300:23: warning: passing arguments to 'do_print_E_step' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | do_print_E_step(expected_genotype,S_matrix,expected_recs, | ^ ./quant/qctm.c:306:15: warning: passing arguments to 'ML_qtl_weight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | ML_qtl_weight(S_matrix,expected_genotype,data->phenotype, | ^ ./quant/qctm.c:308:12: warning: passing arguments to 'ML_qtl_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | ML_qtl_pos(expected_recs,data->interval_len,map->fix_pos,map->qtl_pos); | ^ ./quant/qctm.c:253:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | void qtl_conv_to_map(data,map) | ^ In file included from ./quant/qctm.c:18: In file included from ./quant/qtl.h:160: ./quant/qlow.h:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | void qtl_conv_to_map(); /* args: DATA *data; QTL_MAP *map; in qctm.c */ | ^ ./quant/qctm.c:338:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | sf(ps,"qtl_pos: %lf\n",qtl_pos[0]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:339:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | sf(ps,"qtl_weight: %lf\n",qtl_weight[0]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:340:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | sf(ps,"mu: %lf\n",*mu); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:341:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | sf(ps,"sigma_sq: %lf\n",*sigma_sq); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:353:19: warning: passing arguments to 'make_rec_probs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | make_rec_probs(qtl_pos,data->interval_len,trans_prob); | ^ ./quant/qctm.c:360:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | sf(ps,"===== indiv %d \n",i); print(ps); | ^ ./quant/qctm.c:362:35: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | sf(ps,"interval %d probs:\n",j); pr(); z=0; | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:364:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | sf(ps,"%2d %lf ",y,data->genotype_prob[i][j][y]); pr(); z++; | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:365:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | if (z%4==0 && y!=0) nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qctm.c:367:14: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | if (z%4!=0) nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qctm.c:393:16: warning: passing arguments to 'likelihood' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | likelihood(poss_genotype,genotype_contribution,trans_prob, | ^ ./quant/qctm.c:420:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | print("*** warning: sum_int_like in E_step is not 1.0\n"); | ^ ./quant/qctm.c:444:22: warning: passing arguments to 'normal_density' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | normal_density((data->phenotype[i]-prediction),sigma_sq); | ^ ./quant/qctm.c:450:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | print("expected_geno: "); for (n=0; nphenotype[indiv]-prediction),sigma_sq); | ^ ./quant/qctm.c:570:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:573:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | *total_int_like,normal_like,*total_like); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | void likelihood(qtl_genotype,contribution,trans_prob,qtl_weight,mu,sigma_sq, | ^ ./quant/qctm.c:34: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] 34 | void likelihood(); | ^ ./quant/qctm.c:588:9: warning: passing arguments to 'rmaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | rmaxf(MIN_REC_FRAC,min(qtl_pos[j],MAX_FRAC_OF_RF*interval_rf[j])); | ^ ./quant/qctm.c:596:21: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | (transition_prob(raw.data_type,left,qtl,left_rf) * | ^ ./quant/qctm.c:597:21: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | transition_prob(raw.data_type,qtl,right,right_rf)) / | ^ ./quant/qctm.c:598:19: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | transition_prob(raw.data_type,left,right,interval_rf[j]); | ^ ./quant/qctm.c:601:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | print("*** warning: the sum of the trans_probs is not 1.0\n"); | ^ ./quant/qctm.c:607:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | sf(ps,"rec_probs for interval %d rf=%lf\n",j,interval_rf[j]); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:609:26: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | sf(ps,"%2d ",geno); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:611:59: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | { sf(ps,"[%d] %lf ",qtl,trans_prob[j][geno][qtl]); pr(); } nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qctm.c:611:67: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | { sf(ps,"[%d] %lf ",qtl,trans_prob[j][geno][qtl]); pr(); } nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qctm.c:579:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | void make_rec_probs(qtl_pos,interval_rf,trans_prob) | ^ ./quant/qctm.c:35: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] 35 | void make_rec_probs(); | ^ ./quant/qctm.c:625:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | print("warning: sigma_sq exceeds tiny_variance...\n"); | ^ ./quant/qctm.c:619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | real normal_density(x,sigma_sq) | ^ ./quant/qctm.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | real normal_density(); | ^ ./quant/qctm.c:653:43: warning: passing arguments to 'kill_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | if (fix_weight[n]!=DONT_FIX) kill_entry(S_matrix,size,n); | ^ ./quant/qctm.c:655:12: warning: passing arguments to 'mat_invert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | mat_invert(S_matrix,size,S_inverse); | ^ ./quant/qctm.c:656:20: warning: passing arguments to 'array_times_matrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | array_times_matrix(phenotype,expected_genotype,n_individuals,size, | ^ ./quant/qctm.c:658:20: warning: passing arguments to 'array_times_matrix' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | array_times_matrix(temp_row,S_inverse,size,size,qtl_weight); | ^ ./quant/qctm.c:675:15: warning: passing arguments to 'variance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | variance(phenotype,qtl_weight,expected_genotype,S_matrix,mu,size); | ^ ./quant/qctm.c:639:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | void ML_qtl_weight(S_matrix,expected_genotype,phenotype,fix_weight, | ^ ./quant/qctm.c:37: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] 37 | void ML_qtl_weight(); | ^ ./quant/qctm.c:679:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | void kill_entry(S_matrix,size,i) | ^ ./quant/qctm.c:38: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] 38 | void kill_entry(); | ^ ./quant/qctm.c:690:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | real variance(phenotype,qtl_weight,expected_genotype,S_matrix,mu,size) | ^ ./quant/qctm.c:44: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] 44 | real variance(); | ^ ./quant/qctm.c:736:19: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | interval_cm= haldane_cm(interval_rf[i]); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qctm.c:738:19: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | max_cm= end= haldane_cm(MAX_FRAC_OF_RF*interval_rf[i]); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qctm.c:739:25: warning: passing arguments to 'do_brute_force' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | pos= do_brute_force(expected_recs,i,interval_rf[i],start,end,DIVS); | ^ ./quant/qctm.c:742:18: warning: passing arguments to 'rmaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | start= rmaxf(pos-STEP*interval_cm,min_cm); | ^ ./quant/qctm.c:743:16: warning: passing arguments to 'rminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | end= rminf(pos+STEP*interval_cm,max_cm); | ^ ./quant/qctm.c:744:25: warning: passing arguments to 'do_brute_force' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | pos= do_brute_force(expected_recs,i,interval_rf[i],start,end,DIVS); | ^ ./quant/qctm.c:746:18: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | qtl_pos[i]= unhaldane_cm(pos); | ^ ./quant/qtl.h:89:37: note: expanded from macro 'unhaldane_cm' 89 | #define unhaldane_cm(cm) (unhaldane(cm/100.0)) | ^ ./quant/qctm.c:747:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | } else /* !brute_force */ send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qctm.c:719:6: 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 ML_qtl_pos(expected_recs,interval_rf,fix_pos,qtl_pos) | ^ ./quant/qctm.c:40: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] 40 | void ML_qtl_pos(); | ^ ./quant/qctm.c:764:17: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | like= pos_like(unhaldane_cm(pos),interval_rf,expected_recs,i); | ^ ./quant/qtl.h:89:37: note: expanded from macro 'unhaldane_cm' 89 | #define unhaldane_cm(cm) (unhaldane(cm/100.0)) | ^ ./quant/qctm.c:764:16: warning: passing arguments to 'pos_like' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | like= pos_like(unhaldane_cm(pos),interval_rf,expected_recs,i); | ^ ./quant/qctm.c:752:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | real do_brute_force(expected_recs,i,interval_rf,start,end,steps) | ^ ./quant/qctm.c:41: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] 41 | real do_brute_force(); | ^ ./quant/qctm.c:786:30: warning: passing arguments to 'apriori_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | event_like= apriori_prob(raw.data_type,left_geno) * | ^ ./quant/qctm.c:787:23: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | transition_prob(raw.data_type,left_geno,qtl_geno,left_theta) * | ^ ./quant/qctm.c:788:23: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | transition_prob(raw.data_type,qtl_geno,right_geno,right_theta); | ^ ./quant/qctm.c:771:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | real pos_like(left_theta,interval_theta,expected_recs,i) | ^ ./quant/qctm.c:42: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] 42 | real pos_like(); | ^ ./quant/qctm.c:942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | void qtl_noconv_to_map(data,map) /* OBSOLETE, I THINK */ | ^ 92 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qdata.c -o ./quant/qdata.o ./quant/qdata.c:36:63: 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] 36 | if (num_intervals<1 || num_cont_vars<0 || !data_loaded()) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:38:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | single(data, DATA); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:38:2: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:46:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | matrix(data->genotype_prob,raw.n_indivs,num_intervals+1, | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:46:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:46:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:46:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:48:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | matrix(data->cont_var,num_cont_vars,raw.n_indivs,real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:48:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:48:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:48:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:49:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | array(data->phenotype, raw.n_indivs, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:49:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:50:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | array(data->interval_len, num_intervals+1, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:50:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:51:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | matrix(data->num_genotypes, raw.n_indivs, num_intervals, int); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:51:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:51:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:51:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:52:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | matrix(data->genotype,raw.n_indivs, | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:52:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:52:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:52:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:55:32: warning: passing arguments to 'free_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | } when_aborting { free_data(data); relay; } | ^ ./quant/qdata.c:55:40: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | } when_aborting { free_data(data); relay; } | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qdata.c:31:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | DATA *alloc_data(num_intervals,num_cont_vars) | ^ In file included from ./quant/qdata.c:18: In file included from ./quant/qtl.h:160: ./quant/qlow.h:87:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | DATA *alloc_data(); /* args: int max_intervals, max_continuous_vars; */ | ^ ./quant/qdata.c:60:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | void free_data(data) | ^ In file included from ./quant/qdata.c:18: In file included from ./quant/qtl.h:160: ./quant/qlow.h:88:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | void free_data(); /* args: DATA *ptr; */ | ^ ./quant/qdata.c:92:32: 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] 92 | !valid_trait_num(map->trait)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:100:35: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | data->interval_len[i]= map_length(map->left[i],map->right[i]); | ^ ./quant/qdata.c:105:2: 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] 105 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:116:16: warning: passing arguments to 'assign_probs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | assign_probs(data,i,indiv,j,map->left[j],map->right[j]); | ^ ./quant/qdata.c:124:14: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | { error("trait(s) are all missing data for all individuals."); } | ^ ./quant/qdata.c:82:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | void prepare_data(map,data) | ^ In file included from ./quant/qdata.c:18: In file included from ./quant/qtl.h:160: ./quant/qlow.h:90:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | void prepare_data(); /* args: QTL_MAP *map; DATA *data; in qdata.c */ | ^ ./quant/qdata.c:144:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (right==INF_LOCUS) send(CRASH); /* KLUDGE for now */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:146:25: warning: passing arguments to 'indiv_interval_probs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | indiv_interval_probs(data->genotype_prob[data_i],interval,raw_i, | ^ ./quant/qdata.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 assign_probs(data,raw_i,data_i,interval,left,right) | ^ ./quant/qdata.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void assign_probs(); | ^ ./quant/qdata.c:165:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (map==NULL || data==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:176:37: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | map->qtl_pos[i]=unhaldane(haldane(data->interval_len[i])/2.0); | ^ ./quant/qdata.c:176:29: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | map->qtl_pos[i]=unhaldane(haldane(data->interval_len[i])/2.0); | ^ ./quant/qdata.c:194:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | case TEST_MODELS: send(CRASH); /* should never make it to here */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:199: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] 199 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:207:14: 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] 207 | } else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:220:20: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | sigma_sq+= sq(mu - data->phenotype[i]); | ^ ./quant/qdata.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 initial_qctm_values(data, map) | ^ In file included from ./quant/qdata.c:18: In file included from ./quant/qtl.h:160: ./quant/qlow.h:95:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | void initial_qctm_values(); /* args: DATA *data; QTL_MAP *map; in qdata.c */ | ^ ./quant/qdata.c:239:51: 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] 239 | if (max_intervals<0 || max_continuous_vars<0) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:241:43: 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] 241 | max_continuous_vars>MAX_CONTINUOUS_VARS) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:248:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:251:22: warning: passing arguments to 'make_genotype_arrays' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | make_genotype_arrays(raw.data_type,max_intervals); | ^ ./quant/qdata.c:253:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | matrix(expected_genotype,raw.n_indivs, max_genotype_vars+1, real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:253:1: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:253:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:253:1: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:254:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | matrix(S_matrix, max_genotype_vars, max_genotype_vars+1, real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:254:1: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:254:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:254:1: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:255:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | matrix(S_inverse, max_genotype_vars, 2*(max_genotype_vars+1),real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:255:1: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:255:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:255:1: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:256:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | matrix(indiv_S_matrix, max_genotype_vars, max_genotype_vars, real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:256:1: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:256:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:256:1: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:257:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | array(qctm_qtl_weight, max_genotype_vars, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:257:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:258:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | array(fix_qtl_weight, max_genotype_vars, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:258:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:259:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | array(null_qtl_weight, max_genotype_vars, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:259:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:260:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | array(temp_row, max_genotype_vars, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:260:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:261:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | array(qctm_qtl_pos, max_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:261:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:262:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | array(int_like, max_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:262:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:263:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | array(expected_recs, max_intervals, GENO_PROBS); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:263:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:264:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | array(indiv_rec_like, max_intervals, GENO_PROBS); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:264:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:265:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | array(trans_prob, max_intervals, GENO_PROBS); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:265:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:266:1: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | array(rec_like, max_intervals, INTERVAL_GENOTYPE_PROBS); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:266:1: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:272:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qdata.c:292:39: warning: passing arguments to 'lpow2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | max_backx_genotypes= (GENOTYPE)lpow2(N); | ^ ./quant/qdata.c:293:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | matrix(lookup_genotype, (int)max_backx_genotypes, N, int); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:293:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:293:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:293:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:294:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | matrix(lookup_coded_genotype, (int)max_backx_genotypes, N, real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:294:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:294:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:294:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:306:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | matrix(lookup_genotype, (int)max_interx_genotypes,N,int); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:306:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:306:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:306:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:307:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | matrix(lookup_coded_genotype, (int)max_interx_genotypes,2*N+1,real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qdata.c:307:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:307:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qdata.c:307:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:317:13: 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] 317 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:279:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | void make_genotype_arrays(data_type,num_intervals) | ^ ./quant/qdata.c:23:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | void make_genotype_arrays(); | ^ ./quant/qdata.c:332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | real haldane(theta) | ^ In file included from ./quant/qdata.c:18: ./quant/qtl.h:81:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | real haldane(); /* args: real rec_frac; returns centiMorgans (not Morgans)*/ | ^ ./quant/qdata.c:341:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | real unhaldane(morgans) | ^ In file included from ./quant/qdata.c:18: ./quant/qtl.h:82:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | real unhaldane(); /* args: centimorgans; returns recfrac; CHANGE THESE!!!! */ | ^ ./quant/qdata.c:349:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | real kosambi(theta) | ^ In file included from ./quant/qdata.c:18: ./quant/qtl.h:83:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | real kosambi(); /* args: real rec_frac; returns centiMorgans (not Morgans)*/ | ^ ./quant/qdata.c:358:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | real unkosambi(morgans) | ^ In file included from ./quant/qdata.c:18: ./quant/qtl.h:84:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | real unkosambi(); /* args: centimorgans; returns recfrac; CHANGE THESE!!!! */ | ^ ./quant/qdata.c:405:36: 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] 405 | if (raw.data_type!=INTERCROSS) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:412:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | array(interval_prob,1,INTERVAL_GENOTYPE_PROBS); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qdata.c:412:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qdata.c:424:16: warning: passing arguments to 'rmaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | left_rf= rmaxf(MIN_REC_FRAC,min(map->qtl_pos[j], | ^ ./quant/qdata.c:427:22: warning: passing arguments to 'indiv_interval_probs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | indiv_interval_probs(interval_prob,0,indiv,map->left[j],map->right[j], | ^ ./quant/qdata.c:438:21: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | (transition_prob(raw.data_type,left,qtl,left_rf) * | ^ ./quant/qdata.c:439:21: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | transition_prob(raw.data_type,qtl,right,right_rf)) / | ^ ./quant/qdata.c:440:23: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | transition_prob(raw.data_type,left,right,interval_rf); | ^ ./quant/qdata.c:444:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | print("*** warning: the sum of the geno_probs is not 1.0\n"); | ^ ./quant/qdata.c:459:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | print("*** warning: the sum of the qtl_probs is not 1.0\n"); | ^ ./quant/qdata.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | real model_prediction(map,indiv) | ^ In file included from ./quant/qdata.c:18: In file included from ./quant/qtl.h:152: ./quant/qmap.h:96:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | real model_prediction(); /* args: QTL_MAP *map; int indiv; */ | ^ 130 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qseq.c -o ./quant/qseq.o ./quant/qseq.c:69:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | array(ints_string,SEQ_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:69:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:70:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | array(seqtoken,TOKLEN+1,char); seqtoken_ptr=seqtoken; | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:70:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:71:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | array(seqerr,MAXLINE+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:71:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:73:21: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | allocate_table(MAX_HISTORY_SEQS,SEQ_LEN,CANT_EXPAND,INDEX_BY_NUMBER); | ^ ./quant/qseq.c:76:21: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | allocate_table(MAX_NAMED_SEQS,SEQ_LEN,EXPANDS_BY(MAX_NAMED_SEQS), | ^ ./quant/qseq.c:90:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | nstrcpy(new_seq,str,MAXLINE); | ^ ./quant/qseq.c:91:29: warning: passing arguments to 'compile_intervals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | new_ints= compile_intervals(new_seq); | ^ ./quant/qseq.c:92:19: warning: passing arguments to 'free_qtl_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | free_qtl_sequence(ints); | ^ ./quant/qseq.c:94:20: warning: passing arguments to 'add_to_seq_history' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | add_to_seq_history(str); | ^ ./quant/qseq.c:95:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | nstrcpy(ints_string,str,SEQ_LEN); | ^ ./quant/qseq.c:96:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | } except_when(BADSEQ) { | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./quant/qseq.c:81:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | bool set_qtl_sequence(str,errmsg,errpos) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:116:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | bool set_qtl_sequence(); /* args: char *str, *errmsg; int *errpos; | ^ ./quant/qseq.c:110:21: warning: passing arguments to 'free_seq_options' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | free_seq_options(p->option); | ^ ./quant/qseq.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void free_qtl_sequence(p) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:150: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] 150 | void free_qtl_sequence(); /* args: QTL_SEQUENCE *ints; */ | ^ ./quant/qseq.c:119:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | void free_seq_options(q) | ^ ./quant/qseq.c:37: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] 37 | void free_seq_options(); | ^ ./quant/qseq.c:166:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if (nullstr(str)) send(CRASH); | ^ ./quant/qseq.c:166: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] 166 | if (nullstr(str)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:169:31: warning: passing arguments to 'expand_named_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | ptr = expand_named_entries(str); | ^ ./quant/qseq.c:172:18: warning: passing arguments to 'swap_for_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | swap_for_dash(ptr); | ^ ./quant/qseq.c:174:28: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | self_delimiting= ptr_to(SEQ_SELF_DELIMITING); | ^ ./quant/qseq.c:178:20: warning: passing arguments to 'int_compiler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | p=int_compiler(&ptr); if (p==NULL) send(CRASH); | ^ ./quant/qseq.c:178:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | p=int_compiler(&ptr); if (p==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:179:29: warning: passing arguments to 'enumerate_possibilities' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | enumerate_possibilities(p); | ^ ./quant/qseq.c:181:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | } while (!nullstr(ptr)); | ^ ./quant/qseq.c:188:17: warning: passing arguments to 'unswap_for_dash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | unswap_for_dash(str); | ^ ./quant/qseq.c:189:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qseq.c:160:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | QTL_SEQUENCE *compile_intervals(str) | ^ ./quant/qseq.c:33:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 33 | QTL_SEQUENCE *compile_intervals(); | ^ ./quant/qseq.c:219:20: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | if (nullstr(*str)) return(NULL); | ^ ./quant/qseq.c:225:2: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | NEXT_TOKEN_ | ^ ./quant/qseq.c:201:37: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:225:2: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:225:2: 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] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:226:12: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | if (itoken(&seqtoken,iREQUIRED,&repeat)) { | ^ ./quant/qseq.c:227:17: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (!irange(&repeat,1,max_intervals)) | ^ ./quant/qseq.c:228:50: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | { sf(seqerr,err_REPEATNUM,max_intervals); FAIL_(seqerr) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:228:50: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:229:6: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | NEXT_TOKEN_ | ^ ./quant/qseq.c:201:37: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:229:6: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:229:6: 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] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:230:26: warning: passing arguments to 'lowercase' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (!streq(lowercase(seqtoken),WORD_OF)) FAIL_(err_REPEATDEL) | ^ ./quant/qseq.c:230:47: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (!streq(lowercase(seqtoken),WORD_OF)) FAIL_(err_REPEATDEL) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:230:47: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:231:6: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | NEXT_TOKEN_ | ^ ./quant/qseq.c:201:37: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:231:6: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:231:6: 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] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:235:21: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | else if (repeat>0) FAIL_(err_LEFTBRACK) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:235:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:236:7: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | else FAIL_(err_LEFTANY) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:236:7: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:239:32: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | if (repeat>1 && isa_cont_var) FAIL_(err_REPEATCONT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:239:32: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:245:3: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | NEXT_TOKEN_ | ^ ./quant/qseq.c:201:37: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:245:3: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:245:3: 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] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:248:30: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | if (wizard_mode && nmatches(seqtoken,"epistasis",3)) | ^ ./quant/qseq.c:249:22: warning: passing arguments to 'mkcontinuous' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | p= mkcontinuous(EPISTASIS_TERM,DONT_FIX); | ^ ./quant/qseq.c:250:27: warning: passing arguments to 'valid_trait_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | else if (valid_trait_str(seqtoken,&trait,seqerr)) { | ^ ./quant/qseq.c:251:21: warning: passing arguments to 'mkcontinuous' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | p=mkcontinuous(trait,DONT_FIX); /* No fix-weight for now */ | ^ ./quant/qseq.c:254:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | if (first==NULL) FAIL_(err_NOTRAIT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:254: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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:257:10: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | } else FAIL_(seqerr) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:257:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:263:6: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | NEXT_TOKEN_ | ^ ./quant/qseq.c:201:37: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:263:6: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:263:6: 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] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:286:25: warning: passing arguments to 'valid_locus_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | if (valid_locus_str(seqtoken,&left,seqerr)) { | ^ ./quant/qseq.c:287:27: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (left==raw.n_loci-1) FAIL_(err_NOTLAST) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:287:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:288:18: warning: passing arguments to 'mkinterval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | p= mkinterval(left,left+1); | ^ ./quant/qseq.c:290:19: warning: passing arguments to 'try_fix_pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | if (!try_fix_pos(str,p)) try_range(str,p); | ^ ./quant/qseq.c:290:37: warning: passing arguments to 'try_range' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | if (!try_fix_pos(str,p)) try_range(str,p); | ^ ./quant/qseq.c:295:3: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | FAIL_(err_BADTOKEN) /* This was commented out. Why? */ | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:295:3: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:303:20: warning: passing arguments to 'get_genetics_spec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | get_genetics_spec(str,&genetics); | ^ ./quant/qseq.c:305:42: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | genetics.interx_type==TEST_MODELS) FAIL_(err_REPEATEST) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:305:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:312:8: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | FAIL_(err_BADTOKENOR) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:312:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:318:4: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | single(me,QTL_SEQUENCE); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:318:4: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:320:17: warning: passing arguments to 'copy_genetics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | copy_genetics(&me->genetics,&genetics); | ^ ./quant/qseq.c:334:6: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qseq.c:205:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | QTL_SEQUENCE *int_compiler(str) | ^ ./quant/qseq.c:34:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | QTL_SEQUENCE *int_compiler(); | ^ ./quant/qseq.c:346:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | single(p,QTL_SEQ_OPTION); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:346:5: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:340:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | QTL_SEQ_OPTION *mkcontinuous(trait,fix_weight) | ^ ./quant/qseq.c:36:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | QTL_SEQ_OPTION *mkcontinuous(); | ^ ./quant/qseq.c:359:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | single(p,QTL_SEQ_OPTION); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:359:5: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:354:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | QTL_SEQ_OPTION *mkinterval(left,right) | ^ ./quant/qseq.c:35:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | QTL_SEQ_OPTION *mkinterval(); | ^ ./quant/qseq.c:375:9: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | if (LOOKAHEAD(VERTICAL_BAR)) { | ^ ./quant/qseq.c:199:37: note: expanded from macro 'LOOKAHEAD' 199 | #define LOOKAHEAD(chars) parse_char(str,chars,TRUE,&dummy) | ^ ./quant/qseq.c:376:13: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if (!stoken(str,sREQUIRED,right)) FAIL_(err_BADRIGHT) | ^ ./quant/qseq.c:376:36: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | if (!stoken(str,sREQUIRED,right)) FAIL_(err_BADRIGHT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:376:36: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:377:22: warning: passing arguments to 'valid_locus_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | if (!valid_locus_str(right,&num,seqerr)) FAIL_(seqerr) | ^ ./quant/qseq.c:377:43: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | if (!valid_locus_str(right,&num,seqerr)) FAIL_(seqerr) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:377:43: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:378:35: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | if (num<=opt->isa.interval.left) FAIL_(err_BADINT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:378:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | bool try_right(str,opt) | ^ ./quant/qseq.c:390:9: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | if (LOOKAHEAD(PLUS_SIGN)) { | ^ ./quant/qseq.c:199:37: note: expanded from macro 'LOOKAHEAD' 199 | #define LOOKAHEAD(chars) parse_char(str,chars,TRUE,&dummy) | ^ ./quant/qseq.c:391:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (!rtoken(str,rREQUIRED,&pos) || pos<0.0) FAIL_(err_BADPOS) | ^ ./quant/qseq.c:391:46: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if (!rtoken(str,rREQUIRED,&pos) || pos<0.0) FAIL_(err_BADPOS) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:391:46: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:392:21: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | if (pos > 0.5) pos=unhaldane_cm(pos); /* KLUDGE? */ | ^ ./quant/qtl.h:89:37: note: expanded from macro 'unhaldane_cm' 89 | #define unhaldane_cm(cm) (unhaldane(cm/100.0)) | ^ ./quant/qseq.c:393:16: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | rf= map_length(opt->isa.interval.left,opt->isa.interval.right); | ^ ./quant/qseq.c:394:40: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | if (pos<0 || pos>(MAX_FRAC_OF_RF*rf)) FAIL_(err_POSRANGE) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:394:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:384:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | bool try_fix_pos(str,opt) | ^ ./quant/qseq.c:38: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] 38 | bool try_fix_pos(); | ^ ./quant/qseq.c:408:9: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | if (LOOKAHEAD(SURROGATE_DASH)) { | ^ ./quant/qseq.c:199:37: note: expanded from macro 'LOOKAHEAD' 199 | #define LOOKAHEAD(chars) parse_char(str,chars,TRUE,&dummy) | ^ ./quant/qseq.c:409:13: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (!stoken(str,sREQUIRED,right)) FAIL_(err_BADRIGHT) | ^ ./quant/qseq.c:409:36: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (!stoken(str,sREQUIRED,right)) FAIL_(err_BADRIGHT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:409:36: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:410:22: warning: passing arguments to 'valid_locus_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | if (!valid_locus_str(right,&num,seqerr)) FAIL_(seqerr) | ^ ./quant/qseq.c:410:43: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | if (!valid_locus_str(right,&num,seqerr)) FAIL_(seqerr) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:410:43: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:411:35: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | if (num<=opt->isa.interval.left) FAIL_(err_BADRANGE) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:411:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | bool try_range(str,opt) | ^ ./quant/qseq.c:39: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] 39 | bool try_range(); | ^ ./quant/qseq.c:429:5: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | NEXT_TOKEN_ | ^ ./quant/qseq.c:201:37: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:429:5: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:429:5: 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] ./quant/qseq.c:201:63: note: expanded from macro 'NEXT_TOKEN_' 201 | { seqtoken=seqtoken_ptr; if (!stoken(str,sREQUIRED,seqtoken)) FAIL_(err_EOL) } | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:430:17: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (nmatches(seqtoken,"additive",3)) { INTERX_TYPE_(ADDITIVE) } | ^ ./quant/qseq.c:430:50: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | if (nmatches(seqtoken,"additive",3)) { INTERX_TYPE_(ADDITIVE) } | ^ ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:430:50: 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] ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:431:22: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | else if (nmatches(seqtoken,"dominant",3)) { INTERX_TYPE_(DOMINANT) } | ^ ./quant/qseq.c:431:50: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | else if (nmatches(seqtoken,"dominant",3)) { INTERX_TYPE_(DOMINANT) } | ^ ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:431:50: 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] ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:432:22: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | else if (nmatches(seqtoken,"recessive",3)) { INTERX_TYPE_(RECESSIVE) } | ^ ./quant/qseq.c:432:50: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | else if (nmatches(seqtoken,"recessive",3)) { INTERX_TYPE_(RECESSIVE) } | ^ ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:432:50: 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] ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:433:22: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | else if (nmatches(seqtoken,"try",3)) { INTERX_TYPE_(TEST_MODELS) } | ^ ./quant/qseq.c:433:50: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | else if (nmatches(seqtoken,"try",3)) { INTERX_TYPE_(TEST_MODELS) } | ^ ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:433:50: 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] ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:434:37: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | else if (wizard_mode && nmatches(seqtoken,"f3dominant",3)) | ^ ./quant/qseq.c:435:9: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | { INTERX_TYPE_(F3DOMINANT) } | ^ ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:435: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] ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:436:37: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | else if (wizard_mode && nmatches(seqtoken,"f3recessive",3)) | ^ ./quant/qseq.c:437:9: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | { INTERX_TYPE_(F3RECESSIVE) } | ^ ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:437: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] ./quant/qseq.c:419:55: note: expanded from macro 'INTERX_TYPE_' 419 | if (raw.data_type==INTERCROSS) g->interx_type=t; else FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:438:21: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | else if (nmatches(seqtoken,"fixed",3)) { | ^ ./quant/qseq.c:439:17: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (!parse_char(str,"aAwW",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:439:39: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | if (!parse_char(str,"aAwW",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:439:39: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:440:17: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if (!parse_char(str,"=",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:440:36: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | if (!parse_char(str,"=",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:440:36: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:441:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | if (!rtoken(str,rREQUIRED,&a)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:441:33: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | if (!rtoken(str,rREQUIRED,&a)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:441: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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:443:21: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (!parse_char(str,"dD",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:443:41: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | if (!parse_char(str,"dD",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:443:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:444:21: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | if (!parse_char(str,"=",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:444:40: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | if (!parse_char(str,"=",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:444:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:445:17: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (!rtoken(str,rREQUIRED,&d)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:445:37: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | if (!rtoken(str,rREQUIRED,&d)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:445:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:448:43: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | } else if (raw.data_type==INTERCROSS) FAIL_(err_INTERX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:448:43: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:449:12: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | else FAIL_(err_BACKX) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:449:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:451:20: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | if (!parse_char(str,"]",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:451:39: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | if (!parse_char(str,"]",TRUE,&c)) FAIL_(err_FIXFORM) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:451:39: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:421:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | void get_genetics_spec(str,g) | ^ ./quant/qseq.c:40: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] 40 | void get_genetics_spec(); | ^ ./quant/qseq.c:462:18: 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] 462 | if (p==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:464:36: 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] 464 | i=0; q=p->option; if (q==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:468: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] 468 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:472: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] 472 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:478:20: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (p->repeat!=1) FAIL_(err_REPEATCONT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:478:20: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:479:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | array(p->cont_var,i,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:479:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:480:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | array(p->fix_cont_var_weight,i,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:480:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:481:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | array(p->contig,i,bool); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:481:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:482:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | array(p->count,p->repeat,int); /* state */ | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:482:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:493:19: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | if (p->repeat>i) FAIL_(err_REPEAT) | ^ ./quant/qseq.c:198:43: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./quant/qseq.c:493:19: 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] ./quant/qseq.c:198:50: note: expanded from macro 'FAIL_' 198 | #define FAIL_(msg) { BADSEQ_errmsg=ptr_to(msg); send(BADSEQ); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:494:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | array(p->left,i,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:494:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:495:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | array(p->right,i,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:495:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:496:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | array(p->fix_pos,i,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:496:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:497:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | array(p->contig,i,bool); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:497:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:498:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | array(p->count,p->repeat,int); /* state */ | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:498:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:521:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | if (i!=p->num_options) send(CRASH); /* someone screwed up */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:457:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | void enumerate_possibilities(p) | ^ ./quant/qseq.c:41: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] 41 | void enumerate_possibilities(); | ^ ./quant/qseq.c:550:18: 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] 550 | if (p==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:563:43: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | p->interval_cm= haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qseq.c:563:22: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | p->interval_cm= haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qseq.c:573:40: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | if (p->cont_var[i]==trait) error(err_TRAITISCV); | ^ ./quant/qseq.c:544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | bool reset_state(p,wiggle,pnum_intervals,pcont_vars,pnum_orders,pwiggle_ints) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:124:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | bool reset_state(); /* args: QTL_SEQUENCE *seq; bool wiggle; int *num_ints; | ^ ./quant/qseq.c:586:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | void get_seq_free_genetics(p,free) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:352: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] 352 | void get_seq_free_genetics(); | ^ ./quant/qseq.c:610:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | if (p==NULL || map==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:617:43: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | if (wiggle && p->next==NULL) fix_pos=unhaldane_cm(p->pos_cm); | ^ ./quant/qtl.h:89:37: note: expanded from macro 'unhaldane_cm' 89 | #define unhaldane_cm(cm) (unhaldane(cm/100.0)) | ^ ./quant/qseq.c:623:17: warning: passing arguments to 'add_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | add_interval(map,p->left[j],p->right[j],fix_pos, | ^ ./quant/qseq.c:626:20: warning: passing arguments to 'add_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | add_interval(map,p->left[j],p->right[j],fix_pos,&p->genetics); | ^ ./quant/qseq.c:601:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | bool get_order(p,wiggle,map) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:135: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] 135 | bool get_order(); /* args: QTL_SEQUENCE *seq; bool wiggle; QTL_MAP *map; | ^ ./quant/qseq.c:643:20: warning: passing arguments to 'contig_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | if (contig_perm(p,&permed_int,FALSE)) type=CONTIG; | ^ ./quant/qseq.c:644:23: warning: passing arguments to 'test_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | else if (test_perm(p,&permed_int,FALSE,TRUE)) type=TEST; | ^ ./quant/qseq.c:645:26: warning: passing arguments to 'discont_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | else if (discont_perm(p,&permed_int,FALSE)) type=SKIP; | ^ ./quant/qseq.c:636:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | bool next_order(p,perm) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:139: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] 139 | bool next_order(); /* args: QTL_SEQUENCE *seq; int *perm; | ^ ./quant/qseq.c:667:20: warning: passing arguments to 'wiggle_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | if (wiggle_perm(right,&contig,&in_wig,cm_step)) { | ^ ./quant/qseq.c:671:23: warning: passing arguments to 'test_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | else if (test_perm(right,&permed_int,TRUE,TRUE)) type=TEST; | ^ ./quant/qseq.c:673:23: warning: passing arguments to 'test_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | else if (test_perm(left,&permed_int,TRUE,FALSE)) type=TEST; | ^ ./quant/qseq.c:674:25: warning: passing arguments to 'contig_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | else if (contig_perm(left,&permed_int,TRUE)) type=ORDER; | ^ ./quant/qseq.c:675:26: warning: passing arguments to 'discont_perm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | else if (discont_perm(left,&permed_int,TRUE)) type=ORDER; | ^ ./quant/qseq.c:653:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | bool next_wiggle(p,perm,cm_step) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:144: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] 144 | bool next_wiggle(); /* args: QTL_SEQUENCE *seq; int *perm; real *cm_step; | ^ ./quant/qseq.c:715:30: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qseq.c:715:9: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qseq.c:683:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | bool contig_perm(p,perm,wiggle) | ^ ./quant/qseq.c:42: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] 42 | bool contig_perm(); | ^ ./quant/qseq.c:762:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | if (p->contig[p->count[i]]) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:774:30: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qseq.c:774:9: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qseq.c:732:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | bool discont_perm(p,perm,wiggle) | ^ ./quant/qseq.c:43: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] 43 | bool discont_perm(); | ^ ./quant/qseq.c:794:64: 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] 794 | if (p->repeat>1 || p->next!=NULL || p->isa_continuous_var) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:801:39: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | p->interval_cm= haldane_cm(map_length(p->left[i],p->right[i])); | ^ ./quant/qseq.c:801:18: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | p->interval_cm= haldane_cm(map_length(p->left[i],p->right[i])); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qseq.c:787:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | bool wiggle_perm(p,contig,wiggled,cm_step) | ^ ./quant/qseq.c:44: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] 44 | bool wiggle_perm(); | ^ ./quant/qseq.c:833:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | if (p->repeat>1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:841:40: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | p->interval_cm= haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qseq.c:841:19: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | p->interval_cm= haldane_cm(map_length(p->left[0],p->right[0])); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qseq.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | bool test_perm(p,perm,wiggle,perm_rightmost) | ^ ./quant/qseq.c:45:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | bool test_perm(); | ^ ./quant/qseq.c:864:19: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | if(!valid_name(name)) { | ^ ./quant/qseq.c:865:19: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | *why_not = ptr_to("illegal name"); | ^ ./quant/qseq.c:868:20: warning: passing arguments to 'put_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | put_named_entry(name,seq,context[active_context]->named_sequences); | ^ ./quant/qseq.c:860:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | bool name_sequence(name,seq,why_not) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:156: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] 156 | bool name_sequence(); | ^ ./quant/qseq.c:878:20: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | if (!valid_name(name)) { | ^ ./quant/qseq.c:879:19: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | *why_not = ptr_to("illegal name"); | ^ ./quant/qseq.c:883:24: warning: passing arguments to 'valid_locus_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | if (valid_locus_str(name,&foo,err)) { | ^ ./quant/qseq.c:884:19: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | *why_not = ptr_to("name is ambiguous"); | ^ ./quant/qseq.c:887:28: warning: passing arguments to 'delete_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | if (!delete_named_entry(name,context[active_context]->named_sequences, | ^ ./quant/qseq.c:890:23: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | *why_not = ptr_to("name is not defined"); | ^ ./quant/qseq.c:892:23: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | *why_not = ptr_to("name is ambiguous"); | ^ ./quant/qseq.c:872:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | bool unname_sequence(name,why_not) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:157: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] 157 | bool unname_sequence(); | ^ ./quant/qseq.c:904:23: warning: passing arguments to 'put_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | put_numbered_entry(seq,context[active_context]->sequence_history,&seqnum); | ^ ./quant/qseq.c:898:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | void add_to_seq_history(seq) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:158: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] 158 | void add_to_seq_history(); | ^ ./quant/qseq.c:919:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | array(new_str, SEQ_LEN+1, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:919:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:920:24: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | self_delimiting=ptr_to("[]"); | ^ ./quant/qseq.c:921:15: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | while (stoken(&str,sREQUIRED,tok)) { | ^ ./quant/qseq.c:923:25: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | self_delimiting=ptr_to("[]+:-|"); | ^ ./quant/qseq.c:924:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | if (itoken(&tok,iREQUIRED,&num)) { | ^ ./quant/qseq.c:928:29: warning: passing arguments to 'get_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | } else if (get_named_entry(tok,&dummy,&expansion, | ^ ./quant/qseq.c:931:17: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | while (stoken(&expansion,sREQUIRED,every)) { | ^ ./quant/qseq.c:932:26: warning: passing arguments to 'get_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | if(get_named_entry(every,&dummy,&super_exp, | ^ ./quant/qseq.c:936:21: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | while (itoken(&temp_str,iREQUIRED,&num)) { | ^ ./quant/qseq.c:945:16: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | while(itoken(&expansion,iREQUIRED,&num)) { | ^ ./quant/qseq.c:954:16: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | if(itoken(&tok,iREQUIRED,&num)) { | ^ ./quant/qseq.c:956:25: warning: passing arguments to 'get_numbered_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | if(get_numbered_entry(num,&temp_str, | ^ ./quant/qseq.c:970:22: warning: passing arguments to 'get_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | if (get_named_entry(tok,&dummy,&expansion, | ^ ./quant/qseq.c:976:28: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | self_delimiting=ptr_to(""); | ^ ./quant/qseq.c:979:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qseq.c:909:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | char *expand_named_entries(str) | ^ In file included from ./quant/qseq.c:22: ./quant/qtl.h:99:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | char *expand_named_entries(); /* takes an interval_string and returns a | ^ ./quant/qseq.c:990:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | void swap_for_dash(str) /* internal use only */ | ^ ./quant/qseq.c:46: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] 46 | void swap_for_dash(); | ^ ./quant/qseq.c:996:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | void unswap_for_dash(str) /* internal use only */ | ^ ./quant/qseq.c:47: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] 47 | void unswap_for_dash(); | ^ ./quant/qseq.c:1071:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | array(name,NAME_LEN+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:1071:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:1072:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | array(seq_to_name, SEQ_LEN, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qseq.c:1072:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qseq.c:1077:25: warning: passing arguments to 'delete_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | if(!delete_named_entry(name, | ^ ./quant/qseq.c:1086:22: warning: passing arguments to 'get_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | if(!get_named_entry(name,&real_name,&seq_str, | ^ ./quant/qseq.c:1095:20: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | interval_str(peak->left,peak->right,FALSE), | ^ ./quant/qseq.c:1096:16: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | dist_str(peak->qtl_pos,FALSE)); | ^ ./quant/qseq.c:1097:27: warning: passing arguments to 'genetics_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | if(!streq(genetics_str(&peak->map->constraint | ^ ./quant/qseq.c:1099:34: warning: passing arguments to 'genetics_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | sf(ps," :%s",genetics_str(&peak->map->constraint | ^ ./quant/qseq.c:1060:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | void name_peaks(peak,prefix,forget) | ^ In file included from ./quant/qseq.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:159: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] 159 | void name_peaks(); | ^ 303 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qtop.c -o ./quant/qtop.o ./quant/qtop.c:61:18: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | truncstr(BADDATA_ln,60),truncstr(BADDATA_error,70)); } | ^ ./quant/qtop.c:61:42: warning: passing arguments to 'truncstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | truncstr(BADDATA_ln,60),truncstr(BADDATA_error,70)); } | ^ ./quant/qtop.c:69:3: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | array(BADDATA_error,MAXLINE+1,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:69:3: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:71:14: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | trait= -1; array(trait_string,MAXLINE,char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:71:14: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:75:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | setmsg(SINGMAT, "attempt to invert singular matrix",sender,NULL); | ^ ./quant/qtop.c:76:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | setmsg(MATINV, "matrix invert failed", sender,ps_MATINV); | ^ ./quant/qtop.c:77:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | setmsg(BADDATA, "bad quant data file", sender,ps_BADDATA); | ^ ./quant/qtop.c:78:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | setmsg(QUIT_QTL, "quit program", sender,NULL); | ^ ./quant/qtop.c:79:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | setmsg(NOPARSE, "parse failed", sender,NULL); | ^ ./quant/qtop.c:80:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | setmsg(BAD_MKINT, "parse failed", sender,NULL); | ^ ./quant/qtop.c:81:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | setmsg(BADSEQ, "illegal QTL interval list", sender,NULL); | ^ ./quant/qtop.c:82:9: warning: passing arguments to 'setmsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | setmsg(BADTRAIT, "illegal QTL trait spec", sender,NULL); | ^ ./quant/qtop.c:96:22: warning: passing arguments to 'get_cmd_line_args' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | get_cmd_line_args(&argc,argv); | ^ ./quant/qtop.c:98:5: warning: passing arguments to 'do_seedrand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | seedrand(RANDOM); | ^ ./lib/mathlib.h:103:32: note: expanded from macro 'seedrand' 103 | #define seedrand(x) do_seedrand((long)(x)) | ^ ./quant/qtop.c:101:15: warning: passing arguments to 'shell_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | shell_init("MAPMAKER/QTL","1.1b","1988-1992",help_filename); | ^ ./quant/qtop.c:114:30: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | self_delimiting= mkstrcpy("[]<>"); | ^ ./quant/qtop.c:120:30: warning: passing arguments to 'open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | run { help_file=open_file("qtl.help",READ); } except_when(CANTOPEN) {} | ^ ./quant/qtop.c:120:51: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | run { help_file=open_file("qtl.help",READ); } except_when(CANTOPEN) {} | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./quant/qtop.c:122:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (!nullstr(file_arg[PHOTO_FILE_ARG])) run { | ^ ./quant/qtop.c:123:9: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qtop.c:124:34: warning: passing arguments to 'photo_to_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if ((append_it && !photo_to_file(file_arg[PHOTO_FILE_ARG],APPEND)) || | ^ ./quant/qtop.c:125:35: warning: passing arguments to 'photo_to_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | (!append_it && !photo_to_file(file_arg[PHOTO_FILE_ARG],WRITE))) | ^ ./quant/qtop.c:126:4: 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] 126 | send(CANTOPEN); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:127:51: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | sf(ps,"photo is on: file is '%s'\n",photo_file); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qtop.c:128:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | } on_error { print("error opening photo file\n"); } | ^ ./quant/qtop.c:128:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 128 | } on_error { print("error opening photo file\n"); } | ^ ./lib/msglib.h:168:41: note: expanded from macro 'on_error' 168 | #define on_error while(--lvl>10000); } else | ^ ./quant/qtop.c:130:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (!nullstr(file_arg[RUN_FILE_ARG],READ)) run { | ^ ./quant/qtop.c:131:23: warning: passing arguments to 'redirect_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | redirect_input(file_arg[RUN_FILE_ARG],TRUE); | ^ ./quant/qtop.c:132:23: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | } on_error { print("error opening run file\n"); } | ^ ./quant/qtop.c:132:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 132 | } on_error { print("error opening run file\n"); } | ^ ./lib/msglib.h:168:41: note: expanded from macro 'on_error' 168 | #define on_error while(--lvl>10000); } else | ^ ./quant/qtop.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | main(argc,argv) | ^ ./quant/qtop.c:39: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] 39 | int main(); | ^ ./quant/qtop.c:161:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | nstrcpy(file,raw.file,cols-55); | ^ ./quant/qtop.c:168:19: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | else nstrcpy(file,photo_file,cols-55); | ^ ./quant/qtop.c:154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | void qtl_top(line,lines,cols) | ^ ./quant/qtop.c:41: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] 41 | void qtl_top(); | ^ ./quant/qtop.c:186:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | if(num_intervals<1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:188:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | single(map, QTL_MAP); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:188:2: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:198:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | array(map->left, num_intervals, int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:198:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:199:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | array(map->right, num_intervals, int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:199:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:200:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | array(map->interval_len, num_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:200:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:201:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | array(map->qtl_pos, num_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:201:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:202:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | array(map->qtl_weight, num_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:202:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:203:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | array(map->qtl_dominance, num_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:203:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:204:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | array(map->fix_pos, num_intervals, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:204:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:205:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | array(map->constraint, num_intervals, GENETICS); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:205:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:206:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | array(map->cont_var, num_cont_vars, int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:206:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:207:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | array(map->cont_var_weight, num_cont_vars, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:207:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:208:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | array(map->fix_cont_var_weight, num_cont_vars, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:208:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:212:11: warning: passing arguments to 'reset_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | reset_map(map); | ^ ./quant/qtop.c:214:35: warning: passing arguments to 'free_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | } when_aborting { free_qtl_map(map); relay; } | ^ ./quant/qtop.c:214:42: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | } when_aborting { free_qtl_map(map); relay; } | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qtop.c:180:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | QTL_MAP *alloc_qtl_map(num_intervals,num_cont_vars) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:99: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] 99 | QTL_MAP *alloc_qtl_map(); /* args: int n_intervals, n_continuous_vars; */ | ^ ./quant/qtop.c:219:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | void free_qtl_map(map) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:100:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | void free_qtl_map(); | ^ ./quant/qtop.c:255:20: 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] 255 | if (map==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | bool reset_map(map) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:101:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | bool reset_map(); | ^ ./quant/qtop.c:274:62: 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] 274 | if (map==NULL || map->num_intervals>=map->max_intervals) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:267:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | int add_interval(map,left,right,fix_pos,genetics) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:103:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | int add_interval(); | ^ ./quant/qtop.c:297:7: 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] 297 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:298:50: warning: passing arguments to 'valid_trait_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (trait!=EPISTASIS_TERM && !valid_trait_num(trait)) send(CRASH); | ^ ./quant/qtop.c:298:59: 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] 298 | if (trait!=EPISTASIS_TERM && !valid_trait_num(trait)) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:290:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | int add_continuous_var(map,trait,fix_weight) | ^ ./quant/qtop.c:313:50: 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] 313 | if (to->max_intervals < from->num_intervals) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:314:62: 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] 314 | if (to->max_continuous_vars < from->num_continuous_vars) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:328:15: warning: passing arguments to 'copy_genetics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | copy_genetics(&to->constraint[i],&from->constraint[i]); | ^ ./quant/qtop.c:308:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | void mapcpy(to,from) /* strcpy()-ish backasswards notation */ | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:104:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | void mapcpy(); | ^ ./quant/qtop.c:350:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | void copy_genetics(to,from) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:113:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | void copy_genetics(); | ^ ./quant/qtop.c:359:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | bool constrained(genetics) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:114:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | bool constrained(); /* args: GENETICS *genetics; */ | ^ ./quant/qtop.c:505:52: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | if (data_type!=NO_DATA && !data_loaded()) error(eNEED_DATA); | ^ ./quant/qtop.c:507:39: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | { sf(ps,eNEED_INTERX,com); error(ps); } | ^ ./quant/qtop.c:509:38: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | { sf(ps,eNEED_BACKX,com); error(ps); } | ^ ./quant/qtop.c:512:23: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (ints==NULL) error(eNEED_INTS); | ^ ./quant/qtop.c:513:18: warning: passing arguments to 'reset_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | if (!reset_state(ints,(need_seq==WIGSEQ),&num_intervals, | ^ ./quant/qtop.c:515:34: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | { sf(ps,eWRONG_SEQ,com); error(ps); } | ^ ./quant/qtop.c:517:32: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | { sf(ps,eONE_INT,com); error(ps); } /* FROB */ | ^ ./quant/qtop.c:518:27: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | if (free_genetics==NULL) array(free_genetics,abs(max_intervals),bool); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qtop.c:518:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:519:23: warning: passing arguments to 'get_seq_free_genetics' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | get_seq_free_genetics(ints,free_genetics); | ^ ./quant/qtop.c:523:44: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | if (trait<0 || trait>raw.n_traits-1) error(eNEED_TRAIT); | ^ ./quant/qtop.c:528:31: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | if (data_type==NO_DATA) error(eNEED_DATA); | ^ ./quant/qtop.c:533:41: warning: passing arguments to 'alloc_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | if (map_data==NULL) map_data=alloc_data(max_intervals, | ^ ./quant/qtop.c:498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | void qtl_ready(data_type,need_seq,need_trait,will_call_qctm) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:169: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] 169 | void qtl_ready(); /* args: int data_type, need_seq; bool need_trait,calls_qctm; | ^ ./quant/qtop.c:563: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] 563 | if (errmsg==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:565:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | if (nullstr(str)) { | ^ ./quant/qtop.c:569:22: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | } else if (itoken(&str,iREQUIRED,num)) { | ^ ./quant/qtop.c:571:22: warning: passing arguments to 'valid_locus_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | if (!valid_locus_num(num)) { | ^ ./quant/qtop.c:574:21: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | } else if (!nullstr(str)) { /* check for only one token */ | ^ ./quant/qtop.c:578:21: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | } else if(stoken(&str,sREQUIRED,name)) { | ^ ./quant/qtop.c:581:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | if (nullstr(name)) { strcpy(errmsg,eNOLOCUS); return(FALSE); } | ^ ./quant/qtop.c:583:17: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | if (!valid_name(name)) | ^ ./quant/qtop.c:587:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | if (!nullstr(str)) { /* check for only one token */ | ^ ./quant/qtop.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | bool valid_locus_str(str,num,errmsg) /* return TRUE or FALSE */ | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:152: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] 152 | bool valid_locus_str(); /* which of these are obsolete? */ | ^ ./quant/qtop.c:619: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] 619 | if (errmsg==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:621:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | if (nullstr(str)) { | ^ ./quant/qtop.c:625:22: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | } else if (itoken(&str,iREQUIRED,num)) { | ^ ./quant/qtop.c:627:22: warning: passing arguments to 'valid_trait_num' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | if (!valid_trait_num(*num)) { | ^ ./quant/qtop.c:631:20: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | } else if (nullstr(raw.trait_name[*num])) { | ^ ./quant/qtop.c:633:21: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | } else if (!nullstr(str)) { /* check for only one token */ | ^ ./quant/qtop.c:637:21: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | } else if(stoken(&str,sREQUIRED,name)) { | ^ ./quant/qtop.c:640:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | if (nullstr(name)) { strcpy(errmsg,eNOTRAIT); return(FALSE); } | ^ ./quant/qtop.c:642:17: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | if (!valid_name(name)) | ^ ./quant/qtop.c:646:14: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | if (!nullstr(str)) { /* check for only one token */ | ^ ./quant/qtop.c:611:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | bool valid_trait_str(str,num,errmsg) /* return TRUE or FALSE */ | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:197: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] 197 | bool valid_trait_str(); /* args: char *str; int *trait_num; char *error_msg; | ^ ./quant/qtop.c:677: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] 677 | if (errmsg==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:679:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | if (nullstr(str)) { | ^ ./quant/qtop.c:683:22: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | } else if (itoken(&str,iREQUIRED,&match)) { | ^ ./quant/qtop.c:687:21: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | } else if(stoken(&str,sREQUIRED,name)) { | ^ ./quant/qtop.c:690:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | if (nullstr(name)) { strcpy(errmsg,eNOTRAIT); return(FALSE); } | ^ ./quant/qtop.c:692:17: warning: passing arguments to 'valid_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | if (!valid_name(name)) | ^ ./quant/qtop.c:696:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | else if (!nullstr(str)) /* check for only one token */ | ^ ./quant/qtop.c:670:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | bool valid_new_trait_name(str,errmsg) /* return TRUE or FALSE */ | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:205: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] 205 | bool valid_new_trait_name(); /* args: char *str, *error_msg; return TRUE | ^ ./quant/qtop.c:711:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | bool valid_locus_num(num) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:154: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] 154 | bool valid_locus_num(); | ^ ./quant/qtop.c:727:16: warning: passing arguments to 'irange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | { return(irange(&num,0,raw.n_traits-1) && !nullstr(raw.trait_name[num])); } | ^ ./quant/qtop.c:727:51: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | { return(irange(&num,0,raw.n_traits-1) && !nullstr(raw.trait_name[num])); } | ^ ./quant/qtop.c:725:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | bool valid_trait_num(num) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:210: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] 210 | bool valid_trait_num(); /* args: int num; return TRUE if num is a valid trait | ^ ./quant/qtop.c:752:19: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | if (!nullstr(raw.trait_name[i]) && matches(str,raw.trait_name[i])) { | ^ ./quant/qtop.c:752:42: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | if (!nullstr(raw.trait_name[i]) && matches(str,raw.trait_name[i])) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qtop.c:742:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | bool isa_trait_name(str,num,exact) | ^ ./quant/qtop.c:771:11: warning: passing arguments to 'nmatches' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | if (matches(str,raw.locus_name[i])) { | ^ ./lib/strlib.h:85:30: note: expanded from macro 'matches' 85 | #define matches(s,t) nmatches(s,t,1) | ^ ./quant/qtop.c:761:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | bool isa_locus_name(str,num,exact) | ^ ./quant/qtop.c:792:25: warning: passing arguments to 'get_named_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | if (!get_named_entry(str,&seq,&full_name, | ^ ./quant/qtop.c:784:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | bool isa_seq_name(str,num,exact) | ^ ./quant/qtop.c:812:2: 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] 812 | send(BADTRAIT); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qtop.c:805:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | void set_trait_spec(str) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:156: ./quant/qtop.h:202: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] 202 | void set_trait_spec(); /* args: char *str; sets the global vars trait and | ^ ./quant/qtop.c:824:17: warning: passing arguments to 'prepare_data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | prepare_data(map,map_data); | ^ ./quant/qtop.c:825:24: warning: passing arguments to 'initial_qctm_values' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | initial_qctm_values(map_data,map); | ^ ./quant/qtop.c:826:20: warning: passing arguments to 'qtl_conv_to_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | qtl_conv_to_map(map_data,map); | ^ ./quant/qtop.c:819:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | void make_qtl_map(map) | ^ In file included from ./quant/qtop.c:22: In file included from ./quant/qtl.h:152: ./quant/qmap.h:105:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | void make_qtl_map(); /* args: QTL_MAP *map; sets map->trait the runs | ^ 157 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qraw.c -o ./quant/qraw.o ./quant/qraw.c:84:4: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | matrix(make_interval_genotype,MAX_LOCUS_GENOTYPES,MAX_LOCUS_GENOTYPES,int); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:84:4: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:84:4: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:84:4: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:85:4: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | array(left_genotype,MAX_INTERVAL_GENOTYPES,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:85:4: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:86:4: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | array(right_genotype,MAX_INTERVAL_GENOTYPES,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:86:4: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:127:15: warning: passing arguments to 'fgetln_' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | { do { fgetln_(fp); BADDATA_line_num++; } while(nullstr(ln) || ln[0]=='#'); | ^ ./quant/qraw.c:127:56: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | { do { fgetln_(fp); BADDATA_line_num++; } while(nullstr(ln) || ln[0]=='#'); | ^ ./quant/qraw.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void getdataln(fp) /* get next nonblank/noncomment data file line */ | ^ ./quant/qraw.c:40: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] 40 | void getdataln(); | ^ ./quant/qraw.c:155:25: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | if(mapm_loci < 1) error("insufficient genetic data for analysis\n"); | ^ ./quant/qraw.c:157:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | array(map_space,mapm_loci,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:157:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:158:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | array(order,mapm_loci,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:158:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:159:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | array(name, NAME_LEN+1, char); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:159:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:184:8: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | stoken(&ln, sREQUIRED, num_of_chroms); /* get rid of "*Chromosomes:" */ | ^ ./quant/qraw.c:185:8: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | itoken(&ln, iREQUIRED, &num_chrom); | ^ ./quant/qraw.c:187:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | error("no linkage maps saved...QTL cannot use this data yet"); | ^ ./quant/qraw.c:189:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | array(raw.chrom_start,num_chrom,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:189:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:190:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | array(raw.chrom_n_loci,num_chrom,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:190:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:191:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | array(raw.original_locus,mapm_loci,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:191:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:201:12: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | stoken(&ln,sREQUIRED,name); /* keep for named sequence */ | ^ ./quant/qraw.c:202:12: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | itoken(&ln, iREQUIRED, &num_loc); | ^ ./quant/qraw.c:215:21: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | name_sequence(name,ps,&err); /* set chrom names */ | ^ ./quant/qraw.c:224:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | if (nullstr(ln)) getdataln(fpm); | ^ ./quant/qraw.c:225:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | itoken(&ln, iREQUIRED, &loc); | ^ ./quant/qraw.c:238:20: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | name_sequence(name,current_chrom,&err); | ^ ./quant/qraw.c:244:37: warning: passing arguments to 'read_map_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | map_space[k] = read_map_distance(fpm,l); | ^ ./quant/qraw.c:251:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | if (nullstr(ln)) getdataln(fpm); | ^ ./quant/qraw.c:252:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | itoken(&ln, iREQUIRED, &loc); | ^ ./quant/qraw.c:265:20: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | name_sequence(name,current_chrom,&err); | ^ ./quant/qraw.c:273:37: warning: passing arguments to 'read_map_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | map_space[k] = read_map_distance(fpm,l); | ^ ./quant/qraw.c:282:15: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | name_sequence("*all",all_str,&err); | ^ ./quant/qraw.c:287:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | if (!(itoken(&ln,iREQUIRED,&random_check1) && random_check1>0 && | ^ ./quant/qraw.c:288:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | itoken(&ln,iREQUIRED,&n_indivs) && n_indivs>0 && | ^ ./quant/qraw.c:289:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | itoken(&ln,iREQUIRED,&n_loci) && n_loci>0)) | ^ ./quant/qraw.c:290:4: 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] 290 | send(BADDATA); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:292:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | error(OLD_FILENUM); | ^ ./quant/qraw.c:303:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | matrix(raw.locus_name,t_loc,name_len,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:303:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:303:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:303:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:304:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | matrix(raw.locus,n_indivs,t_loc,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:304:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:304:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:304:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:305:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | array(raw.map_dist,t_loc,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:305:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:306:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | matrix(raw.left_cond_prob, n_indivs, t_loc, | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:306:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:306:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:306:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:308:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | matrix(raw.right_cond_prob, n_indivs, t_loc, | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:308:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:308:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:308:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:311:16: warning: passing arguments to 'read_map_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | read_map_locus(fpa,n_indivs,t_loc,order,n_loci); | ^ ./quant/qraw.c:316:8: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | itoken(&ln, iREQUIRED, &random_check2); | ^ ./quant/qraw.c:318:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | error(FILE_MISMATCH); | ^ ./quant/qraw.c:320:8: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | itoken(&ln, iREQUIRED, &n_traits); | ^ ./quant/qraw.c:324:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | matrix(raw.trait,n_indivs,raw.max_traits,real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:324:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:324:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:324:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:325:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | matrix(raw.trait_name,raw.max_traits,name_len,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:325:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:325:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:325:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:326:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | matrix(raw.trait_eqn,raw.max_traits,TRAIT_EQN_LEN+1,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:326:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:326:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:326:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:328:20: warning: passing arguments to 'read_quant_trait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | read_quant_trait(fpb,j,n_indivs); | ^ ./quant/qraw.c:360:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | if (nullstr(ln)) getdataln(fpb); | ^ ./quant/qraw.c:361:13: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | itoken(&ln, iREQUIRED, &loc); | ^ ./quant/qraw.c:369:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | if(nullstr(ln)) getdataln(fpb); | ^ ./quant/qraw.c:370:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | rtoken(&ln, rREQUIRED, &rf); | ^ ./quant/qraw.c:391:13: warning: passing arguments to 'load_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | load_table(context[i]->named_sequences, | ^ ./quant/qraw.c:394:13: warning: passing arguments to 'load_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | load_table(context[i]->sequence_history, | ^ ./quant/qraw.c:404:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qraw.c:135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | void read_data(fpa,fpb,fpm,temp,number_of_file) | ^ In file included from ./quant/qraw.c:21: In file included from ./quant/qtl.h:160: ./quant/qlow.h:164: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] 164 | void read_data(); /* args FILE *fp; char *path; */ | ^ ./quant/qraw.c:417:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:419:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:422:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | sf(ps,"*%-9s",raw.trait_name[i]);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:424:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | if (!nullstr(raw.trait_eqn[i])) | ^ ./quant/qraw.c:425:43: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | { sf(ps," =%s\n",raw.trait_eqn[i]);fpr(fp); } | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:429:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | fprint(fp,WRS("\n ")); | ^ ./quant/qraw.c:430:38: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | sf(ps,"%12.3lf ", raw.trait[j][i]);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:432:6: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | fnl(fp); | ^ ./lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./quant/qraw.c:435:8: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | fprint(fp,WRS("#QTL only variables:\n")); | ^ ./quant/qraw.c:436:51: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | sf(ps,"*Print mapm loci: %d\n", print_mapm_loci);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:437:49: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | sf(ps,"*Like tolerance: %lf\n",like_tolerance);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:438:42: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | sf(ps,"*Brute force: %d\n",brute_force);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:439:46: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | sf(ps,"*Max intervals: %d\n",max_intervals);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:440:58: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | sf(ps,"*Max continuous vars: %d\n",max_continuous_vars);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:441:42: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | sf(ps,"*Max wiggles: %d\n",max_wiggles);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:442:44: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | sf(ps,"*Max compares: %d\n",max_compares);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:443:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | sf(ps,"*Default units: %d\n",units); fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:445:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:452:54: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | sf(ps, "chr%d %d\n", i+1, raw.chrom_n_loci[i]); fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:455:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | fprint(fp,WRS("\n")); | ^ ./quant/qraw.c:456:33: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | sf(ps, "%d ",order[loci_tot]);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:459:6: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | fnl(fp); | ^ ./lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./quant/qraw.c:462:11: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | fprint(fp,WRS("\n")); | ^ ./quant/qraw.c:463:39: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | sf(ps, "%.4lf ",map_space[map_tot]);fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:466:6: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | fnl(fp); | ^ ./lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./quant/qraw.c:468:12: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | fprint(fp,WRS("0\n")); | ^ ./quant/qraw.c:469:12: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | fprint(fp,WRS("0\n")); | ^ ./quant/qraw.c:472:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:474:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:475:2: warning: passing arguments to 'do_fwrite' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | fnl(fp); | ^ ./lib/iolib.h:300:17: note: expanded from macro 'fnl' 300 | #define fnl(fp) fwrite(fp,WRS("\n")) | ^ ./lib/iolib.h:296:34: note: expanded from macro 'fwrite' 296 | #define fwrite(fp,str) (do_fwrite(fp,str)) /* UNIX already has an fwrite() */ | ^ ./quant/qraw.c:477:35: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | sf(ps,"*Context %d\n",i+1); fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:478:35: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | sf(ps,"*Trait: %d\n",trait); fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:480:28: warning: passing arguments to 'count_table_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | count_table_entries(context[i]->named_sequences)); | ^ ./quant/qraw.c:481:6: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:483:16: warning: passing arguments to 'save_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | save_table(context[i]->named_sequences,fp,INDEX_BY_NAME); | ^ ./quant/qraw.c:485:28: warning: passing arguments to 'count_table_entries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | count_table_entries(context[i]->sequence_history)); | ^ ./quant/qraw.c:486:6: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qraw.c:487:16: warning: passing arguments to 'save_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | save_table(context[i]->sequence_history,fp,INDEX_BY_NUMBER); | ^ ./quant/qraw.c:490:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qraw.c:409:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | void save_traitfile(fp) | ^ In file included from ./quant/qraw.c:21: In file included from ./quant/qtl.h:160: ./quant/qlow.h:173: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] 173 | void save_traitfile(); /* command call "store status" */ | ^ ./quant/qraw.c:503:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | matrix(temp_set,n_loci,80,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:503:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:503:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:503:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:521:27: warning: passing arguments to 'ptr_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | self_delimiting = ptr_to(""); | ^ ./quant/qraw.c:522:14: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | if (!stoken(&ln, sREQUIRED, nam)) | ^ ./quant/qraw.c:523:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | { send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:527:18: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | if (nullstr(ln)) getdataln(fp); | ^ ./quant/qraw.c:528:22: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | if (!parse_char(&ln,geno_chars,TRUE,&c)) | ^ ./quant/qraw.c:529: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] 529 | { send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:535:15: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | if (!nullstr(ln)) { send(BADDATA); } | ^ ./quant/qraw.c:535: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] 535 | if (!nullstr(ln)) { send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:495:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | void read_map_locus(fp,indivs,t_loc,order,n_loci) | ^ ./quant/qraw.c:130:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | void read_map_locus(); | ^ ./quant/qraw.c:549:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | if (nullstr(ln)) getdataln(fp); | ^ ./quant/qraw.c:550:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | if (!rtoken(&ln, rREQUIRED, &map_dist)) | ^ ./quant/qraw.c:553:5: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | { why_("bad map distance"); send(BADDATA); } | ^ ./quant/qtl.h:146:26: note: expanded from macro 'why_' 146 | #define why_(str) nstrcpy(BADDATA_error,str,LINE) | ^ ./quant/qraw.c:553:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | { why_("bad map distance"); send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:557:16: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | map_dist= unhaldane_cm(map_dist); | ^ ./quant/qtl.h:89:37: note: expanded from macro 'unhaldane_cm' 89 | #define unhaldane_cm(cm) (unhaldane(cm/100.0)) | ^ ./quant/qraw.c:560:8: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | rrange(&map_dist,MIN_REC_FRAC,MAX_REC_FRAC); | ^ ./quant/qraw.c:543:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | real read_map_distance(fp,num) | ^ ./quant/qraw.c:129:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | real read_map_distance(); | ^ ./quant/qraw.c:576:10: warning: passing arguments to 'stok' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | if (!nstoken(&ln, sREQUIRED, tok, NAME_LEN)) { send(BADDATA); } | ^ ./lib/strlib.h:174:40: note: expanded from macro 'nstoken' 174 | #define nstoken(p_str,def,val,num) stok(p_str,def,val,num,TRUE,NULL) | ^ ./quant/qraw.c:576:52: 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] 576 | if (!nstoken(&ln, sREQUIRED, tok, NAME_LEN)) { send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:578:19: warning: passing arguments to 'parse_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | if (parse_char(&ln,"=",TRUE,&c)) { | ^ ./quant/qraw.c:579:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | if (nullstr(ln)) send(BADDATA); | ^ ./quant/qraw.c:579:19: 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] 579 | if (nullstr(ln)) send(BADDATA); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:580:9: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | nstrcpy(raw.trait_eqn[num],ln,TRAIT_EQN_LEN); | ^ ./quant/qraw.c:585:13: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | if (nullstr(ln)) getdataln(fp); | ^ ./quant/qraw.c:586:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | if (!rtoken(&ln,rREQUIRED,&raw.trait[i][num])) { | ^ ./quant/qraw.c:587:17: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | if (!stoken(&ln,sREQUIRED,tok) || strcmp(tok,"-")) | ^ ./quant/qraw.c:588:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | { send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:592:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | if (!nullstr(ln)) { send(BADDATA); } | ^ ./quant/qraw.c:592:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | if (!nullstr(ln)) { send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:565:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | void read_quant_trait(fp,num,indivs) | ^ ./quant/qraw.c:131: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] 131 | void read_quant_trait(); | ^ ./quant/qraw.c:608:17: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if (!nullstr(raw.file)) free_raw(); | ^ ./quant/qraw.c:612:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | if (!(itoken(&ln,iREQUIRED,&n_indivs) && n_indivs>0 && | ^ ./quant/qraw.c:613:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | itoken(&ln,iREQUIRED,&n_loci) && n_loci>0 && | ^ ./quant/qraw.c:614:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | itoken(&ln,iREQUIRED,&n_traits) && n_traits>0 && | ^ ./quant/qraw.c:615:14: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | itoken(&ln,iREQUIRED,&nam_len) && | ^ ./quant/qraw.c:617:6: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | { why_("bad header or header entries"); | ^ ./quant/qtl.h:146:26: note: expanded from macro 'why_' 146 | #define why_(str) nstrcpy(BADDATA_error,str,LINE) | ^ ./quant/qraw.c:618:6: 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] 618 | send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:628:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | matrix(raw.locus, n_indivs, n_loci, char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:628:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:628:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:628:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:629:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | matrix(raw.locus_name, n_loci, nam_len, char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:629:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:629:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:629:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:630:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | array(raw.map_dist, n_loci, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qraw.c:630:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:632:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | matrix(raw.trait,n_indivs,raw.max_traits,real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:632:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:632:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:632:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:633:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | matrix(raw.trait_name,raw.max_traits,nam_len,char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:633:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:633:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:633:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:634:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | matrix(raw.left_cond_prob, n_indivs, n_loci, LOCUS_GENOTYPE_PROBS); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:634:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:634:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:634:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:635:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | matrix(raw.right_cond_prob, n_indivs, n_loci,LOCUS_GENOTYPE_PROBS); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qraw.c:635:2: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:635:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qraw.c:635:2: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:638:21: warning: passing arguments to 'read_oldmap_locus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | read_oldmap_locus(fp,j,n_indivs); | ^ ./quant/qraw.c:640:23: warning: passing arguments to 'read_oldquant_trait' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | read_oldquant_trait(fp,j,n_indivs); | ^ ./quant/qraw.c:642:23: warning: passing arguments to 'stoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | getdataln(fp); stoken(&ln,sREQUIRED,tok); | ^ ./quant/qraw.c:644:6: warning: passing arguments to 'nstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | { why_("expected 'MAP:'"); send(BADDATA); } | ^ ./quant/qtl.h:146:26: note: expanded from macro 'why_' 146 | #define why_(str) nstrcpy(BADDATA_error,str,LINE) | ^ ./quant/qraw.c:644:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | { why_("expected 'MAP:'"); send(BADDATA); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:646:49: warning: passing arguments to 'read_oldmap_distance' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | for (i=0; i=0.01) { sf(ps,PROBS_NOT_1,i+1,k+1); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qraw.c:792:61: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | if (fabs(right-1.0)>=0.01) { sf(ps,PROBS_NOT_1,i+1,k+2); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qraw.c:824:14: 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] 824 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:835:14: 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] 835 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:846:14: 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] 846 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:848:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | void initial_prob(prob,locus,this_genotype) | ^ ./quant/qraw.c:49: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] 49 | void initial_prob(); | ^ ./quant/qraw.c:861:14: 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] 861 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:871:14: 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] 871 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:881:14: 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] 881 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:883:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:851:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | real pheno_given_geno(observation,genotype) | ^ ./quant/qraw.c:44: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] 44 | real pheno_given_geno(); | ^ ./quant/qraw.c:907:21: warning: passing arguments to 'transition_prob' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | transition_prob(raw.data_type,geno1,geno2,rec_frac); | ^ ./quant/qraw.c:887:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | void condition(prob,locus,prev_locus,observation,rec_frac,side) | ^ ./quant/qraw.c:50: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] 50 | void condition(); | ^ ./quant/qraw.c:930:20: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | case A: return(sq(1.0-theta)); | ^ ./quant/qraw.c:931:20: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | case B: return(sq(theta)); | ^ ./quant/qraw.c:935:20: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | case A: return(sq(theta)); | ^ ./quant/qraw.c:936:20: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | case B: return(sq(1.0-theta)); | ^ ./quant/qraw.c:942:20: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | case H: return(sq(theta)+sq(1.0-theta)); | ^ ./quant/qraw.c:942:30: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | case H: return(sq(theta)+sq(1.0-theta)); | ^ ./quant/qraw.c:948:12: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | C2= 0.5*sq(1.0-theta); | ^ ./quant/qraw.c:949:12: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | D2= 0.5*sq(theta); | ^ ./quant/qraw.c:951:8: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | F2= sq(1.0-theta); | ^ ./quant/qraw.c:952:8: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | G2= sq(theta); | ^ ./quant/qraw.c:954:27: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | C3= C2 + 0.5*E2 + 0.25*sq(1.0-theta)*F2 + 0.25*sq(theta)*G2; | ^ ./quant/qraw.c:954:51: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | C3= C2 + 0.5*E2 + 0.25*sq(1.0-theta)*F2 + 0.25*sq(theta)*G2; | ^ ./quant/qraw.c:955:27: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | D3= D2 + 0.5*E2 + 0.25*sq(theta)*F2 + 0.25*sq(1.0-theta)*G2; | ^ ./quant/qraw.c:955:47: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | D3= D2 + 0.5*E2 + 0.25*sq(theta)*F2 + 0.25*sq(1.0-theta)*G2; | ^ ./quant/qraw.c:957:12: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | F3= 0.5*sq(1.0-theta)*F2 + 0.5*sq(theta)*G2; | ^ ./quant/qraw.c:957:35: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | F3= 0.5*sq(1.0-theta)*F2 + 0.5*sq(theta)*G2; | ^ ./quant/qraw.c:958:12: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | G3= 0.5*sq(theta)*F2 + 0.5*sq(1.0-theta)*G2; | ^ ./quant/qraw.c:958:31: warning: passing arguments to 'sq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | G3= 0.5*sq(theta)*F2 + 0.5*sq(1.0-theta)*G2; | ^ ./quant/qraw.c:967:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:975:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:984:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:986: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] 986 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:1055:12: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | } else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qraw.c:915:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | real transition_prob(data_type,geno_was,geno_is,theta) | ^ In file included from ./quant/qraw.c:21: In file included from ./quant/qtl.h:160: ./quant/qlow.h:169: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] 169 | real transition_prob(); /* args: int data_type, left, right; real theta;*/ | ^ ./quant/qraw.c:1073:18: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | else total_cm+= haldane_cm(raw.map_dist[i]); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qraw.c:1076:15: warning: passing arguments to 'unhaldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | total_rf= unhaldane_cm(total_cm); | ^ ./quant/qtl.h:89:37: note: expanded from macro 'unhaldane_cm' 89 | #define unhaldane_cm(cm) (unhaldane(cm/100.0)) | ^ ./quant/qraw.c:1077:11: warning: passing arguments to 'rrange' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | rrange(&total_rf,MIN_REC_FRAC,MAX_REC_FRAC); | ^ ./quant/qraw.c:1060:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | real map_length(left,right) /* return rf dist from left to right */ | ^ In file included from ./quant/qraw.c:21: In file included from ./quant/qtl.h:160: ./quant/qlow.h:168: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] 168 | real map_length(); /* args: int left_locus, right_locus; */ | ^ ./quant/qraw.c:1103:22: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | if(sum == 0.0) print("sum = 0\n"); | ^ ./quant/qraw.c:1082:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | void indiv_interval_probs(prob,data_indiv_num,raw_indiv_num,left_locus_num, | ^ In file included from ./quant/qraw.c:21: In file included from ./quant/qtl.h:160: ./quant/qlow.h:171: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] 171 | void indiv_interval_probs(); /* args: INTERVAL_GENOTYPE_PROBS *prob; | ^ ./quant/qraw.c:1109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | real apriori_prob(data_type,geno) | ^ In file included from ./quant/qraw.c:21: In file included from ./quant/qtl.h:160: ./quant/qlow.h:170: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] 170 | real apriori_prob(); /* args: int data_type, geno; */ | ^ ./quant/qraw.c:1125:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | print("The linkage map data in the '.data' file has been altered since its\n"); | ^ ./quant/qraw.c:1126:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1126 | print("last usage. The saved scan results and saved names are obsolete and\n"); | ^ ./quant/qraw.c:1127:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | print("will not be loaded.\n"); | ^ 309 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qprint.c -o ./quant/qprint.o ./quant/qprint.c:83:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | if (print_names && raw.data_type==INTERCROSS) print(LONG_MAP_DIVIDER); | ^ ./quant/qprint.c:84:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | else print(MAP_DIVIDER); | ^ ./quant/qprint.c:99:16: warning: passing arguments to 'map_printer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | map_printer(map,print_genetics); nl(); | ^ ./quant/qprint.c:99:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | map_printer(map,print_genetics); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:101:75: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | sf(ps,LIKE_LINE,map->chi_sq,df_per*map->num_intervals,map->log_like); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:102:69: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | sf(ps,VAR_LINE,map->mu,map->sigma_sq,map->var_explained*100.0); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void print_qtl_map(map,free_genetics) /* has CONT_VAR hooks */ | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:388: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] 388 | void print_qtl_map(); | ^ ./quant/qprint.c:119:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | print_names ? " ":""); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:120:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if (print_genetics) print(GENETICS_TITLE); | ^ ./quant/qprint.c:121:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | print(WEIGHT_TITLE); | ^ ./quant/qprint.c:122:38: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | if (raw.data_type==INTERCROSS) print(DOM_TITLE); | ^ ./quant/qprint.c:123:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:126:29: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | sf(ps,INT_LINE,interval_str(map->left[i],map->right[i],TRUE), | ^ ./quant/qprint.c:127:13: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | dist_str(map->interval_len[i],FALSE), | ^ ./quant/qprint.c:128:13: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | dist_str(map->qtl_pos[i],FALSE)); pr(); | ^ ./quant/qprint.c:128:39: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | dist_str(map->qtl_pos[i],FALSE)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:130:40: warning: passing arguments to 'genetics_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | sf(ps,GENETICS_FORMAT,genetics_str(&map->constraint[i],FALSE)); | ^ ./quant/qprint.c:131:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:133:25: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | sf(ps,WEIGHT_FORMAT,rsn(7.5,map->qtl_weight[i])); pr(); | ^ ./quant/qprint.c:133:52: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | sf(ps,WEIGHT_FORMAT,rsn(7.5,map->qtl_weight[i])); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:135:26: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | { sf(ps,DOM_FORMAT,rsn(7.5,map->qtl_dominance[i])); pr(); } | ^ ./quant/qprint.c:135:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | { sf(ps,DOM_FORMAT,rsn(7.5,map->qtl_dominance[i])); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:136:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:140:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (map->num_intervals>0) nl(); /* divider line */ | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:141:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | print(CV_TITLE); | ^ ./quant/qprint.c:148:32: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | sf(ps,CV_LINE,trait_string,rsn(7.5,map->cont_var_weight[i])); pr(); | ^ ./quant/qprint.c:148:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | sf(ps,CV_LINE,trait_string,rsn(7.5,map->cont_var_weight[i])); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | void map_printer(map,print_genetics) | ^ ./quant/qprint.c:27: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] 27 | void map_printer(); | ^ ./quant/qprint.c:155:64: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | sf(ps,INT_TITLE_LINE," ",print_names ? " ":""); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:156:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | print(WEIGHT_TITLE); | ^ ./quant/qprint.c:157:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | if (raw.data_type==INTERCROSS) print(DOM_TITLE); | ^ ./quant/qprint.c:158:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | print(LOD_TITLE); | ^ ./quant/qprint.c:159:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:170:32: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | sf(ps,INT_LINE,interval_str(map->left[last],map->right[last],TRUE), | ^ ./quant/qprint.c:171:16: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | dist_str(map->interval_len[last],FALSE), | ^ ./quant/qprint.c:172:16: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | dist_str(map->qtl_pos[last],FALSE)); pr(); | ^ ./quant/qprint.c:172:45: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | dist_str(map->qtl_pos[last],FALSE)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:173:28: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | sf(ps,WEIGHT_FORMAT,rsn(7.5,map->qtl_weight[last])); pr(); | ^ ./quant/qprint.c:173:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | sf(ps,WEIGHT_FORMAT,rsn(7.5,map->qtl_weight[last])); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:175:29: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | { sf(ps,DOM_FORMAT,rsn(7.5,map->qtl_dominance[last])); pr(); } | ^ ./quant/qprint.c:175:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | { sf(ps,DOM_FORMAT,rsn(7.5,map->qtl_dominance[last])); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:176:63: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | sf(ps,LOD_FORMAT,map->var_explained*100.0,map->log_like); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:180:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | for (i=0; ileft[i],map->right[i],FALSE), | ^ ./quant/qprint.c:308:24: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | dist_str(map_length(map->left[i],map->right[i]),FALSE), | ^ ./quant/qprint.c:308:13: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | dist_str(map_length(map->left[i],map->right[i]),FALSE), | ^ ./quant/qprint.c:309:14: warning: passing arguments to 'units_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | units_str(FALSE)); | ^ ./quant/qprint.c:311:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:295:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | void print_wiggle_interval(map) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:394: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] 394 | void print_wiggle_interval(); /* args: QTL_MAP *map; */ | ^ ./quant/qprint.c:321:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | if (map==NULL || scale<=0.0) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:325:35: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | sf(ps,B1_WIGGLE_MAP,dist_str(map->qtl_pos[i],TRUE), | ^ ./quant/qprint.c:326:6: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | rsn(6.3,map->qtl_weight[i]), | ^ ./quant/qprint.c:327:31: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | map->var_explained*100.0,rsd(7.3,map->log_like)); | ^ ./quant/qprint.c:329:35: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | sf(ps,F2_WIGGLE_MAP,dist_str(map->qtl_pos[i],TRUE), | ^ ./quant/qprint.c:330:9: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | rsn(6.3,map->qtl_weight[i]),rsn(6.3,map->qtl_dominance[i]), | ^ ./quant/qprint.c:330:37: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | rsn(6.3,map->qtl_weight[i]),rsn(6.3,map->qtl_dominance[i]), | ^ ./quant/qprint.c:331:34: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | map->var_explained*100.0,rsd(7.3,map->log_like)); | ^ ./quant/qprint.c:332:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:335:13: warning: passing arguments to 'iminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | stars=iminf((int)((map->log_like-base_like+scale+0.001)/scale), | ^ ./quant/qprint.c:337:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | for (j=0; j=num_wiggles || (op=wiggles[wiggle])==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:403:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | print(ORD_LIST_TITLE); | ^ ./quant/qprint.c:407:17: warning: passing arguments to 'genetics_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | genetics_str(&op->data[i][0]->map->constraint[k],FALSE), | ^ ./quant/qprint.c:408:17: warning: passing arguments to 'left_seq_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | left_seq_str(op->data[i][0]->map)); | ^ ./quant/qprint.c:409:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | void print_saved_wiggle(wiggle) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:399: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] 399 | void print_saved_wiggle(); | ^ ./quant/qprint.c:424:60: 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] 424 | if (wiggle>=num_wiggles || (op=wiggles[wiggle])==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:426:7: 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] 426 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:431:62: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | if (i>0 && !data[i]->contig) { print_wiggle_interval(NULL); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:436:36: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | sf(ps,B1_WIGGLE_MAP,dist_str(point->qtl_pos,TRUE), | ^ ./quant/qprint.c:437:7: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | rsn(6.3,point->qtl_weight),point->var_explained*100.0, | ^ ./quant/qprint.c:438:7: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | rsd(7.3,point->lod_score)); | ^ ./quant/qprint.c:440:36: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | sf(ps,F2_WIGGLE_MAP,dist_str(point->qtl_pos,TRUE), | ^ ./quant/qprint.c:441:7: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | rsn(6.3,point->qtl_weight),rsn(6.3,point->qtl_dominance), | ^ ./quant/qprint.c:441:34: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | rsn(6.3,point->qtl_weight),rsn(6.3,point->qtl_dominance), | ^ ./quant/qprint.c:442:34: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | point->var_explained*100.0,rsd(7.3,point->lod_score)); | ^ ./quant/qprint.c:443:6: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:446:9: warning: passing arguments to 'iminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | iminf((int)((point->lod_score-base_like+scale+0.001)/scale), | ^ ./quant/qprint.c:448:32: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | for (k=0; kbackward_left,peak->backward_right,FALSE); | ^ ./quant/qprint.c:474:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | sf(ps,PEAK_NOBOUND,i); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:476:16: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | i=interval_str(peak->backward_left,peak->backward_right,FALSE); | ^ ./quant/qprint.c:477:29: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | sf(ps,PEAK_BOUND,i,dist_str(peak->backward_pos,FALSE)); pr(); | ^ ./quant/qprint.c:477:58: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | sf(ps,PEAK_BOUND,i,dist_str(peak->backward_pos,FALSE)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:479:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | print(PEAK_R_CONF); | ^ ./quant/qprint.c:481:16: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | i=interval_str(peak->forward_left,peak->forward_right,FALSE); | ^ ./quant/qprint.c:482:25: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | sf(ps,PEAK_NOBOUND,i); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:484:16: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | i=interval_str(peak->forward_left,peak->forward_right,FALSE); | ^ ./quant/qprint.c:485:29: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | sf(ps,PEAK_BOUND,i,dist_str(peak->forward_pos,FALSE)); pr(); | ^ ./quant/qprint.c:485:57: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | sf(ps,PEAK_BOUND,i,dist_str(peak->forward_pos,FALSE)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:487:5: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:488:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | if (peak->map==NULL) send(CRASH); /* KLUDGE for now */ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | void print_peak(peak,num) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:402: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] 402 | void print_peak(); /* arg: WIGGLE_PEAK *peak; */ | ^ ./quant/qprint.c:532:16: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | dist_str(point[FREE]->qtl_pos,TRUE), | ^ ./quant/qprint.c:533:11: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | rsn(6.3,point[FREE]->qtl_weight), | ^ ./quant/qprint.c:534:11: warning: passing arguments to 'rsn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | rsn(6.3,point[FREE]->qtl_dominance), | ^ ./quant/qprint.c:536:11: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | rsd(6.2,point[FREE]->lod_score)); pr(); | ^ ./quant/qprint.c:536:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | rsd(6.2,point[FREE]->lod_score)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:540:11: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | rsd(6.2,point[DOMINANT]->lod_score-lod), | ^ ./quant/qprint.c:542:11: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | rsd(6.2,point[RECESSIVE]->lod_score-lod), | ^ ./quant/qprint.c:544:11: warning: passing arguments to 'rsd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | rsd(6.2,point[ADDITIVE]->lod_score-lod), | ^ ./quant/qprint.c:545:48: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | (lod+0.00499>=threshold ? "*\n":"\n")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:525:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | void print_test_wiggle_map(point,threshold) | ^ ./quant/qprint.c:26: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] 26 | void print_test_wiggle_map(); | ^ ./quant/qprint.c:553:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | print(TEST_WIGGLE_DIVIDER); nl(); | ^ ./quant/qprint.c:553:33: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | print(TEST_WIGGLE_DIVIDER); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:558:20: warning: passing arguments to 'interval_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | interval_str(map->left[last],map->right[last],FALSE), | ^ ./quant/qprint.c:559:16: warning: passing arguments to 'dist_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | dist_str(map->interval_len[last],FALSE),units_str(FALSE)); pr(); | ^ ./quant/qprint.c:559:57: warning: passing arguments to 'units_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | dist_str(map->interval_len[last],FALSE),units_str(FALSE)); pr(); | ^ ./quant/qprint.c:559:67: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | dist_str(map->interval_len[last],FALSE),units_str(FALSE)); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:560:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | for (i=len(ps);i<77; i++) print(" "); | ^ ./quant/qprint.c:561:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | print("|\n"); print(TEST_WIGGLE_DIVIDER); nl(); | ^ ./quant/qprint.c:561:24: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | print("|\n"); print(TEST_WIGGLE_DIVIDER); nl(); | ^ ./quant/qprint.c:561:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | print("|\n"); print(TEST_WIGGLE_DIVIDER); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:549:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | void print_test_wiggle_interval(map) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:409: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] 409 | void print_test_wiggle_interval(); /* args: QTL_MAP *map; */ | ^ ./quant/qprint.c:566:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | { print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_TITLE); nl(); | ^ ./quant/qprint.c:566:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | { print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_TITLE); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:566:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | { print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_TITLE); nl(); | ^ ./quant/qprint.c:566:63: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | { print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_TITLE); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:567:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_HEADER1); nl(); | ^ ./quant/qprint.c:567:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_HEADER1); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:567:42: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_HEADER1); nl(); | ^ ./quant/qprint.c:567:65: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | print(TEST_WIGGLE_DIVIDER); nl(); print(TEST_WIGGLE_HEADER1); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:568:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | print(TEST_WIGGLE_HEADER2); nl(); } | ^ ./quant/qprint.c:568:31: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | print(TEST_WIGGLE_HEADER2); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:581:60: 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] 581 | if (wiggle>=num_wiggles || (op=wiggles[wiggle])==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:583:7: 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] 583 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:589:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | { print_test_wiggle_interval(NULL); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:571:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | void print_test_wiggle_order(wiggle,order,threshold) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:410: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] 410 | void print_test_wiggle_order(); /* args: int wiggle, order; real thresh;*/ | ^ ./quant/qprint.c:607:73: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | { sf(ps,"QTL map%s for trait %s:\n",maybe_s(for_num_maps),trait_str()); pr(); } | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:605:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | void print_trait(for_num_maps) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:418: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] 418 | void print_trait(); /* arg: int for_how_many_traits; */ | ^ ./quant/qprint.c:611:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | { print("Sequence: "); print(ints_string); nl(); } | ^ ./quant/qprint.c:611:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | { print("Sequence: "); print(ints_string); nl(); } | ^ ./quant/qprint.c:611:44: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | { print("Sequence: "); print(ints_string); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:616:8: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | { print("Sequence: "); print(str); nl(); } | ^ ./quant/qprint.c:616:29: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | { print("Sequence: "); print(str); nl(); } | ^ ./quant/qprint.c:616:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | { print("Sequence: "); print(str); nl(); } | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:614:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | void print_old_seq(str) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:420: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] 420 | void print_old_seq(); /* args: char *seq_string; */ | ^ ./quant/qprint.c:638:22: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | if (fill) pad_to_len(str,print_names ? 21:9); | ^ ./quant/qprint.c:644:22: warning: passing arguments to 'pad_to_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | if (fill) pad_to_len(str,print_names ? 21:9); | ^ ./quant/qprint.c:627:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | char *interval_str(left,right,fill) | ^ ./quant/qprint.c:23:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | char *interval_str(); | ^ ./quant/qprint.c:656:29: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | if (fill) sf(str,"%-5.1lf",haldane_cm(rec_frac)); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qprint.c:657:26: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | else sf(str,"%-3.1lf",haldane_cm(rec_frac)); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qprint.c:649:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | char *dist_str(rec_frac,fill) /* Always takes 5 spaces */ | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:415:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 415 | char *dist_str(); | ^ ./quant/qprint.c:665:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | char *units_str(fill) /* Takes 5 spaces, if fill, 2 otherwise */ | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:416:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 416 | char *units_str(); | ^ ./quant/qprint.c:703:33: warning: data argument not used by format string [-Wformat-extra-args] 702 | else sf(str,"constraints: A=%-4.2lf B=%-4.2lf C=-4.2lf", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 703 | genetics->a,genetics->b,genetics->c); | ^ ./quant/qprint.c:710:13: 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] 710 | default: send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:713:10: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | else send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:678:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | char *genetics_str(genetics,verbose) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:412:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 412 | char *genetics_str(); /* args: GENETICS *ptr; bool verbose; */ | ^ ./quant/qprint.c:729:15: warning: passing arguments to 'strins' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | else strins(genetics," :"); | ^ ./quant/qprint.c:733:11: warning: passing arguments to 'maxstrcat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | maxstrcat(str,qtl,TEMP_STRING_LEN); | ^ ./quant/qprint.c:718:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | char *left_seq_str(map) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:414:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 414 | char *left_seq_str(); /* args: QTL_MAP *map; */ | ^ ./quant/qprint.c:764:50: 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] 764 | if (map==NULL || map->num_continuous_vars>0) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:773:16: warning: passing arguments to 'imaxf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | right=imaxf(5+columns,15); | ^ ./quant/qprint.c:776:41: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | sf(ps,TINY_TITLE1,n_ints>1 ? "S":" "); pr(); to_column(right); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:776:56: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | sf(ps,TINY_TITLE1,n_ints>1 ? "S":" "); pr(); to_column(right); | ^ ./quant/qprint.c:777:60: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | sf(ps,TINY_TITLE2,(offset>0.0 ? "LIKE-DIFF":"LOG-LIKE")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:780:27: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | sf(ps,TINY_LINE1,num+1); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:783:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | print(interval); print(" "); | ^ ./quant/qprint.c:783:28: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | print(interval); print(" "); | ^ ./quant/qprint.c:785:13: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | print("\n "); | ^ ./quant/qprint.c:787:11: warning: passing arguments to 'to_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | to_column(right); | ^ ./quant/qprint.c:788:67: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | sf(ps,TINY_LINE2,map->var_explained*100.0,map->log_like-offset); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:756:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | void print_tiny_map(map,num,offset) /* unused, and broken */ | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:391: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] 391 | void print_tiny_map(); /* unused and broken */ | ^ ./quant/qprint.c:806:56: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | sf(ps,COMP_LIST_TITLE,(print_names ? " ":"")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:808:32: 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] 808 | if ((op=compares[i]) == NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:817:2: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:838:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | array(like_list,raw.n_loci,real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qprint.c:838:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:839:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | array(like_index,raw.n_loci,int); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qprint.c:839:2: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:841:36: 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] 841 | if ((op=compares[compare])==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:869:68: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | sf(ps,GOOD_MAPS_TITLE,(falloff<0.0 ? "threshold minus ":"")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:878:47: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | sf(ps,COMP_MAP_TOP,i+1,map->log_like-best); pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:878:53: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | sf(ps,COMP_MAP_TOP,i+1,map->log_like-best); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:883:30: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | if (good_maps_printed) nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:885:50: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | (falloff<0.0 ? "threshold minus ":"")); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:896:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qprint.c:826:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | void print_best_saved_maps(compare,contig,threshold,falloff) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:406: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] 406 | void print_best_saved_maps(); | ^ ./quant/qprint.c:912:39: 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] 912 | if ((op=compares[compare])==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qprint.c:922:34: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | sf(ps,SAVED_BEST_LIKE,best); pr(); nl(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qprint.c:922:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | sf(ps,SAVED_BEST_LIKE,best); pr(); nl(); | ^ ./lib/iolib.h:100:19: note: expanded from macro 'nl' 100 | #define nl() print("\n") | ^ ./quant/qprint.c:904:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | void print_saved_maps(compare,contig) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:405: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] 405 | void print_saved_maps(); | ^ ./quant/qprint.c:936:40: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | if (raw.data_type==BACKCROSS) print("Enter weight for QTL(s):\n"); | ^ ./quant/qprint.c:937:15: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | else print("Enter weight and dominance for QTL(s):\n"); | ^ ./quant/qprint.c:939:7: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | print(interval_str(map->left[i],map->right[i],FALSE)); | ^ ./quant/qprint.c:940:7: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | getln(": "); | ^ ./quant/qprint.c:941:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | if (!rtoken(&ln,rREQUIRED,&map->qtl_weight[i])) error("bad weight!"); | ^ ./quant/qprint.c:941:55: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | if (!rtoken(&ln,rREQUIRED,&map->qtl_weight[i])) error("bad weight!"); | ^ ./quant/qprint.c:943:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | !rtoken(&ln,rREQUIRED,&map->qtl_dominance[i]))error("bad weight!"); | ^ ./quant/qprint.c:943:57: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | !rtoken(&ln,rREQUIRED,&map->qtl_dominance[i]))error("bad weight!"); | ^ ./quant/qprint.c:945:10: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | print("Enter weight for cont-vars:\n"); | ^ ./quant/qprint.c:949:7: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | getln(ps); | ^ ./quant/qprint.c:950:13: warning: passing arguments to 'rtoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | if (!rtoken(&ln,rREQUIRED,&map->cont_var_weight[i])) | ^ ./quant/qprint.c:951:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | error("bad weight!"); | ^ ./quant/qprint.c:931:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | void get_fixed_qtl_weights(map) | ^ In file included from ./quant/qprint.c:21: In file included from ./quant/qtl.h:156: ./quant/qtop.h:422: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] 422 | void get_fixed_qtl_weights(); /* args: QTL_MAP *map; */ | ^ 279 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qcontext.c -o ./quant/qcontext.o ./quant/qcontext.c:29:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | parray(context,MAX_CONTEXTS,STATUS_CONTEXT); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qcontext.c:29:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcontext.c:29:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qcontext.c:29:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qcontext.c:34:18: warning: passing arguments to 'allocate_context' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | allocate_context(context[0]); | ^ ./quant/qcontext.c:37:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qcontext.c:51:18: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | allocate_table(MAX_HISTORY_SEQS,SEQ_LEN,CANT_EXPAND,INDEX_BY_NUMBER); | ^ ./quant/qcontext.c:54:22: warning: passing arguments to 'allocate_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | names=allocate_table(MAX_NAMED_SEQS,SEQ_LEN,EXPANDS_BY(MAX_NAMED_SEQS), | ^ ./quant/qcontext.c:58:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | relay_messages; | ^ ./lib/msglib.h:201:30: note: expanded from macro 'relay_messages' 201 | #define relay_messages sender(msg) /* nicer syntax than relay for this */ | ^ ./quant/qcontext.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 allocate_context(con) | ^ In file included from ./quant/qcontext.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:83:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | void allocate_context(); | ^ ./quant/qcontext.c:65:15: warning: passing arguments to 'free_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | free_table(con->named_sequences); | ^ ./quant/qcontext.c:66:15: warning: passing arguments to 'free_table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | free_table(con->sequence_history); | ^ ./quant/qcontext.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | void free_context(con) | ^ In file included from ./quant/qcontext.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:88:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | void free_context(); | ^ ./quant/qcontext.c:70:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | bool change_context(new_context) | ^ In file included from ./quant/qcontext.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:85:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | bool change_context(); | ^ ./quant/qcontext.c:84:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | bool create_new_context(new_context) | ^ In file included from ./quant/qcontext.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:86:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | bool create_new_context(); | ^ ./quant/qcontext.c:107:23: warning: passing arguments to 'name_sequence' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if(!name_sequence(Te->id.name,Te->string,&err)) | ^ ./quant/qcontext.c:108:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | error(err); | ^ ./quant/qcontext.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 kill_context(con,save_it) | ^ In file included from ./quant/qcontext.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:87:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | void kill_context(); | ^ 23 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qwiggle.c -o ./quant/qwiggle.o ./quant/qwiggle.c:55: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] 55 | if (raw.data_type==NO_DATA) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:59:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | parray(wiggles,n_wiggles,WIGGLE_OPERATION); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qwiggle.c:59:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:59:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qwiggle.c:59:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:63:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | parray(compares,n_compares,COMPARE_OPERATION); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qwiggle.c:63:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:63:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qwiggle.c:63:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:75:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | } except_when(NOMEMORY) { | ^ ./lib/msglib.h:136:52: note: expanded from macro 'except_when' 136 | while(--lvl>10000); } else if (msg!=num) { sender(msg); } else | ^ ./quant/qwiggle.c:84:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void allocate_qtl_struct(n_wiggles,n_compares) /* allocate globals */ | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:311: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] 311 | void allocate_qtl_struct(); /* args: int n_wiggles, n_compares; Allocates | ^ ./quant/qwiggle.c:131:38: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | wiggles[n]->seq_string= mkstrcpy(seq_str); | ^ ./quant/qwiggle.c:133:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | matrix(wiggles[n]->data,n_orders,n_wiggled,WIGGLE_INTERVAL*); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qwiggle.c:133:6: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:133:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qwiggle.c:133:6: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:135:3: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | single(wiggles[n]->data[i][j],WIGGLE_INTERVAL); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qwiggle.c:135:3: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:140:41: warning: passing arguments to 'bash_wiggle_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | } when_aborting { bash_wiggle_struct(n); relay; } | ^ ./quant/qwiggle.c:140:46: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | } when_aborting { bash_wiggle_struct(n); relay; } | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:91:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | int allocate_wiggle_struct(trait,seq,seq_str,n_intervals,n_orders,n_wiggled) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:316: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] 316 | int allocate_wiggle_struct(); /* args: int trait; QTL_SEQUENCE *seq; | ^ ./quant/qwiggle.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | void bash_wiggle_struct(n) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:338: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] 338 | void bash_wiggle_struct(); /* args: int index; This kills the wiggle struct | ^ ./quant/qwiggle.c:177:53: 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] 177 | (op=wiggles[wiggle_num])->data==NULL || map==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:181:57: 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] 181 | if (prev==NULL || prev->point_num!=prev->num_points-1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:186:39: 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] 186 | if (op->order>=op->num_orders-1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:187:60: 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] 187 | if (op->wiggle_interval!=op->num_wiggled_intervals-1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:191:56: 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] 191 | if (op->wiggle_interval>=op->num_wiggled_intervals-1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:196:42: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | data=op->data[i][j]; if (data==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:200:26: warning: passing arguments to 'alloc_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | data->map= alloc_qtl_map(map->num_intervals,map->num_continuous_vars); | ^ ./quant/qwiggle.c:201:8: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | mapcpy(data->map,map); | ^ ./quant/qwiggle.c:207:36: warning: passing arguments to 'map_length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | interval_cm= haldane_cm(map_length(map->left[k],map->right[k])); | ^ ./quant/qwiggle.c:207:15: warning: passing arguments to 'haldane' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | interval_cm= haldane_cm(map_length(map->left[k],map->right[k])); | ^ ./quant/qtl.h:88:43: note: expanded from macro 'haldane_cm' 88 | #define haldane_cm(theta) (100.0 * haldane(theta)) | ^ ./quant/qwiggle.c:210:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | parray(data->point,data->num_points,WIGGLE_POINT); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qwiggle.c:210:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:210:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qwiggle.c:210:2: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:215:14: warning: passing arguments to 'free_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | free_qtl_map(data->map); | ^ ./quant/qwiggle.c:218:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:161:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | void store_wiggle_interval(wiggle_num,map,new_left_order,contig,cm_step) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:326: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] 326 | void store_wiggle_interval(); /* args: int wiggle_num; QTL_MAP *map; | ^ ./quant/qwiggle.c:273:53: 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] 273 | (op=wiggles[wiggle_num])->data==NULL || map==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:276:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | if (data==NULL || data->map==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:277:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | if (data->point_num>=data->num_points-1) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:292:35: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | { data->best_point=i; mapcpy(data->map,map); } | ^ ./quant/qwiggle.c:262:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | void store_wiggle_point(wiggle_num,map) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:334: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] 334 | void store_wiggle_point(); /* int wiggle_num; QTL_MAP *map; Stores the | ^ ./quant/qwiggle.c:332:39: warning: passing arguments to 'mkstrcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | compares[n]->seq_string= mkstrcpy(seq_str); | ^ ./quant/qwiggle.c:333:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | parray(compares[n]->data,n_orders,COMPARE_DATA); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qwiggle.c:333:6: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:333:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qwiggle.c:333:6: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:335:42: warning: passing arguments to 'bash_compare_struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | } when_aborting { bash_compare_struct(n); relay; } | ^ ./quant/qwiggle.c:335:47: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | } when_aborting { bash_compare_struct(n); relay; } | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:300:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | int allocate_compare_struct(trait,seq,seq_str,n_intervals,n_orders) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:343: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] 343 | int allocate_compare_struct(); /* args: int trait; QTL_SEQUENCE *seq; | ^ ./quant/qwiggle.c:344:17: warning: passing arguments to 'free_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | free_qtl_map(compares[n]->data[0]->map); | ^ ./quant/qwiggle.c:340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | void bash_compare_struct(n) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:347: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] 347 | void bash_compare_struct(); /* args: int n; like bash_wiggle_struct(). */ | ^ ./quant/qwiggle.c:369:55: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | (op=compares[compare_num])->data==NULL || map==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:372:46: 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] 372 | i=(op->order+=1); if (i>=op->num_orders) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:373:39: 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] 373 | data=op->data[i]; if (data==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:378:26: warning: passing arguments to 'alloc_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | data->map= alloc_qtl_map(map->num_intervals,map->num_continuous_vars); | ^ ./quant/qwiggle.c:379:8: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | mapcpy(data->map,map); | ^ ./quant/qwiggle.c:382:14: warning: passing arguments to 'free_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | free_qtl_map(data->map); | ^ ./quant/qwiggle.c:384:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:418:29: warning: passing arguments to 'free_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | if (wig!=NULL) free_qtl_map(wig->map); | ^ ./quant/qwiggle.c:420:2: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:357:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | void store_compare_map(compare_num,map,contig) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:349: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] 349 | void store_compare_map(); /* args: int compare_num; QTL_MAP *map; | ^ ./quant/qwiggle.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | bool step(interval,point,contig,wig,n_intervals,forwards) | ^ ./quant/qwiggle.c:29: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] 29 | bool step(); | ^ ./quant/qwiggle.c:474:7: 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] 474 | send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:493:22: warning: passing arguments to 'peak_finder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | peak=peak_finder(&peak_i,&peak_j,&off_end,get_peak_maps, | ^ ./quant/qwiggle.c:514:18: warning: passing arguments to 'peak_finder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | peak=peak_finder(&peak_i,&peak_j,&off_end,get_peak_maps, | ^ ./quant/qwiggle.c:457:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | WIGGLE_PEAK *find_wiggle_peaks(wiggle_num,left_order_num,threshold,qtl_falloff, | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:381: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] 381 | WIGGLE_PEAK *find_wiggle_peaks(); | ^ ./quant/qwiggle.c:572:2: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | single(peak,WIGGLE_PEAK); | ^ ./lib/memlib.h:81:35: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qwiggle.c:572:2: 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] ./lib/memlib.h:81:63: note: expanded from macro 'single' 81 | { var=NULL; if ((var=(cell*)xalloc(REALLY_1,xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:601:27: warning: passing arguments to 'alloc_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | peak->map= alloc_qtl_map(wig[peak_i]->map->num_intervals, | ^ ./quant/qwiggle.c:604:9: warning: passing arguments to 'mapcpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | mapcpy(peak->map,wig[peak_i]->map); | ^ ./quant/qwiggle.c:606:13: warning: passing arguments to 'temp_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | temp_print("Calculating QTL map..."); | ^ ./quant/qwiggle.c:607:15: warning: passing arguments to 'make_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | make_qtl_map(peak->map); | ^ ./quant/qwiggle.c:608:13: warning: passing arguments to 'temp_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | temp_print(NULL); | ^ ./quant/qwiggle.c:612:40: warning: passing arguments to 'free_wiggle_peaks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | } when_aborting { free_wiggle_peaks(peak); relay; } | ^ ./quant/qwiggle.c:612:48: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | } when_aborting { free_wiggle_peaks(peak); relay; } | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:524:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | WIGGLE_PEAK *peak_finder(interval,point,off_end,get_peak_maps,wig,n_intervals, | ^ ./quant/qwiggle.c:30: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] 30 | WIGGLE_PEAK *peak_finder(); | ^ ./quant/qwiggle.c:622:50: warning: passing arguments to 'free_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | if (p->free_map && p->map!=NULL) free_qtl_map(map); | ^ ./quant/qwiggle.c:617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | void free_wiggle_peaks(p) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:384: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] 384 | void free_wiggle_peaks(); /* args: WIGGLE_PEAK *peaks; */ | ^ ./quant/qwiggle.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | bool isa_test_wiggle(wiggle_num) | ^ ./quant/qwiggle.c:655:30: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | if (num_wiggles==0) error(NO_WIGGLES); | ^ ./quant/qwiggle.c:656:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | if (nullstr(str)) { *wiggle= *order= -1; return; } | ^ ./quant/qwiggle.c:658:21: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | if ((i=strfinder(str,'.'))>0) { | ^ ./quant/qwiggle.c:659:59: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | str[i++]='\0'; if (sscanf(str,"%d",wiggle)<1) usage_error(num_args); | ^ ./quant/qwiggle.c:661:15: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | usage_error(num_args); | ^ ./quant/qwiggle.c:662:48: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | if ((--*wiggle)<0 || (--*order)<0) usage_error(num_args); | ^ ./quant/qwiggle.c:664:56: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | *order= -1; if (sscanf(str,"%d",wiggle)<1) usage_error(num_args); | ^ ./quant/qwiggle.c:665:49: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | order_set=FALSE; if ((--*wiggle)<0) usage_error(num_args); | ^ ./quant/qwiggle.c:670:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | error(ps); | ^ ./quant/qwiggle.c:672: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] 672 | if (wiggles[*wiggle]==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:680:11: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | error(ps); | ^ ./quant/qwiggle.c:648:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | void get_wiggle_nums(str,wiggle,order) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:353: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] 353 | void get_wiggle_nums(); /* args: int *wiggle_num, *order_num; gets cmd args */ | ^ ./quant/qwiggle.c:702:32: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | if(num_compares == 0) error(NO_COMPARES); | ^ ./quant/qwiggle.c:703:16: warning: passing arguments to 'nullstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | if (nullstr(str)) { *compare= *contig= -1; return; } | ^ ./quant/qwiggle.c:705:20: warning: passing arguments to 'strfinder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | if((i=strfinder(str,'.')) > 0) { | ^ ./quant/qwiggle.c:706:63: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | str[i++] = '\0'; if(sscanf(str,"%d",compare) < 1) usage_error(num_args); | ^ ./quant/qwiggle.c:708:47: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | if(sscanf(&str[i],"%d",contig)<1) usage_error(num_args); | ^ ./quant/qwiggle.c:709:50: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | if ((--*compare)<0 || (--*contig)<0) usage_error(num_args); | ^ ./quant/qwiggle.c:711:58: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | *contig = -1; if(sscanf(str,"%d",compare)<1) usage_error(num_args); | ^ ./quant/qwiggle.c:712:53: warning: passing arguments to 'usage_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | contig_set = FALSE; if ((--*compare)<0) usage_error(num_args); | ^ ./quant/qwiggle.c:717:7: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | error(ps); | ^ ./quant/qwiggle.c:719:34: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | if(compares[*compare]==NULL) send(CRASH); | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:728:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | error(ps); | ^ ./quant/qwiggle.c:695:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | void get_compare_nums(str,compare,contig) | ^ In file included from ./quant/qwiggle.c:19: In file included from ./quant/qtl.h:156: ./quant/qtop.h:163: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] 163 | void get_compare_nums(); | ^ ./quant/qwiggle.c:746:20: warning: passing arguments to 'save_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | save_interval(fp, wiggles[n]->data[i][j]); | ^ ./quant/qwiggle.c:733:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | void save_wiggle(fp,n) | ^ ./quant/qwiggle.c:31: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] 31 | void save_wiggle(),save_interval(),save_qtl_map(),save_compare(); | ^ ./quant/qwiggle.c:764:5: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:767:17: warning: passing arguments to 'save_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | save_qtl_map(fp,interval->map); | ^ ./quant/qwiggle.c:774:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:754:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | void save_interval(fp,interval) | ^ ./quant/qwiggle.c:31: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] 31 | void save_wiggle(),save_interval(),save_qtl_map(),save_compare(); | ^ ./quant/qwiggle.c:787:5: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:793:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:797:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:803:2: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:811:5: warning: passing arguments to 'fprint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | fpr(fp); | ^ ./lib/iolib.h:298:23: note: expanded from macro 'fpr' 298 | #define fpr(fp) fprint(fp,ps) | ^ ./quant/qwiggle.c:779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | void save_qtl_map(fp,map) | ^ ./quant/qwiggle.c:31:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | void save_wiggle(),save_interval(),save_qtl_map(),save_compare(); | ^ ./quant/qwiggle.c:822:15: warning: passing arguments to 'fgetdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | fgetdataln(fp,NULL); | ^ ./quant/qwiggle.c:823:15: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | if(!itoken(&ln,iREQUIRED,&trait)) return; | ^ ./quant/qwiggle.c:825:9: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | _filter(ln); | ^ ./quant/qwiggle.c:826:28: warning: passing arguments to 'compile_intervals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | seqnce = compile_intervals(ln); | ^ ./quant/qwiggle.c:827:13: warning: passing arguments to 'reset_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | reset_state(seqnce,TRUE,&n_ints,&foo,&n_orders,&n_wiggled); | ^ ./quant/qwiggle.c:836:20: warning: passing arguments to 'load_interval' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | load_interval(fp, wiggles[n]->data[i][j]); | ^ ./quant/qwiggle.c:815:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | void load_wiggle(fp) | ^ ./quant/qwiggle.c:32: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] 32 | void load_wiggle(),load_interval(),load_compare(); | ^ ./quant/qwiggle.c:854:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | error("error in loading saved qtls file"); | ^ ./quant/qwiggle.c:861:30: warning: passing arguments to 'load_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | interval->map = load_qtl_map(fp); | ^ ./quant/qwiggle.c:865:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | parray(interval->point, interval->num_points, WIGGLE_POINT); | ^ ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qwiggle.c:865:6: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:865:6: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qwiggle.c:865:6: 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] ./lib/memlib.h:96:30: note: expanded from macro 'parray' 96 | #define parray(var,num,cell) matrix(var,num,REALLY_1,cell) | ^ ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qwiggle.c:872:13: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | error("error in loading saved qtls file"); | ^ ./quant/qwiggle.c:882:11: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | print("Error while loading saved qtls file...data not loaded.\n"); | ^ ./quant/qwiggle.c:884:7: warning: passing arguments to 'sender' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | else relay; | ^ ./lib/msglib.h:121:24: note: expanded from macro 'relay' 121 | #define relay sender(msg) | ^ ./quant/qwiggle.c:844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | void load_interval(fp,interval) | ^ ./quant/qwiggle.c:32: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] 32 | void load_wiggle(),load_interval(),load_compare(); | ^ ./quant/qwiggle.c:897:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | error("error in loading qtls file"); | ^ ./quant/qwiggle.c:899:24: warning: passing arguments to 'alloc_qtl_map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | map = alloc_qtl_map(i3,i5); | ^ ./quant/qwiggle.c:908:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | error("error in loading qtls file"); | ^ ./quant/qwiggle.c:916:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | error("error in loading qtls file"); | ^ ./quant/qwiggle.c:925:9: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | error("error loading qtls file"); | ^ ./quant/qwiggle.c:933:12: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | error("error in loading qtls file"); | ^ ./quant/qwiggle.c:889:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | QTL_MAP *load_qtl_map(fp) | ^ ./quant/qwiggle.c:33: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] 33 | QTL_MAP *load_qtl_map(); | ^ ./quant/qwiggle.c:945:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | void save_compare(fp,n) | ^ ./quant/qwiggle.c:31:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | void save_wiggle(),save_interval(),save_qtl_map(),save_compare(); | ^ ./quant/qwiggle.c:974:15: warning: passing arguments to 'fgetdataln' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | fgetdataln(fp,NULL); | ^ ./quant/qwiggle.c:975:15: warning: passing arguments to 'itoken' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | if(!itoken(&ln,iREQUIRED,&trait)) return; | ^ ./quant/qwiggle.c:977:13: warning: passing arguments to '_filter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | _filter(ln); | ^ ./quant/qwiggle.c:978:28: warning: passing arguments to 'compile_intervals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | seqnce = compile_intervals(ln); | ^ ./quant/qwiggle.c:979:13: warning: passing arguments to 'reset_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | reset_state(seqnce,FALSE,&n_ints,&foo,&n_orders,&n_wiggled); | ^ ./quant/qwiggle.c:967:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | void load_compare(fp) | ^ ./quant/qwiggle.c:32:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | void load_wiggle(),load_interval(),load_compare(); | ^ 172 warnings generated. cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qps_scan.c -o ./quant/qps_scan.o ./quant/qps_scan.c:51:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | array(xval, MAX_CHROM_LEN, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:51:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:52:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | array(yval, MAX_CHROM_LEN, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:52:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:53:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | array(notch, MAX_CHROM_LOC, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:53:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:54:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | matrix(label, MAX_CHROM_LOC, NAME_LEN+1, char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qps_scan.c:54:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:54:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qps_scan.c:54:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:59:18: warning: passing arguments to 'ps_file_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | ps_file_start(fp); | ^ ./quant/qps_scan.c:60:18: warning: passing arguments to 'ps_page_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | ps_page_start(fp, pagenum); | ^ ./quant/qps_scan.c:82:19: warning: passing arguments to 'rminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | yscale = rminf(50.0, 400.0/highest); | ^ ./quant/qps_scan.c:101:15: warning: passing arguments to 'draw_axes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | draw_axes(fp, notch, num_notches, label, trait_str, threshold); | ^ ./quant/qps_scan.c:102:15: warning: passing arguments to 'do_bezier' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | do_bezier(fp, xval, yval, count, 0.0, 0.0, SOLID_LINE); | ^ ./quant/qps_scan.c:103:17: warning: passing arguments to 'ps_page_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | ps_page_end(fp); | ^ ./quant/qps_scan.c:105:19: warning: passing arguments to 'ps_page_start' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ps_page_start(fp, pagenum); | ^ ./quant/qps_scan.c:129:14: warning: passing arguments to 'draw_axes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | draw_axes(fp, notch, num_notches, label, trait_str, threshold); | ^ ./quant/qps_scan.c:130:14: warning: passing arguments to 'do_bezier' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | do_bezier(fp, xval, yval, count, 0.0, 0.0, SOLID_LINE); | ^ ./quant/qps_scan.c:132:16: warning: passing arguments to 'ps_page_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | ps_page_end(fp); | ^ ./quant/qps_scan.c:133:16: warning: passing arguments to 'ps_file_end' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ps_file_end(fp); | ^ ./quant/qps_scan.c:137:36: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | wiggle+1,order+1,filename); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qps_scan.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | void print_ps_wiggle_order(wiggle, order, threshold) | ^ ./quant/qps_scan.c:189:11: warning: passing arguments to 'draw_x' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | draw_x(fp); | ^ ./quant/qps_scan.c:145:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | void draw_axes(fp, xnotch, num_notches, label, y_name, dotted_val) | ^ ./quant/qps_scan.c:22: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] 22 | void do_bezier(), draw_axes(), draw_x(); | ^ ./quant/qps_scan.c:202:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | array(x0, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:202:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:203:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | array(x1, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:203:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:204:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | array(x2, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:204:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:205:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | array(x3, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:205:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:206:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | array(y0, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:206:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:207:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | array(y1, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:207:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:208:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | array(y2, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:208:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:209:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | array(y3, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:209:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:210:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | array(slope, num_points, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:210:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:269:8: warning: passing arguments to 'draw_x' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | draw_x(fp); | ^ ./quant/qps_scan.c:272:11: warning: passing arguments to 'draw_x' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | draw_x(fp); | ^ ./quant/qps_scan.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void do_bezier(fp, xval, yval, num_points, s0, sn, line_type) | ^ ./quant/qps_scan.c:22:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void do_bezier(), draw_axes(), draw_x(); | ^ ./quant/qps_scan.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 draw_x(fp) | ^ ./quant/qps_scan.c:22:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | void do_bezier(), draw_axes(), draw_x(); | ^ ./quant/qps_scan.c:299:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | void ps_file_start(fp) | ^ ./quant/qps_scan.c:21: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] 21 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./quant/qps_scan.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | void ps_file_end(fp) | ^ ./quant/qps_scan.c:21:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./quant/qps_scan.c:376:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | void ps_page_start(fp,pagenum) | ^ ./quant/qps_scan.c:21:38: warning: a function declaration without a prototype is 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 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./quant/qps_scan.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | void ps_page_end(fp) | ^ ./quant/qps_scan.c:21:55: warning: a function declaration without a prototype is 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 | void ps_file_start(), ps_file_end(), ps_page_start(), ps_page_end(); | ^ ./quant/qps_scan.c:409:33: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if(op->num_orders > 4) error("too many wiggle orders to display on one graph"); | ^ ./quant/qps_scan.c:412:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | matrix(xval, op->num_orders, MAX_CHROM_LEN, real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qps_scan.c:412:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:412:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qps_scan.c:412:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:413:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | matrix(yval, op->num_orders, MAX_CHROM_LEN, real); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qps_scan.c:413:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:413:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qps_scan.c:413:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:414:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | array(notch, MAX_CHROM_LOC, real); | ^ ./lib/memlib.h:84:35: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./quant/qps_scan.c:414:5: 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] ./lib/memlib.h:84:60: note: expanded from macro 'array' 84 | { var=NULL; if ((var=(cell*)xalloc(xL(i),xS(cell)))==NULL) send(NOMEMORY); } | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:415:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | matrix(label, MAX_CHROM_LOC, NAME_LEN+1, char); | ^ ./lib/memlib.h:87:36: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./quant/qps_scan.c:415:5: 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] ./lib/memlib.h:87:62: note: expanded from macro 'matrix' 87 | { var=NULL; if ((var=(cell**)xalloc(xL(i),xS(cell*)))==NULL) send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:415:5: warning: passing arguments to 'xalloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./lib/memlib.h:89:35: note: expanded from macro 'matrix' 89 | if ((var[zz]=(cell*)xalloc(xL(j),xS(cell)))==NULL) { \ | ^ ./quant/qps_scan.c:415:5: 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] ./lib/memlib.h:91:29: note: expanded from macro 'matrix' 91 | unarray(var, (cell*)); send(NOMEMORY); \ | ^ ./lib/msglib.h:119:37: note: expanded from macro 'send' 119 | #define send(num) (*(maction[num]))(num) | ^ ./quant/qps_scan.c:437:19: warning: passing arguments to 'rminf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | yscale = rminf(50.0, 400.0/highest); | ^ ./quant/qps_scan.c:458:76: warning: passing arguments to 'line_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | do_bezier(fp, xval[order], yval[order], count, 0.0, 0.0, line_choice(order)); | ^ ./quant/qps_scan.c:465:15: warning: passing arguments to 'genetics_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | genetics_str(&op->data[order][0]->map->constraint[op->num_intervals-1],FALSE)); | ^ ./quant/qps_scan.c:467:63: warning: passing arguments to 'line_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | fprintf(fp,"GS %s 20 0 rlineto stroke GR\n",line_choice(order)); | ^ ./quant/qps_scan.c:498:14: warning: passing arguments to 'line_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | line_choice(order)); | ^ ./quant/qps_scan.c:505:14: warning: passing arguments to 'genetics_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | genetics_str(&op->data[order][0]->map->constraint[op->num_intervals-1], | ^ ./quant/qps_scan.c:508:57: warning: passing arguments to 'line_choice' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | fprintf(fp,"GS %s 20 0 rlineto stroke GR\n",line_choice(order)); | ^ ./quant/qps_scan.c:515:75: warning: passing arguments to 'print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | sf(ps,"scan %d.x saved in PostScript file '%s'\n",wiggle+1,filename); pr(); | ^ ./lib/iolib.h:101:19: note: expanded from macro 'pr' 101 | #define pr() print(ps) | ^ ./quant/qps_scan.c:395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | void print_ps_multi_wiggle(wiggle, threshold) | ^ ./quant/qps_scan.c:522:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | char *line_choice(order) | ^ 83 warnings generated. ./lib/makehelp ./quant/qtlhelp.src ./quant/qtlhelp.c qtl.help qtl.ps General Information... About MAPMAKER/QTL... Release Notes... Starting MAPMAKER/QTL... Tutorial... entering commands... abbreviating commands... keyboard editing... PostScript Output... Basic Commands... help... photo... load data... save data... quit... Sequences... sequence... history... list loci... edit sequence... let... names... forget named sequence... Traits... trait... make trait... show trait... list traits... forget trait... Mapping Commands... map... scan... list scans... show scan... draw scan... forget scan... forget all scans... show peaks... show trys... compare... list compares... show compare... forget compare... forget all compares... show best maps... show linkage map... Parameters and Options... print names... units... auto save data... more mode... Miscellaneous Commands... run... change directory... system... previous commands... review output... time... comment... wizard mode... ./lib/makehelp done cc -O2 -pipe -fcommon -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -I./lib/ -D_SYS_BSD -D_BIG_DATASETS -c ./quant/qtlhelp.c -o ./quant/qtlhelp.o ./quant/qtlhelp.c:9:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | mkhelp("about mapmaker/qtl","",573l,EXACTLY,-1,CMD,1, | ^ ./quant/qtlhelp.c:13:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | mkhelp("release notes","",1584l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:17:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | mkhelp("starting mapmaker/qtl","",2413l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:21:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | mkhelp("tutorial","",7023l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:25:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | mkhelp("entering commands","",7439l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:29:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | mkhelp("abbreviating commands","",8696l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:33:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | mkhelp("keyboard editing","",9815l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:37:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | mkhelp("postscript output","",11358l,EXACTLY,-1,HLP,1, | ^ ./quant/qtlhelp.c:41:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | mkhelp("help","?",13078l,UPTO,1,CMD,2, | ^ ./quant/qtlhelp.c:45:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | mkhelp("photo","",13594l,UPTO,1,CMD,2, | ^ ./quant/qtlhelp.c:49:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | mkhelp("load data","ld",15051l,EXACTLY,1,CMD,2, | ^ ./quant/qtlhelp.c:53:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | mkhelp("save data","",16450l,EXACTLY,0,CMD,2, | ^ ./quant/qtlhelp.c:57:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | mkhelp("quit","q",16733l,EXACTLY,0,CMD,2, | ^ ./quant/qtlhelp.c:61:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | mkhelp("sequence","s",17829l,UPTO,1,CMD,3, | ^ ./quant/qtlhelp.c:65:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | mkhelp("history","h",26776l,EXACTLY,1,CMD,3, | ^ ./quant/qtlhelp.c:69:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | mkhelp("list loci","",27302l,EXACTLY,0,CMD,3, | ^ ./quant/qtlhelp.c:73:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | mkhelp("edit sequence","",27567l,EXACTLY,0,CMD,3, | ^ ./quant/qtlhelp.c:77:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | mkhelp("let","",28049l,EXACTLY,2,CMD,3, | ^ ./quant/qtlhelp.c:81:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mkhelp("names","",29323l,EXACTLY,0,CMD,3, | ^ ./quant/qtlhelp.c:85:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | mkhelp("forget named sequence","",29611l,EXACTLY,1,CMD,3, | ^ ./quant/qtlhelp.c:89:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | mkhelp("trait","t",30411l,UPTO,1,CMD,4, | ^ ./quant/qtlhelp.c:93:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | mkhelp("make trait","",30935l,EXACTLY,2,CMD,4, | ^ ./quant/qtlhelp.c:97:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | mkhelp("show trait","",31604l,UPTO,1,CMD,4, | ^ ./quant/qtlhelp.c:101:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | mkhelp("list traits","",32026l,EXACTLY,0,CMD,4, | ^ ./quant/qtlhelp.c:105:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | mkhelp("forget trait","",32258l,EXACTLY,1,CMD,4, | ^ ./quant/qtlhelp.c:109:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | mkhelp("map","m",33373l,EXACTLY,0,CMD,5, | ^ ./quant/qtlhelp.c:113:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | mkhelp("scan","",39494l,UPTO,3,CMD,5, | ^ ./quant/qtlhelp.c:117:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | mkhelp("list scans","",45664l,UPTO,1,CMD,5, | ^ ./quant/qtlhelp.c:121:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | mkhelp("show scan","",47707l,UPTO,3,CMD,5, | ^ ./quant/qtlhelp.c:125:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | mkhelp("draw scan","",48486l,UPTO,1,CMD,5, | ^ ./quant/qtlhelp.c:129:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | mkhelp("forget scan","",49378l,EXACTLY,1,CMD,5, | ^ ./quant/qtlhelp.c:133:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | mkhelp("forget all scans","",49887l,EXACTLY,0,CMD,5, | ^ ./quant/qtlhelp.c:137:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | mkhelp("show peaks","",50245l,UPTO,3,CMD,5, | ^ ./quant/qtlhelp.c:141:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | mkhelp("show trys","",51794l,UPTO,2,CMD,5, | ^ ./quant/qtlhelp.c:145:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | mkhelp("compare","",55088l,EXACTLY,0,CMD,5, | ^ ./quant/qtlhelp.c:149:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | mkhelp("list compares","",55933l,EXACTLY,0,CMD,5, | ^ ./quant/qtlhelp.c:153:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | mkhelp("show compare","",56324l,UPTO,3,CMD,5, | ^ ./quant/qtlhelp.c:157:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | mkhelp("forget compare","",56446l,EXACTLY,1,CMD,5, | ^ ./quant/qtlhelp.c:161:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | mkhelp("forget all compares","",56644l,EXACTLY,0,CMD,5, | ^ ./quant/qtlhelp.c:165:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | mkhelp("show best maps","",56756l,UPTO,3,CMD,5, | ^ ./quant/qtlhelp.c:169:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | mkhelp("show linkage map","",57057l,EXACTLY,1,CMD,5, | ^ ./quant/qtlhelp.c:173:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | mkhelp("print names","",57437l,UPTO,1,OPT,6, | ^ ./quant/qtlhelp.c:177:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | mkhelp("units","",57571l,UPTO,1,PAR,6, | ^ ./quant/qtlhelp.c:181:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | mkhelp("auto save data","",58521l,UPTO,1,OPT,6, | ^ ./quant/qtlhelp.c:185:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | mkhelp("more mode","",59408l,UPTO,1,OPT,6, | ^ ./quant/qtlhelp.c:189:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | mkhelp("run","r",59965l,EXACTLY,1,CMD,7, | ^ ./quant/qtlhelp.c:193:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | mkhelp("change directory","cd",61320l,UPTO,1,CMD,7, | ^ ./quant/qtlhelp.c:197:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | mkhelp("system","!",61776l,UPTO,1,CMD,7, | ^ ./quant/qtlhelp.c:201:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | mkhelp("previous commands","",63412l,UPTO,1,CMD,7, | ^ ./quant/qtlhelp.c:205:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | mkhelp("review output","",63865l,EXACTLY,0,CMD,7, | ^ ./quant/qtlhelp.c:209:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | mkhelp("time","",64223l,EXACTLY,0,CMD,7, | ^ ./quant/qtlhelp.c:213:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | mkhelp("comment","",64414l,UPTO,1,CMD,7, | ^ ./quant/qtlhelp.c:217:8: warning: passing arguments to 'mkhelp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | mkhelp("wizard mode","",65039l,EXACTLY,1,CMD,7, | ^ ./quant/qtlhelp.c:222:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | mktopic(1,"General Information on MAPMAKER/QTL Version 1.1",TOP,62l); | ^ ./quant/qtlhelp.c:223:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | mktopic(2,"Basic MAPMAKER/QTL Commands",TOP,12649l); | ^ ./quant/qtlhelp.c:224:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | mktopic(3,"Sequence Command and Related Features",TOP,16974l); | ^ ./quant/qtlhelp.c:225:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | mktopic(4,"Trait Command and Related Features",TOP,29874l); | ^ ./quant/qtlhelp.c:226:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | mktopic(5,"MAPMAKER/QTL mapping commands",TOP,32668l); | ^ ./quant/qtlhelp.c:227:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | mktopic(6,"MAPMAKER/QTL Parameters and Options",TOP,57340l); | ^ ./quant/qtlhelp.c:228:9: warning: passing arguments to 'mktopic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | mktopic(7,"Miscellaneous Commands",TOP,59890l); | ^ 60 warnings generated. cc ./quant/qcmds.o ./quant/qctm.o ./quant/qdata.o ./quant/qseq.o ./quant/qtop.o ./quant/qraw.o ./quant/qprint.o ./quant/qcontext.o ./quant/qwiggle.o ./quant/qps_scan.o ./quant/qtlhelp.o lib.o -lm -lncurses -o qtl =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for mapm3-3.0_1 ===> Generating temporary packing list cp mapmaker mapmaker.help xmapmaker /wrkdirs/usr/ports/biology/mapm3/work/stage/usr/local/bin cp qtl qtl.help xqtl /wrkdirs/usr/ports/biology/mapm3/work/stage/usr/local/bin /usr/bin/strip /wrkdirs/usr/ports/biology/mapm3/work/stage/usr/local/bin/mapmaker /usr/bin/strip /wrkdirs/usr/ports/biology/mapm3/work/stage/usr/local/bin/qtl ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-12-11T08:52:51+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=fb16dfecae4a' '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 mapm3-3.0_1 ===> Building mapm3-3.0_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for mapm3-3.0_1 build of biology/mapm3 | mapm3-3.0_1 ended at Thu Dec 11 03:53:23 EST 2025 build time: 00:00:33