=>> Building devel/xxgdb build started at Fri Mar 13 06:22:03 EDT 2026 port directory: /usr/ports/devel/xxgdb package name: xxgdb-1.12_5 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 619 Aug 27 2024 /usr/ports/devel/xxgdb/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: e427ab10bfca Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 11 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_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-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xxgdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xxgdb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/xxgdb/work/.cache HOME=/wrkdirs/usr/ports/devel/xxgdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xxgdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/xxgdb/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-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xxgdb/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xxgdb/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/xxgdb/work/.cache HOME=/wrkdirs/usr/ports/devel/xxgdb/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xxgdb/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/xxgdb/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xxgdb" EXAMPLESDIR="share/examples/xxgdb" DATADIR="share/xxgdb" WWWDIR="www/xxgdb" ETCDIR="etc/xxgdb" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xxgdb DOCSDIR=/usr/local/share/doc/xxgdb EXAMPLESDIR=/usr/local/share/examples/xxgdb WWWDIR=/usr/local/www/xxgdb ETCDIR=/usr/local/etc/xxgdb --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xxgdb-1.12_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> xxgdb-1.12_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xxgdb-1.12_5 =========================================================================== =================================================== ===== 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 xxgdb-1.12_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by xxgdb-1.12_5 for building => SHA256 Checksum OK for xxgdb-1.12.tar.gz. =========================================================================== =================================================== ===== 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 xxgdb-1.12_5 for building ===> Extracting for xxgdb-1.12_5 => SHA256 Checksum OK for xxgdb-1.12.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xxgdb-1.12_5 ===> Applying FreeBSD patches for xxgdb-1.12_5 from /usr/ports/devel/xxgdb/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xxgdb-1.12_5 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xxgdb-1.12_5 depends on executable: imake - found ===> Returning to build of xxgdb-1.12_5 ===> xxgdb-1.12_5 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xxgdb-1.12_5 depends on executable: tradcpp - found ===> Returning to build of xxgdb-1.12_5 ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found ===> Installing existing package /packages/All/libICE-1.1.2,1.pkg [pkg.DaveG.ca] Installing libICE-1.1.2,1... [pkg.DaveG.ca] Extracting libICE-1.1.2,1: .......... done ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Returning to build of xxgdb-1.12_5 ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/sm.pc - not found ===> Installing existing package /packages/All/libSM-1.2.6,1.pkg [pkg.DaveG.ca] Installing libSM-1.2.6,1... [pkg.DaveG.ca] Extracting libSM-1.2.6,1: ........ done ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Returning to build of xxgdb-1.12_5 ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xxgdb-1.12_5 ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of xxgdb-1.12_5 ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xxgdb-1.12_5 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. ===> xxgdb-1.12_5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xxgdb-1.12_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xxgdb-1.12_5 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -- calldbx.c command.c dbx.c dialog.c datadpy.c filemenu.c handler.c parser.c regex.c signs.c signals.c source.c utils.c windows.c xdbx.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xxgdb-1.12_5 --- calldbx.o --- --- command.o --- --- dbx.o --- --- dialog.o --- --- datadpy.o --- --- filemenu.o --- --- handler.o --- --- parser.o --- --- regex.o --- --- signs.o --- --- signals.o --- --- source.o --- --- utils.o --- --- windows.o --- --- xdbx.o --- --- xxgdb._man --- --- calldbx.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c calldbx.c -o calldbx.o --- command.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c command.c -o command.o --- dbx.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c dbx.c -o dbx.o --- dialog.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c dialog.c -o dialog.o --- datadpy.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c datadpy.c -o datadpy.o --- filemenu.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c filemenu.c -o filemenu.o --- handler.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c handler.c -o handler.o --- parser.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c parser.c -o parser.o --- regex.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c regex.c -o regex.o --- signs.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c signs.c -o signs.o --- signals.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c signals.c -o signals.o --- source.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c source.c -o source.o --- utils.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c utils.c -o utils.o --- windows.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c windows.c -o windows.o --- xdbx.o --- cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O0 -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DGDB -DCREATE_IO_WINDOW -g -c xdbx.c -o xdbx.o --- xxgdb._man --- rm -f xxgdb._man if test -z "" ; then cd `dirname xxgdb` && ln -s `basename xxgdb.man` `basename xxgdb._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xxgdb.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xxgdb._man; fi --- utils.o --- utils.c:47:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | XawTextPosition TextGetLastPos(w) | ^ In file included from utils.c:45: ./global.h:180: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] 180 | extern XawTextPosition TextGetLastPos(); /* get last pos of text */ | ^ utils.c:57:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | int TextPositionToLine(pos) | ^ In file included from utils.c:45: ./global.h:181:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | extern int TextPositionToLine(); /* convert line # to text pos */ | ^ utils.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int LineToStop_no(line) | ^ In file included from utils.c:45: ./global.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | extern int LineToStop_no(); /* convert line # to stop # */ | ^ utils.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 DisableWindowResize(w) | ^ In file included from utils.c:45: ./global.h:183: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] 183 | extern void DisableWindowResize(); /* do not allow window resize */ | ^ utils.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 bell(volume) | ^ In file included from utils.c:45: ./global.h:184: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] 184 | extern void bell(); /* sound bell */ | ^ utils.c:120:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | char *concat(s1, s2) | ^ In file included from utils.c:45: ./global.h:185: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] 185 | extern char *concat(); /* substring search */ | ^ 12 warnings generated. --- windows.o --- windows.c:87:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | static void CreateFileLabel(parent) | ^ windows.c:100:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | static void CreateLineLabel(parent) | ^ windows.c:115:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | static void CreateFileWindow(parent) | ^ windows.c:129:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | static void CreateMessageWindow(parent) | ^ windows.c:146:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | static void CreateDisplayWindow(parent) | ^ windows.c:320:23: warning: passing arguments to 'CreateSourceWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | CreateSourceWindow(vpane); | ^ windows.c:332:23: warning: passing arguments to 'CreateCommandPanel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | CreateCommandPanel(vpane); | ^ windows.c:334:23: warning: passing arguments to 'CreateDialogWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | CreateDialogWindow(vpane); | ^ windows.c:288:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | void CreateSubWindows(parent) | ^ In file included from windows.c:73: ./global.h:189: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] 189 | extern void CreateSubWindows(); /* all subwindows of xdbx */ | ^ windows.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 UpdateFileLabel(string) | ^ In file included from windows.c:73: ./global.h:190: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] 190 | extern void UpdateFileLabel(); /* update current file name */ | ^ windows.c:378:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | void UpdateLineLabel(line) | ^ In file included from windows.c:73: ./global.h:191: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] 191 | extern void UpdateLineLabel(); /* update current line num */ | ^ windows.c:402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | void UpdateMessageWindow(format, arg) | ^ In file included from windows.c:73: ./global.h:192: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] 192 | extern void UpdateMessageWindow(); /* update xdbx message */ | ^ 16 warnings generated. --- signals.o --- signals.c:89:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | exit(sig); | ^ signals.c:89:5: note: include the header or explicitly provide a declaration for 'exit' signals.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | kill_handler(sig) | ^ 2 warnings generated. --- regex.o --- regex.c:452:19: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | store_jump (b, maybe_finalize_jump, laststart - 3); | ^ regex.c:455:16: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | insert_jump (on_failure_jump, laststart, b + 3, b); | ^ regex.c:462:20: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | insert_jump (dummy_failure_jump, laststart, laststart + 6, b); | ^ regex.c:537:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | store_jump (fixup_jump, jump, b); | ^ regex.c:551:20: warning: passing arguments to 'insert_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | insert_jump (on_failure_jump, begalt, b + 6, b); | ^ regex.c:555:14: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | store_jump (fixup_jump, jump, b); | ^ regex.c:661:16: warning: passing arguments to 'store_jump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | store_jump (fixup_jump, jump, b); | ^ regex.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | re_compile_pattern (pattern, size, bufp) | ^ In file included from regex.c:234: ./regex.h:219:14: warning: a function declaration without a prototype is 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 | extern char *re_compile_pattern (); | ^ regex.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | store_jump (from, opcode, to) | ^ regex.c:310:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 310 | static int store_jump (), insert_jump (); | ^ regex.c:701:1: warning: non-void function does not return a value [-Wreturn-type] 701 | } | ^ regex.c:711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | insert_jump (op, from, to, current_end) | ^ regex.c:310: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] 310 | static int store_jump (), insert_jump (); | ^ regex.c:720:1: warning: non-void function does not return a value [-Wreturn-type] 720 | } | ^ regex.c:761:15: warning: enumeration values 'unused', 'syntaxspec', and 'notsyntaxspec' not handled in switch [-Wswitch] 761 | switch ((enum regexpcode) *p++) | ^~~~~~~~~~~~~~~~~~~~~~ regex.c:733:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | re_compile_fastmap (bufp) | ^ In file included from regex.c:234: ./regex.h:221:13: warning: a function declaration without a prototype is 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 | extern void re_compile_fastmap (); | ^ regex.c:921:22: warning: passing arguments to 're_search_2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | return re_search_2 (pbufp, 0, 0, string, size, startpos, range, regs, size); | ^ regex.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | re_search (pbufp, string, size, startpos, range, regs) | ^ In file included from regex.c:234: ./regex.h:222:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 222 | extern int re_search (), re_search_2 (); | ^ regex.c:1015:24: warning: passing arguments to 're_match_2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | val = re_match_2 (pbufp, string1, size1, string2, size2, startpos, | ^ regex.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | re_search_2 (pbufp, string1, size1, string2, size2, startpos, range, regs, | ^ In file included from regex.c:234: ./regex.h:222: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] 222 | extern int re_search (), re_search_2 (); | ^ regex.c:1043:21: warning: passing arguments to 're_match_2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | return re_match_2 (pbufp, 0, 0, string, size, pos, regs, size); | ^ regex.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | re_match (pbufp, string, size, pos, regs) | ^ In file included from regex.c:234: ./regex.h:223:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 223 | extern int re_match (), re_match_2 (); | ^ regex.c:1223:15: warning: 6 enumeration values not handled in switch: 'unused', 'before_dot', 'at_dot'... [-Wswitch] 1223 | switch ((enum regexpcode) *p++) | ^~~~~~~~~~~~~~~~~~~~~~ regex.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | re_match_2 (pbufp, string1, size1, string2, size2, pos, regs, mstop) | ^ In file included from regex.c:234: ./regex.h:223: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] 223 | extern int re_match (), re_match_2 (); | ^ regex.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | bcmp_translate (s1, s2, len, translate) | ^ regex.c:1618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | re_comp (s) | ^ In file included from regex.c:234: ./regex.h:226:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 226 | extern char *re_comp (); | ^ regex.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | re_exec (s) | ^ In file included from regex.c:234: ./regex.h:227:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 227 | extern int re_exec (); | ^ 35 warnings generated. --- signals.o --- --- regex.o --- --- calldbx.o --- calldbx.c:246:52: warning: missing sentinel in function call [-Wsentinel] 246 | if (execlp("xterm", "xterm", "-e", "xxgdbiowin", 0)) | ^ | , NULL /usr/include/unistd.h:333:6: note: function has been explicitly marked sentinel here 333 | int execlp(const char *, const char *, ...) __null_sentinel; | ^ ~~~~~~~~~~~~~~~ calldbx.c:310:19: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 310 | sprintf(errmsg,"%s error: openpty failed\n"); | ~^ calldbx.c:256:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | void calldbx(argc, argv) | ^ In file included from calldbx.c:76: ./global.h:89:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | extern void calldbx(); /* fork child, exec dbx */ | ^ 4 warnings generated. --- xdbx.o --- xdbx.c:282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | static void Syntax(call) | ^ xdbx.c:335:24: warning: passing arguments to 'DisableWindowResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | DisableWindowResize(fileWindow); | ^ xdbx.c:376:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | static char **dbxoptions(argc, argv, app_resources) | ^ xdbx.c:459:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 459 | void main(argc, argv) | ^ xdbx.c:459:1: note: change return type to 'int' 459 | void main(argc, argv) | ^~~~ | int xdbx.c:482:21: warning: passing arguments to 'CreateSubWindows' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | CreateSubWindows(toplevel); | ^ xdbx.c:488:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | AppendDialogText("XXGDB comes with ABSOLUTELY NO WARRANTY.\n"); | ^ xdbx.c:492:12: warning: passing arguments to 'calldbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | calldbx(argc, dbxargv); | ^ xdbx.c:459:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | void main(argc, argv) | ^ 8 warnings generated. --- dbx.o --- dbx.c:101:18: warning: passing arguments to 'read_source_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | read_source_file(xdbxinit); | ^ dbx.c:88:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | static void dbx_init(xdbxinit) | ^ dbx.c:127:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | static visited = False; | ~~~~~~ ^ | int dbx.c:231:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 231 | exit(-1); | ^ dbx.c:231:4: note: include the header or explicitly provide a declaration for 'exit' dbx.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 write_dbx(s) | ^ In file included from dbx.c:76: ./global.h:110: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] 110 | extern void write_dbx(); /* send data to dbx */ | ^ 6 warnings generated. --- command.o --- command.c:119:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | static void ButtonSet(w, event, params, num_params) | ^ command.c:137:17: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | send_command(command); | ^ command.c:138:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | AppendDialogText(command); | ^ command.c:131:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | static void DoIt (w, command, call_data) | ^ command.c:186:32: warning: format specifies type 'char *' but the argument has type 'XtPointer' (aka 'void *') [-Wformat] 186 | sprintf(command, "%s *%s\n",client_data,funcname); | ~~ ^~~~~~~~~~~ command.c:188:31: warning: format specifies type 'char *' but the argument has type 'XtPointer' (aka 'void *') [-Wformat] 188 | sprintf(command, "%s %s\n",client_data,funcname); | ~~ ^~~~~~~~~~~ command.c:196:29: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | line = TextPositionToLine(pos); | ^ command.c:197:31: warning: format specifies type 'char *' but the argument has type 'XtPointer' (aka 'void *') [-Wformat] 197 | sprintf(command, "%s %d\n",client_data,line); | ~~ ^~~~~~~~~~~ command.c:201:23: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | UpdateMessageWindow(BREAK_HELP, NULL); | ^ command.c:202:8: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | bell(0); | ^ command.c:207:17: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | send_command(command); | ^ command.c:208:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | AppendDialogText(command); | ^ command.c:169:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | static void Break(w, client_data, call_data) | ^ command.c:274:14: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | send_command(command); | ^ command.c:275:18: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | AppendDialogText(command); | ^ command.c:285:27: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | line = TextPositionToLine(pos); | ^ command.c:286:30: warning: passing arguments to 'LineToStop_no' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | if ((stop_no = LineToStop_no(line))) { | ^ command.c:288:18: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | send_command(command); | ^ command.c:289:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | AppendDialogText(command); | ^ command.c:296:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | UpdateMessageWindow(DELETE_HELP, NULL); | ^ command.c:297:9: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | bell(0); | ^ command.c:262:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | static void Delete(w, client_data, call_data) | ^ command.c:313:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | UpdateMessageWindow(PRINT_HELP, NULL); | ^ command.c:314:6: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | bell(0); | ^ command.c:321:17: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | send_command(command); | ^ command.c:325:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | AppendDialogText(command); | ^ command.c:301:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | static void Print(w, client_data, call_data) | ^ command.c:358:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | static void Interrupt(w, client_data, call_data) | ^ command.c:368:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | static void EdCallback(w, client_data, call_data) | ^ command.c:392:14: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | write_dbx("quit\n"); | ^ command.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 Quit(w, client_data, call_data) | ^ command.c:419:17: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | send_command(command); | ^ command.c:420:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | AppendDialogText(command); | ^ command.c:409:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | static void Display_(w, client_data, call_data) | ^ command.c:470:23: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | UpdateMessageWindow(UNDISPLAY_HELP, NULL); | ^ command.c:471:8: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | bell(0); | ^ command.c:479:14: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | send_command(command); | ^ command.c:480:18: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | AppendDialogText(command); | ^ command.c:455:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | static void Undisplay(w, client_data, call_data) | ^ command.c:539:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | static int forwardSearch(text, startpos, searchstring, left, right) | ^ command.c:582:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | static int reverseSearch(text, startpos, searchstring, left, right) | ^ command.c:633:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | UpdateMessageWindow(SEARCH_HELP, NULL); | ^ command.c:634:6: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | bell(0); | ^ command.c:622:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | void PopupSearch(w, client_data, call_data) | ^ command.c:673:25: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | UpdateMessageWindow("No search string selected", NULL); | ^ command.c:674:10: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | bell(0); | ^ command.c:684:38: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | AdjustText(TextPositionToLine(left)); | ^ command.c:684:19: warning: passing arguments to 'AdjustText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | AdjustText(TextPositionToLine(left)); | ^ command.c:690:32: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | UpdateMessageWindow("String not found", NULL); | ^ command.c:692:32: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | UpdateMessageWindow("String not found", NULL); | ^ command.c:695:32: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | UpdateMessageWindow("xxgdb error: illegal search direction", NULL); | ^ command.c:699:13: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | bell(0); | ^ command.c:660:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | static void Search(w, direction, call_data) | ^ command.c:704:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | static void DoneSearch(w, client_data, call_data) | ^ command.c:713:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | static void Activate(w, event, params, num_params) | ^ command.c:750:14: warning: passing arguments to 'AddButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | AddButton(searchPopup, "<<", Search, (XtPointer) REVERSE); | ^ command.c:751:14: warning: passing arguments to 'AddButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | AddButton(searchPopup, ">>", Search, (XtPointer) FORWARD); | ^ command.c:752:14: warning: passing arguments to 'AddButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | AddButton(searchPopup, "DONE", DoneSearch, (XtPointer)searchPopupShell); | ^ command.c:761:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | static Widget AddButton(parent, name, function, client_data) | ^ command.c:107: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] 107 | static Widget AddButton(); | ^ command.c:798:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | static void CreateButtons (parent) | ^ command.c:880:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | void CreateCommandPanel(parent) | ^ In file included from command.c:98: ./global.h:93:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | extern void CreateCommandPanel(); | ^ command.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 | void send_command(command) | ^ In file included from command.c:98: ./global.h:94:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | extern void send_command(); | ^ command.c:966:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | void insert_command(command) | ^ In file included from command.c:98: ./global.h:96:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | extern void insert_command(); | ^ 67 warnings generated. --- dialog.o --- dialog.c:107:30: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | lastPos = TextGetLastPos(w); | ^ dialog.c:97:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | static void InsertSpace(w, event, params, num_params) | ^ dialog.c:138:29: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | pos = TextGetLastPos(w); | ^ dialog.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 DeleteWord(w, event, params, num_params) | ^ In file included from dialog.c:79: ./global.h:116:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | extern void DeleteWord(); /* delete word action proc */ | ^ dialog.c:149:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | void DeleteChar(w, event, params, num_params) | ^ dialog.c:194:30: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | pos = TextGetLastPos(w); | ^ dialog.c:174:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | void DeleteLine(w, event, params, num_params) | ^ In file included from dialog.c:79: ./global.h:115:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | extern void DeleteLine(); /* delete line action proc */ | ^ dialog.c:230:30: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | StartPos = TextGetLastPos(dialogWindow); | ^ dialog.c:245:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | AppendDialogText(gdb_command); | ^ dialog.c:248:16: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | send_command (s); | ^ dialog.c:252:15: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | write_dbx(s); | ^ dialog.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | static void Dispatch(w, event, params, num_params) | ^ dialog.c:268:11: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | write_dbx("\003"); /* (PW)18FEB91 : seems to work better */ | ^ dialog.c:276:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | static void SigInt(w, event, params, num_params) | ^ dialog.c:293:14: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | write_dbx("\04"); | ^ dialog.c:287:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | static void SigEof(w, event, params, num_params) | ^ dialog.c:301:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | static void SigQuit(w, event, params, num_params) | ^ dialog.c:322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | void CreateDialogWindow(parent) | ^ In file included from dialog.c:79: ./global.h:117:14: warning: a function declaration without a prototype is 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 | extern void CreateDialogWindow(); | ^ dialog.c:389:29: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | lastPos = TextGetLastPos(dialogWindow); | ^ dialog.c:391:6: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | bell(0); | ^ dialog.c:413:30: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | lastPos = TextGetLastPos(dialogWindow); | ^ dialog.c:416:30: warning: passing arguments to 'TextGetLastPos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | StartPos = TextGetLastPos(dialogWindow); | ^ dialog.c:373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | void AppendDialogText(s) | ^ In file included from dialog.c:79: ./global.h:118: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] 118 | extern void AppendDialogText(); /* append text to buffer */ | ^ 27 warnings generated. --- command.o --- --- filemenu.o --- filemenu.c:125:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | static void changeDir(dir) | ^ filemenu.c:244:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | UpdateMessageWindow("scandir: cannot open %s", dir); | ^ filemenu.c:228:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | static void ScanDir(dir) | ^ filemenu.c:341:25: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | UpdateMessageWindow("",NULL); | ^ filemenu.c:357:15: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | send_command(command); | ^ filemenu.c:358:23: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | AppendDialogText(command); | ^ filemenu.c:362:14: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | send_command(command); | ^ filemenu.c:363:18: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | AppendDialogText(command); | ^ filemenu.c:375:25: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | UpdateMessageWindow("",NULL); | ^ filemenu.c:381:14: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | send_command(command); | ^ filemenu.c:382:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | AppendDialogText(command); | ^ filemenu.c:324:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | static void DisplayMenuFile(w, popupshell, call_data) | ^ filemenu.c:401:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | UpdateMessageWindow("",NULL); | ^ filemenu.c:395:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | static void CancelFileMenu(w, popupshell, call_data) | ^ filemenu.c:453:24: warning: passing arguments to 'DisableWindowResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | DisableWindowResize(fileMenuLabel); | ^ filemenu.c:454:24: warning: passing arguments to 'DisableWindowResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | DisableWindowResize(cancelButton); | ^ filemenu.c:410:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | static void SetUpFileMenu(dir) | ^ filemenu.c:520:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | UpdateMessageWindow("Select a file or directory",NULL); | ^ filemenu.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 | void File(w, client_data, call_data) | ^ filemenu.c:117:7: warning: a function declaration without a prototype is 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 File(); | ^ 20 warnings generated. --- dialog.o --- --- filemenu.o --- --- handler.o --- handler.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 | void TextSetTopPosition(w, pos) | ^ In file included from handler.c:84: ./global.h:126:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | extern void TextSetTopPosition(); /* sets topDisplayPosition */ | ^ handler.c:149:20: warning: passing arguments to 'UpdateLineLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | UpdateLineLabel(line); | ^ handler.c:150:16: warning: passing arguments to 'UpdateStops' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | UpdateStops(file); | ^ handler.c:151:16: warning: passing arguments to 'UpdateArrow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | UpdateArrow(file); | ^ handler.c:152:17: warning: passing arguments to 'UpdateUpdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | UpdateUpdown(file); | ^ handler.c:153:15: warning: passing arguments to 'UpdateBomb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | UpdateBomb(file); | ^ handler.c:115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | void AdjustText(line) | ^ In file included from handler.c:84: ./global.h:127: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] 127 | extern void AdjustText(); /* adjust display position */ | ^ In file included from handler.c:158: ./gdb_handler.c:119:10: warning: passing arguments to 'LoadFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | LoadFile(file); | ^ ./gdb_handler.c:136:21: warning: passing arguments to 'info_source_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | info_source_handler(NULL,NULL,NULL); | ^ ./gdb_handler.c:144:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | query_gdb("set height 0\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:145:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | query_gdb("set width 0\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:147:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | query_gdb("set p pretty on\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:148:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | query_gdb("set confirm off\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:152:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | query_gdb("set screensize 0\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:153:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | query_gdb("set prettyprint on\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:161:11: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | query_gdb("pwd\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:168:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | query_gdb("list ,main\n", PARSE_ON | ECHO_OFF | FILTER_ON); | ^ ./gdb_handler.c:176:14: warning: passing arguments to 'UpdateArrow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | UpdateArrow(displayedFile); | ^ ./gdb_handler.c:177:15: warning: passing arguments to 'UpdateUpdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | UpdateUpdown(displayedFile); | ^ ./gdb_handler.c:178:13: warning: passing arguments to 'UpdateBomb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | UpdateBomb(displayedFile); | ^ ./gdb_handler.c:180:14: warning: passing arguments to 'UpdateStops' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | UpdateStops(displayedFile); | ^ ./gdb_handler.c:183:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | UpdateMessageWindow("Ready for execution",NULL); | ^ ./gdb_handler.c:187:11: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | query_gdb("display\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:190:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | void cd_handler(s) | ^ In file included from handler.c:84: ./global.h:137:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | extern void cd_handler(); /* change directory */ | ^ In file included from handler.c:158: ./gdb_handler.c:199:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | void pwd_handler(s) | ^ In file included from handler.c:84: ./global.h:138:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | extern void pwd_handler(); /* print working directory */ | ^ In file included from handler.c:158: ./gdb_handler.c:279:26: warning: passing arguments to 'GetSourcePathname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | file = GetSourcePathname(Token.file); | ^ ./gdb_handler.c:286:11: warning: passing arguments to 'LoadFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | LoadFile(file); | ^ ./gdb_handler.c:300:15: warning: passing arguments to 'DisplayStop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | DisplayStop(displayedFile, line); | ^ ./gdb_handler.c:310:14: warning: passing arguments to 'MakeDirList' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | MakeDirList(Token.file); | ^ ./gdb_handler.c:335:13: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | query_gdb("info source\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:345:19: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | AppendDialogText("Error list command\n"); | ^ ./gdb_handler.c:346:7: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | bell(0); | ^ ./gdb_handler.c:374:14: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | query_gdb("info break\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:380:14: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | query_gdb("display\n", PARSE_ON | ECHO_OFF | FILTER_ON); | ^ ./gdb_handler.c:442:21: warning: passing arguments to 'LineToStop_no' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | if (LineToStop_no(line) == 0) | ^ ./gdb_handler.c:443:15: warning: passing arguments to 'RemoveStop' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | RemoveStop(line); | ^ ./gdb_handler.c:398:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | void info_break_handler(output_string) | ^ In file included from handler.c:84: ./global.h:259: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] 259 | extern void info_break_handler(); | ^ In file included from handler.c:158: ./gdb_handler.c:490:22: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | UpdateMessageWindow(message,NULL); | ^ ./gdb_handler.c:492:22: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | UpdateMessageWindow(Token.mesg,NULL); | ^ ./gdb_handler.c:498:19: warning: passing arguments to 'LoadFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | status = LoadFile(Token.file); | ^ ./gdb_handler.c:506:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | query_gdb("info break\n", PARSE_ON | ECHO_OFF | FILTER_OFF); /* update breakpoints */ | ^ ./gdb_handler.c:515:13: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | query_gdb("set confirm on\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:518:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | query_gdb("frame\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:521:13: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | query_gdb("set confirm off\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.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 | void exec_handler(message,signal) | ^ In file included from handler.c:84: ./global.h:128: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] 128 | extern void exec_handler(); /* run, cont, next, step */ | ^ In file included from handler.c:158: ./gdb_handler.c:563:16: warning: passing arguments to 'UpdateArrow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | UpdateArrow(displayedFile); | ^ ./gdb_handler.c:564:17: warning: passing arguments to 'UpdateUpdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | UpdateUpdown(displayedFile); | ^ ./gdb_handler.c:565:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | UpdateMessageWindow("Ready for execution",NULL); | ^ ./gdb_handler.c:557:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | void done_handler(message,signal) | ^ In file included from handler.c:84: ./global.h:129:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | extern void done_handler(); /* run, cont, next, step */ | ^ In file included from handler.c:158: ./gdb_handler.c:595:30: warning: passing arguments to 'gdb_source_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | if (!(gdb_source_command (s,TRUE) | ^ ./gdb_handler.c:596:29: warning: passing arguments to 'gdb_define_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | || gdb_define_command (s,fp) | ^ ./gdb_handler.c:597:24: warning: passing arguments to 'xxgdb_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | || xxgdb_command (s,TRUE))) | ^ ./gdb_handler.c:602:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | query_gdb(s, PARSE_ON | ECHO_ON | FILTER_ON); | ^ ./gdb_handler.c:577:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | void read_source_file(file) | ^ In file included from handler.c:84: ./global.h:268: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] 268 | extern void read_source_file(); | ^ In file included from handler.c:158: ./gdb_handler.c:626:20: warning: passing arguments to 'GetPathname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | file = GetPathname(Token.file); | ^ ./gdb_handler.c:654:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | query_gdb("set confirm on\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:658:11: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | query_gdb("frame 0\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:661:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | query_gdb("set confirm off\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:680:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | UpdateMessageWindow(message,NULL); | ^ ./gdb_handler.c:701:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | query_gdb("show directories\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:703:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | query_gdb("info directories\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ ./gdb_handler.c:773:17: warning: passing arguments to 'simplify_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | simplify_path (compile_dir); /* be sure to get only significant path */ | ^ ./gdb_handler.c:778:23: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | UpdateMessageWindow("Path too long \"%s\"", compile_dir); | ^ ./gdb_handler.c:787:17: warning: passing arguments to 'simplify_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | simplify_path (current_source_path); /* be sure to get only significant path */ | ^ ./gdb_handler.c:792:23: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | UpdateMessageWindow("Path too long \"%s\"", current_source_path); | ^ ./gdb_handler.c:798:17: warning: passing arguments to 'simplify_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | simplify_path (current_source); /* be sure to get only significant path */ | ^ ./gdb_handler.c:803:23: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | UpdateMessageWindow("Path too long \"%s\"", current_source); | ^ ./gdb_handler.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | info_source_handler(compile_dir,current_source_path, current_source) | ^ In file included from handler.c:84: ./global.h:260: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] 260 | extern void info_source_handler(); | ^ In file included from handler.c:158: ./gdb_handler.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | simplify_path(path) | ^ In file included from handler.c:84: ./global.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 simplify_path(); | ^ 79 warnings generated. --- datadpy.o --- In file included from datadpy.c:91: ./regex.h:226:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 226 | extern char *re_comp (); | ^ /usr/include/unistd.h:553:7: note: conflicting prototype is here 553 | char *re_comp(const char *); | ^ In file included from datadpy.c:91: ./regex.h:227:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 227 | extern int re_exec (); | ^ /usr/include/unistd.h:554:6: note: conflicting prototype is here 554 | int re_exec(const char *); | ^ datadpy.c:124:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | static void BuildLinePos(dataDpy) | ^ datadpy.c:160:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | static int PositionToLine(dataDpy, pos) | ^ datadpy.c:212:17: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | if (re_match(dataPattern[D_POINTER].buf, selection, strlen(selection), 0, 0) | ^ datadpy.c:229:33: warning: passing arguments to 'parse_gdb_print' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | newcommand = parse_gdb_print(command, dataDpy->buf, dataDpy->buf + left ); | ^ datadpy.c:239:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | query_gdb(newcommand, PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ datadpy.c:181:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | static void SelectPointer(w, event, params, num_params) | ^ datadpy.c:299:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | static void CreateDataPopup(dataDpy, label) | ^ datadpy.c:412:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | static void UpdateDataPopup(dataDpy, label) | ^ datadpy.c:471:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | static void AppendList(head, dataDpy) | ^ datadpy.c:493:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | static void DeleteList(head, dataDpy) | ^ datadpy.c:516:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | static void pop_down(dataDpy) | ^ datadpy.c:551:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | static void DestroyDataCallback(w, dataDpy, call_data) | ^ datadpy.c:117:14: warning: a function declaration without a prototype is 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 | static void DestroyDataCallback(); | ^ datadpy.c:568:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | static void MovePopup(dataDpy) | ^ datadpy.c:668:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | UpdateMessageWindow("Click the label to pop down the data popup",NULL); | ^ datadpy.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 print_handler(output) | ^ In file included from datadpy.c:90: ./global.h:104:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | extern void print_handler(); /* printing variables */ | ^ datadpy.c:740:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | static void add_char(c) | ^ datadpy.c:762:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | static void add_string(s) | ^ datadpy.c:780:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | static void add_num(number) | ^ datadpy.c:796:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | static void init_result(buffer,buflen) | ^ datadpy.c:839:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | void search_char(c) | ^ datadpy.c:918:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | char *parse_gdb_print (commandline, start, current) | ^ 25 warnings generated. --- signs.o --- signs.c:122:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | static Widget CreateSign(parent, sign, i) | ^ signs.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 DisplayStop(file, line) | ^ In file included from signs.c:51: ./global.h:156:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 156 | extern void DisplayStop(); /* show stop sign */ | ^ signs.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 UpdateStops(file) | ^ In file included from signs.c:51: ./global.h:157:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 157 | extern void UpdateStops(); /* update position of stops */ | ^ signs.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 RemoveStop(line) | ^ In file included from signs.c:51: ./global.h:159:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | extern void RemoveStop(); /* undisplay stop sign */ | ^ --- parser.o --- In file included from parser.c:80: ./regex.h:226:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 226 | extern char *re_comp (); | ^ /usr/include/unistd.h:553:7: note: conflicting prototype is here 553 | char *re_comp(const char *); | ^ In file included from parser.c:80: ./regex.h:227:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 227 | extern int re_exec (); | ^ /usr/include/unistd.h:554:6: note: conflicting prototype is here 554 | int re_exec(const char *); | ^ In file included from parser.c:82: ./gdb_regex.h:91:9: warning: 'O_SEARCH' macro redefined [-Wmacro-redefined] --- signs.o --- signs.c:308:15: warning: address of array 'arrow.file' will always evaluate to 'true' [-Wpointer-bool-conversion] 308 | if (arrow.file && !strcmp(arrow.file, file->pathname) && | ~~~~~~^~~~ ~~ signs.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 | void UpdateArrow(file) | ^ In file included from signs.c:51: ./global.h:160: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] 160 | extern void UpdateArrow(); /* update position of arrow */ | ^ signs.c:338:16: warning: address of array 'updown.file' will always evaluate to 'true' [-Wpointer-bool-conversion] 338 | if (updown.file && !strcmp(updown.file, arrow.file) && | ~~~~~~~^~~~ ~~ --- parser.o --- 91 | #define O_SEARCH 8 | ^ /usr/include/fcntl.h:121:9: note: previous definition is here 121 | #define O_SEARCH O_EXEC | ^ In file included from parser.c:82: ./gdb_regex.h:95:9: warning: 'O_DIRECTORY' macro redefined [-Wmacro-redefined] 95 | #define O_DIRECTORY 12 | ^ /usr/include/fcntl.h:119:9: note: previous definition is here 119 | #define O_DIRECTORY 0x00020000 /* Fail if not directory */ | ^ parser.c:125:20: warning: passing arguments to 're_compile_pattern' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | re_compile_pattern(p->pat, strlen(p->pat), p->buf); | ^ parser.c:126:20: warning: passing arguments to 're_compile_fastmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- signs.o --- signs.c:351:16: warning: address of array 'updown.file' will always evaluate to 'true' [-Wpointer-bool-conversion] 351 | if (updown.file && !strcmp(updown.file, file->pathname) && | ~~~~~~~^~~~ ~~ signs.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 UpdateUpdown(file) | ^ In file included from signs.c:51: ./global.h:161: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] 161 | extern void UpdateUpdown(); /* update position of updown */ | ^ signs.c:384:14: warning: address of array 'bomb.file' will always evaluate to 'true' [-Wpointer-bool-conversion] 384 | if (bomb.file && !strcmp(bomb.file, file->pathname) && | ~~~~~^~~~ ~~ --- parser.o --- 126 | re_compile_fastmap(p->buf); | ^ parser.c:110:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | static void compile(patternTable) | ^ parser.c:151:14: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | m = re_match(patternTable[i].buf, string, strlen(string), 0, ®s); | ^ parser.c:138:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | int match(patternTable, string, type) | ^ In file included from parser.c:219: --- signs.o --- signs.c:370:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | void UpdateBomb(file) | ^ In file included from signs.c:51: ./global.h:162: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] 162 | extern void UpdateBomb(); /* update position of bomb */ | ^ 17 warnings generated. --- parser.o --- ./gdb_parser.c:126:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | AppendDialogText("xxgdb error: output from \""); | ^ ./gdb_parser.c:127:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | AppendDialogText(command); | ^ ./gdb_parser.c:128:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | AppendDialogText("\" command is not recognized.\n"); | ^ ./gdb_parser.c:134:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | AppendDialogText(outputstr); | ^ ./gdb_parser.c:136:6: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | bell(0); /* ring the bell in ALL cases */ | ^ ./gdb_parser.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 unknown_output (outputstr, command, flags) | ^ In file included from parser.c:79: ./global.h:264: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] 264 | extern void unknown_output(); | ^ In file included from parser.c:219: ./gdb_parser.c:158:17: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | while (re_match(output_pattern[O_READING_SYMBOLS].buf,output,strlen(output),0,®s) > 0) | ^ ./gdb_parser.c:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | void filter_reading_symbols(output) | ^ ./gdb_parser.c:268:16: warning: passing arguments to 'exec_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | exec_handler(message,signal); | ^ ./gdb_parser.c:273:17: warning: passing arguments to 'done_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | done_handler(message,signal); | ^ ./gdb_parser.c:280:8: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | bell(0); | ^ ./gdb_parser.c:295:8: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | bell(0); | ^ ./gdb_parser.c:365:24: warning: passing arguments to 'info_break_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | info_break_handler(output_string); | ^ ./gdb_parser.c:411:20: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | query_gdb ("pwd\n", PARSE_ON); | ^ ./gdb_parser.c:413:17: warning: passing arguments to 'cd_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | cd_handler(Token.mesg); | ^ ./gdb_parser.c:423:15: warning: passing arguments to 'pwd_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | pwd_handler(Token.display? Token.display : Token.mesg); | ^ ./gdb_parser.c:458:20: warning: passing arguments to 'print_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | print_handler(output_string); | ^ ./gdb_parser.c:518:26: warning: passing arguments to 'info_source_handler' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | info_source_handler(Token.mesg, Token.file, Token.func); | ^ ./gdb_parser.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void parse(output, command, flags) | ^ In file included from parser.c:79: ./global.h:147:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | extern void parse(); /* parse dbx output */ | ^ In file included from parser.c:219: ./gdb_parser.c:604:19: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | AppendDialogText(p + already_taken_care); /* something wrong here */ | ^ ./gdb_parser.c:612:19: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | AppendDialogText(p + already_taken_care); /* print everything before that line */ | ^ ./gdb_parser.c:618:17: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | while (re_match(output_pattern[O_EXEC_DISPLAY].buf,p,strlen(p),0,®s) > 0) | ^ ./gdb_parser.c:649:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | AppendDialogText(p); /* print what is before display */ | ^ ./gdb_parser.c:678:18: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | AppendDialogText(p); /* print what is after display */ | ^ ./gdb_parser.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 filter_display_info(output, already_taken_care) | ^ ./gdb_parser.c:726:16: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | if ((re_match(output_pattern[O_EXEC_MESS_AFTER].buf,output,strlen(output),0,®s) > 0) | ^ ./gdb_parser.c:727:17: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | || (re_match(output_pattern[O_EXEC_MESS_BEFORE].buf,output,strlen(output),0,®s) > 0) | ^ ./gdb_parser.c:728:17: warning: passing arguments to 're_match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | || (re_match(output_pattern[O_EXEC_GDB].buf,output,strlen(output),0,®s) > 0)) | ^ ./gdb_parser.c:786:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | AppendDialogText(string); | ^ ./gdb_parser.c:818:23: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | AppendDialogText(Token.mesg); | ^ ./gdb_parser.c:819:11: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | bell(0); | ^ ./gdb_parser.c:835:23: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | AppendDialogText(Token.mesg); | ^ ./gdb_parser.c:837:12: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | bell(0); /* Warn user WYSIWYG not true */ | ^ ./gdb_parser.c:853:19: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | AppendDialogText(s); | ^ ./gdb_parser.c:868:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | AppendDialogText(string); | ^ ./gdb_parser.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | filter (string, output, command) | ^ In file included from parser.c:79: ./global.h:148:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | extern void filter(); /* modify dbx output */ | ^ In file included from parser.c:219: ./gdb_parser.c:897:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | AppendDialogText(command); | ^ ./gdb_parser.c:890:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | int gdb_source_command(command,echo) | ^ In file included from parser.c:79: ./global.h:274:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | extern int gdb_source_command(); | ^ In file included from parser.c:219: ./gdb_parser.c:930:19: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | AppendDialogText(command); | ^ ./gdb_parser.c:937:13: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | query_gdb("set confirm on\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_parser.c:939:13: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 939 | write_dbx (command); | ^ ./gdb_parser.c:972:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | AppendDialogText(s); | ^ ./gdb_parser.c:974:10: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | bell(0); | ^ ./gdb_parser.c:980:16: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | write_dbx ("y\n"); /* answer to question if any */ | ^ ./gdb_parser.c:996:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | AppendDialogText(s); | ^ ./gdb_parser.c:997:15: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | write_dbx (s); | ^ ./gdb_parser.c:1009:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | AppendDialogText("Error : missing \"end\" in file.\n"); | ^ ./gdb_parser.c:1010:8: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | bell(0); | ^ ./gdb_parser.c:1011:14: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | write_dbx ("end\n"); | ^ ./gdb_parser.c:1015:17: warning: passing arguments to 'insert_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | insert_command("end\n"); /* insert 'end' at head of queue */ | ^ ./gdb_parser.c:1016:21: warning: passing arguments to 'read_until_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | read_until_prompt (PARSE_OFF | ECHO_ON | FILTER_OFF); /* return when prompt */ | ^ ./gdb_parser.c:1019:13: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | query_gdb("set confirm off\n", PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ ./gdb_parser.c:919:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | int gdb_define_command(command,fp) | ^ In file included from parser.c:79: ./global.h:273:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 273 | extern int gdb_define_command(); | ^ In file included from parser.c:219: ./gdb_parser.c:1158:19: warning: passing arguments to 'concat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | string = concat(string, s); | ^ ./gdb_parser.c:1166:18: warning: passing arguments to 'concat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | output = concat(output, string); | ^ ./gdb_parser.c:1175:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | AppendDialogText(xdbxprompt); | ^ ./gdb_parser.c:1184:21: warning: passing arguments to 'concat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | string = concat(string, next_string); | ^ ./gdb_parser.c:1098:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | void read_gdb (flags) | ^ In file included from parser.c:79: ./global.h:263: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] 263 | extern void read_gdb(); | ^ In file included from parser.c:219: ./gdb_parser.c:1226:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | void read_dbx(master, source, id) | ^ In file included from parser.c:79: ./global.h:109: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] 109 | extern void read_dbx(); /* get data from dbx */ | ^ In file included from parser.c:219: ./gdb_parser.c:1252:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1252 | void read_until_prompt (flags) | ^ In file included from parser.c:79: ./global.h:262: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] 262 | extern void read_until_prompt(); | ^ In file included from parser.c:219: ./gdb_parser.c:1276:14: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | write_dbx(command); /* send command to gdb */ | ^ ./gdb_parser.c:1278:19: warning: passing arguments to 'insert_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | insert_command(command); /* insert at head of queue */ | ^ ./gdb_parser.c:1270:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | void query_gdb(command, flags) | ^ In file included from parser.c:79: ./global.h:261: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] 261 | extern void query_gdb(); | ^ In file included from parser.c:219: ./gdb_parser.c:1317:22: warning: passing arguments to 'xxgdb_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | if (xxgdb_command (command, FALSE)) | ^ ./gdb_parser.c:1327:14: warning: passing arguments to 'write_dbx' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | write_dbx (command); | ^ ./gdb_parser.c:1361:20: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | AppendDialogText(command); | ^ ./gdb_parser.c:1365:4: warning: call to undeclared function 'create_io_window'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1365 | create_io_window (); | ^ ./gdb_parser.c:1353:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | int xxgdb_command (command, echo) | ^ In file included from parser.c:79: ./global.h:275:14: warning: a function declaration without a prototype is 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 | extern int xxgdb_command(); | ^ 87 warnings generated. --- signs.o --- --- parser.o --- --- source.o --- source.c:133:30: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | topline = TextPositionToLine(pos); | ^ source.c:156:21: warning: passing arguments to 'UpdateLineLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | UpdateLineLabel(file->topline); | ^ source.c:157:21: warning: passing arguments to 'UpdateStops' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | UpdateStops(file); | ^ source.c:158:21: warning: passing arguments to 'UpdateArrow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | UpdateArrow(file); | ^ source.c:159:22: warning: passing arguments to 'UpdateUpdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | UpdateUpdown(file); | ^ source.c:160:20: warning: passing arguments to 'UpdateBomb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | UpdateBomb(file); | ^ source.c:164:40: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | UpdateLineLabel(TextPositionToLine(pos)); | ^ source.c:164:21: warning: passing arguments to 'UpdateLineLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | UpdateLineLabel(TextPositionToLine(pos)); | ^ source.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 Update(w, event, params, num_params) | ^ In file included from source.c:85: ./global.h:170:14: warning: a function declaration without a prototype is 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 | extern void Update(); /* update line label */ | ^ source.c:187:36: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | file->topline = TextPositionToLine(pos); | ^ source.c:190:20: warning: passing arguments to 'UpdateStops' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | UpdateStops(file); | ^ source.c:191:20: warning: passing arguments to 'UpdateArrow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | UpdateArrow(file); | ^ source.c:192:21: warning: passing arguments to 'UpdateUpdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | UpdateUpdown(file); | ^ source.c:193:19: warning: passing arguments to 'UpdateBomb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | UpdateBomb(file); | ^ source.c:174:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | static void NotifyResize(w, event, params, num_params) | ^ source.c:237:24: warning: passing arguments to 'TextSetTopPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | TextSetTopPosition(w, topPosition); | ^ source.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 SelectStart(w, event, params, num_params) | ^ In file included from source.c:85: ./global.h:166:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | extern void SelectStart(); /* modified select-start */ | ^ source.c:244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | void SelectEnd(w, event, params, num_params) | ^ In file included from source.c:85: ./global.h:167:14: warning: a function declaration without a prototype is 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 | extern void SelectEnd(); /* modified select-end */ | ^ source.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 SelectWord(w, event, params, num_params) | ^ In file included from source.c:85: ./global.h:168:14: warning: a function declaration without a prototype is 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 | extern void SelectWord(); /* my select word */ | ^ source.c:343:28: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | UpdateMessageWindow(PRINT_HELP, NULL); | ^ source.c:344:13: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | bell(0); | ^ source.c:348:17: warning: passing arguments to 'send_command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | send_command(command); | ^ source.c:349:21: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | AppendDialogText(command); | ^ source.c:331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | void PrintSelection(w, event, params, num_params) | ^ In file included from source.c:85: ./global.h:169:14: warning: a function declaration without a prototype is 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 | extern void PrintSelection(); /* select variable and print */ | ^ source.c:355:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | void EdAction(w, event, params, num_params) | ^ source.c:366:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 366 | extern PopupSearch(); | ~~~~~~ ^ | int source.c:373:14: warning: passing arguments to 'PopupSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | PopupSearch(w, NULL, NULL); | ^ source.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 Search(w, event, params, num_params) | ^ source.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 CreateSourceWindow(parent) | ^ In file included from source.c:85: ./global.h:172: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] 172 | extern void CreateSourceWindow(); | ^ source.c:556:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | static void BuildLinePos(file) | ^ source.c:599:29: warning: passing arguments to 'GetPathname' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | newfullname = GetPathname(fileTable[i]->filename); | ^ source.c:615:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | AppendDialogText("Warning : new path to \""); | ^ source.c:616:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | AppendDialogText(fileTable[i]->filename); | ^ source.c:617:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | AppendDialogText("\" is \""); | ^ source.c:618:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | AppendDialogText(newfullname); | ^ source.c:619:22: warning: passing arguments to 'AppendDialogText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | AppendDialogText("\".\n"); | ^ source.c:674:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | UpdateMessageWindow("Error: cannot stat file %s", pathname); | ^ source.c:685:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | UpdateMessageWindow("WARNING : file %s was modified", pathname); | ^ source.c:720:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | UpdateMessageWindow("Error: cannot open file %s", pathname); | ^ source.c:724:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | UpdateMessageWindow("Error: cannot fstat file %s", pathname); | ^ source.c:734:21: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | UpdateMessageWindow("Error: cannot read file %s", pathname); | ^ source.c:654:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | static int LookUpFileTable(pathname, filename, file) | ^ source.c:764:49: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | displayedFile->currentline = TextPositionToLine(pos); | ^ source.c:774:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | static void DisplayFile(file) | ^ source.c:795:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | static char *expand(filename) | ^ source.c:880:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | query_gdb (command, PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ source.c:824:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | void MakeDirList(output) | ^ In file included from source.c:85: ./global.h:176:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | extern void MakeDirList(); /* maintain list of dirs */ | ^ source.c:923:17: warning: passing arguments to 'simplify_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | simplify_path (pathname); /* be sure to get only significant path */ | ^ source.c:936:24: warning: passing arguments to 'UpdateMessageWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | UpdateMessageWindow("File not found: %s", filename); | ^ source.c:937:6: warning: passing arguments to 'bell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | bell(0); | ^ source.c:892:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | char *GetPathname(filename) | ^ In file included from source.c:85: ./global.h:175: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] 175 | extern char *GetPathname(); /* get full path name of file */ | ^ source.c:966:21: warning: passing arguments to 'UpdateFileLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | UpdateFileLabel(pathname); | ^ source.c:969:21: warning: passing arguments to 'UpdateLineLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | UpdateLineLabel(file->currentline); | ^ source.c:970:17: warning: passing arguments to 'UpdateStops' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | UpdateStops(file); | ^ source.c:971:17: warning: passing arguments to 'UpdateArrow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | UpdateArrow(file); | ^ source.c:972:18: warning: passing arguments to 'UpdateUpdown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | UpdateUpdown(file); | ^ source.c:973:16: warning: passing arguments to 'UpdateBomb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | UpdateBomb(file); | ^ source.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 LoadFile(filename) | ^ In file included from source.c:85: ./global.h:173:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 173 | extern int LoadFile(); /* display source file */ | ^ source.c:986:15: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | query_gdb ("info line\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ source.c:1011:50: warning: passing arguments to 'TextPositionToLine' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | displayedFile->currentline = TextPositionToLine(pos); | ^ source.c:1065:11: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | query_gdb("info source\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ source.c:1077:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | query_gdb(list_src_cmd, PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ source.c:1081:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | query_gdb("info source\n", PARSE_ON | ECHO_OFF | FILTER_OFF); | ^ source.c:1092:12: warning: passing arguments to 'query_gdb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | query_gdb(list_src_cmd, PARSE_OFF | ECHO_OFF | FILTER_OFF); | ^ source.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | GetSourcePathname (filename) | ^ In file included from source.c:85: ./global.h:272: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] 272 | extern char * GetSourcePathname(); | ^ 75 warnings generated. --- xxgdb --- rm -f xxgdb cc -o xxgdb -O0 -L/usr/local/lib calldbx.o command.o dbx.o dialog.o datadpy.o filemenu.o handler.o parser.o regex.o signs.o signals.o source.o utils.o windows.o xdbx.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lutil -Wl,-rpath,/usr/local/lib cd /wrkdirs/usr/ports/devel/xxgdb/work/xxgdb-1.12 && cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -o xxgdbiowin xxgdbiowin.c xxgdbiowin.c:17:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | handler (sig) | ^ xxgdbiowin.c:22:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | main () | ^ | int xxgdbiowin.c:42:30: warning: call to undeclared function 'ttyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | sprintf(ttypid, "%s,%d", ttyname(0), getpid()); | ^ xxgdbiowin.c:42:42: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | sprintf(ttypid, "%s,%d", ttyname(0), getpid()); | ^ xxgdbiowin.c:42:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 42 | sprintf(ttypid, "%s,%d", ttyname(0), getpid()); | ~~ ^~~~~~~~~~ | %d xxgdbiowin.c:46:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | strcpy(name.sun_path, "/tmp/iowindowtty"); | ^ xxgdbiowin.c:46:5: note: include the header or explicitly provide a declaration for 'strcpy' xxgdbiowin.c:49:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | close(sock); | ^ xxgdbiowin.c:57:5: warning: call to undeclared function 'setpgrp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | setpgrp(0,0); | ^ xxgdbiowin.c:61:15: warning: call to undeclared function 'pause'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | while (1) pause(); | ^ 9 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> xxgdb-1.12_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xxgdb-1.12_5 ===> Generating temporary packing list /usr/bin/install -c -s xxgdb /wrkdirs/usr/ports/devel/xxgdb/work/stage/usr/local/bin/xxgdb /usr/bin/install -c -m 0444 XDbx.ad /wrkdirs/usr/ports/devel/xxgdb/work/stage/usr/local/lib/X11/app-defaults/XDbx install in . done rm -f /wrkdirs/usr/ports/devel/xxgdb/work/stage/usr/local/share/man/man1/xxgdb.1* /usr/bin/install -c -m 0444 xxgdb._man /wrkdirs/usr/ports/devel/xxgdb/work/stage/usr/local/share/man/man1/xxgdb.1 gzip -n /wrkdirs/usr/ports/devel/xxgdb/work/stage/usr/local/share/man/man1/xxgdb.1 install.man in . done install -s -m 555 /wrkdirs/usr/ports/devel/xxgdb/work/xxgdb-1.12/xxgdbiowin /wrkdirs/usr/ports/devel/xxgdb/work/stage/usr/local/bin ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-13T10:22:03+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e427ab10bfca' '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 xxgdb-1.12_5 ===> Building xxgdb-1.12_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xxgdb-1.12_5 build of devel/xxgdb | xxgdb-1.12_5 ended at Fri Mar 13 06:22:50 EDT 2026 build time: 00:00:48