=>> Building x11-toolkits/Xaw3d build started at 2025-01-02T20:47:27-06:00 port directory: /usr/ports/x11-toolkits/Xaw3d package name: Xaw3d-1.5E_8 building for: FreeBSD 142amd64-current-job-05 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: ports@FreeBSD.org port version: 1.5E port revision: 8 Makefile datestamp: -rw-r--r-- 1 root wheel 767 Jul 25 2022 /usr/ports/x11-toolkits/Xaw3d/Makefile Ports top last git commit: 75b52cbaa1de Ports top unclean checkout: no =>> Inspecting /poudriere/data/.m/142amd64-current/05//usr/ports/x11-toolkits/Xaw3d for modifications to git checkout... no Port dir last git commit: 71b6a9f9c7b4 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20241212 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 05 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-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 USE_COLORS=no POUDRIERE_VERSION=3.4.99.20241212 MASTERMNT=/poudriere/data/.m/142amd64-current/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/poudriere/data/.m/142amd64-current/05/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=142amd64-current OLDPWD=/poudriere/data/.m/142amd64-current/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20241212 PREFIX=/usr/local POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for Xaw3d-1.5E_8: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --PORTVERSION-- 1.5E --End PORTVERSION-- --PORTREVISION-- 8 --End PORTREVISION-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/.cache HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/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/x11-toolkits/Xaw3d/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/.cache HOME=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/Xaw3d/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=" -fstack-protector-strong " 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-- PORTDOCS="" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/Xaw3d" EXAMPLESDIR="share/examples/Xaw3d" DATADIR="share/Xaw3d" WWWDIR="www/Xaw3d" ETCDIR="etc/Xaw3d" --End PLIST_SUB-- --SUB_LIST-- XAWVER="8" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/Xaw3d DOCSDIR=/usr/local/share/doc/Xaw3d EXAMPLESDIR=/usr/local/share/examples/Xaw3d WWWDIR=/usr/local/www/Xaw3d ETCDIR=/usr/local/etc/Xaw3d --End SUB_LIST-- ---Begin make.conf--- 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 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) 63795 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The Xaw3d port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> Xaw3d-1.5E_8 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [142amd64-current-job-05] Installing pkg-1.21.3... [142amd64-current-job-05] Extracting pkg-1.21.3: .......... done ===> Xaw3d-1.5E_8 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of Xaw3d-1.5E_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =>> Debug: gather_distfiles: missing '/poudriere/data/.m/142amd64-current/05/portdistfiles//Xaw3d-1.5E.tar.gz'=================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The Xaw3d port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user ===> Fetching all distfiles required by Xaw3d-1.5E_8 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The Xaw3d port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user ===> Fetching all distfiles required by Xaw3d-1.5E_8 for building => SHA256 Checksum OK for Xaw3d-1.5E.tar.gz. =========================================================================== =>> Debug: gather_distfiles: skipping copy '/poudriere/distfiles//Xaw3d-1.5E.tar.gz'=================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The Xaw3d port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License MIT accepted by the user ===> Fetching all distfiles required by Xaw3d-1.5E_8 for building ===> Extracting for Xaw3d-1.5E_8 => SHA256 Checksum OK for Xaw3d-1.5E.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 Xaw3d-1.5E_8 ===> Applying FreeBSD patches for Xaw3d-1.5E_8 from /usr/ports/x11-toolkits/Xaw3d/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> Xaw3d-1.5E_8 depends on package: gettext-runtime>=0.22_1 - not found ===> Installing existing package /packages/All/gettext-runtime-0.23.pkg [142amd64-current-job-05] Installing gettext-runtime-0.23... [142amd64-current-job-05] `-- Installing indexinfo-0.3.1... [142amd64-current-job-05] `-- Extracting indexinfo-0.3.1: .... done [142amd64-current-job-05] Extracting gettext-runtime-0.23: .......... done ===> Xaw3d-1.5E_8 depends on package: gettext-runtime>=0.22_1 - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on executable: msgfmt - not found ===> Installing existing package /packages/All/gettext-tools-0.23.pkg [142amd64-current-job-05] Installing gettext-tools-0.23... [142amd64-current-job-05] `-- Installing libtextstyle-0.23... [142amd64-current-job-05] `-- Extracting libtextstyle-0.23: .......... done [142amd64-current-job-05] Extracting gettext-tools-0.23: .......... done ===> Xaw3d-1.5E_8 depends on executable: msgfmt - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [142amd64-current-job-05] Installing imake-1.0.10_1,1... [142amd64-current-job-05] `-- Installing gccmakedep-1.0.4... [142amd64-current-job-05] `-- Extracting gccmakedep-1.0.4: .. done [142amd64-current-job-05] `-- Installing makedepend-1.0.9,1... [142amd64-current-job-05] `-- Extracting makedepend-1.0.9,1: ..... done [142amd64-current-job-05] `-- Installing perl5-5.36.3_2... [142amd64-current-job-05] `-- Extracting perl5-5.36.3_2: .......... done [142amd64-current-job-05] `-- Installing xorg-cf-files-1.0.8_1... [142amd64-current-job-05] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [142amd64-current-job-05] Extracting imake-1.0.10_1,1: .......... done ===> Xaw3d-1.5E_8 depends on executable: imake - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [142amd64-current-job-05] Installing tradcpp-0.5.3... [142amd64-current-job-05] Extracting tradcpp-0.5.3: ..... done ===> Xaw3d-1.5E_8 depends on executable: tradcpp - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.9,1.pkg [142amd64-current-job-05] Installing libX11-1.8.9,1... [142amd64-current-job-05] `-- Installing libxcb-1.17.0... [142amd64-current-job-05] | `-- Installing libXau-1.0.11... [142amd64-current-job-05] | `-- Extracting libXau-1.0.11: .......... done [142amd64-current-job-05] | `-- Installing libXdmcp-1.1.5... [142amd64-current-job-05] | | `-- Installing xorgproto-2024.1... [142amd64-current-job-05] | | `-- Extracting xorgproto-2024.1: .......... done [142amd64-current-job-05] | `-- Extracting libXdmcp-1.1.5: ......... done [142amd64-current-job-05] `-- Extracting libxcb-1.17.0: .......... done [142amd64-current-job-05] Extracting libX11-1.8.9,1: .......... done ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [142amd64-current-job-05] Installing libXext-1.3.6,1... [142amd64-current-job-05] Extracting libXext-1.3.6,1: .......... done ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [142amd64-current-job-05] Installing libXmu-1.1.4,1... [142amd64-current-job-05] `-- Installing libXt-1.3.0,1... [142amd64-current-job-05] | `-- Installing libICE-1.1.1,1... [142amd64-current-job-05] | `-- Extracting libICE-1.1.1,1: .......... done [142amd64-current-job-05] | `-- Installing libSM-1.2.4,1... [142amd64-current-job-05] | `-- Extracting libSM-1.2.4,1: .......... done [142amd64-current-job-05] `-- Extracting libXt-1.3.0,1: .......... done [142amd64-current-job-05] Extracting libXmu-1.1.4,1: .......... done ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.17_1.pkg [142amd64-current-job-05] Installing libXpm-3.5.17_1... [142amd64-current-job-05] Extracting libXpm-3.5.17_1: .......... done ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of Xaw3d-1.5E_8 ===> Xaw3d-1.5E_8 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_7.pkg [142amd64-current-job-05] Installing ccache-3.7.12_7... [142amd64-current-job-05] Extracting ccache-3.7.12_7: .......... 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_7: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> Xaw3d-1.5E_8 depends on file: /usr/local/bin/ccache - found ===> Returning to build of Xaw3d-1.5E_8 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> Xaw3d-1.5E_8 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for Xaw3d-1.5E_8 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes + mkdir unshared sed -e 's/\/\* I18n support \*\//#define XAW_INTERNATIONALIZATION/' -e 's/\/\* XPM support \*\//#undef XAW_MULTIPLANE_PIXMAPS/' -e 's/\/\* gray stipples \*\//#define XAW_GRAY_BLKWHT_STIPPLES/' Xaw3dP.h.sed > Xaw3dP.h + mkdir -p ./exports/include/X11/Xaw3d + cd ./exports/include/X11/Xaw3d + rm -f AllWidgets.h + ln -s ../../../.././AllWidgets.h . + rm -f AsciiSink.h + ln -s ../../../.././AsciiSink.h . + rm -f AsciiSinkP.h + ln -s ../../../.././AsciiSinkP.h . + rm -f AsciiSrc.h + ln -s ../../../.././AsciiSrc.h . + rm -f AsciiSrcP.h + ln -s ../../../.././AsciiSrcP.h . + rm -f AsciiText.h + ln -s ../../../.././AsciiText.h . + rm -f AsciiTextP.h + ln -s ../../../.././AsciiTextP.h . + rm -f Box.h + ln -s ../../../.././Box.h . + rm -f BoxP.h + ln -s ../../../.././BoxP.h . + rm -f Cardinals.h + ln -s ../../../.././Cardinals.h . + rm -f Command.h + ln -s ../../../.././Command.h . + rm -f CommandP.h + ln -s ../../../.././CommandP.h . + rm -f Dialog.h + ln -s ../../../.././Dialog.h . + rm -f DialogP.h + ln -s ../../../.././DialogP.h . + rm -f Form.h + ln -s ../../../.././Form.h . + rm -f FormP.h + ln -s ../../../.././FormP.h . + rm -f Grip.h + ln -s ../../../.././Grip.h . + rm -f GripP.h + ln -s ../../../.././GripP.h . + rm -f Label.h + ln -s ../../../.././Label.h . + rm -f LabelP.h + ln -s ../../../.././LabelP.h . + rm -f Layout.h + ln -s ../../../.././Layout.h . + rm -f LayoutP.h + ln -s ../../../.././LayoutP.h . + rm -f List.h + ln -s ../../../.././List.h . + rm -f ListP.h + ln -s ../../../.././ListP.h . + rm -f MenuButton.h + ln -s ../../../.././MenuButton.h . + rm -f MenuButtoP.h + ln -s ../../../.././MenuButtoP.h . + rm -f Paned.h + ln -s ../../../.././Paned.h . + rm -f PanedP.h + ln -s ../../../.././PanedP.h . + rm -f Panner.h + ln -s ../../../.././Panner.h . + rm -f PannerP.h + ln -s ../../../.././PannerP.h . + rm -f Porthole.h + ln -s ../../../.././Porthole.h . + rm -f PortholeP.h + ln -s ../../../.././PortholeP.h . + rm -f Repeater.h + ln -s ../../../.././Repeater.h . + rm -f RepeaterP.h + ln -s ../../../.././RepeaterP.h . + rm -f Reports.h + ln -s ../../../.././Reports.h . + rm -f Scrollbar.h + ln -s ../../../.././Scrollbar.h . + rm -f ScrollbarP.h + ln -s ../../../.././ScrollbarP.h . + rm -f Simple.h + ln -s ../../../.././Simple.h . + rm -f SimpleP.h + ln -s ../../../.././SimpleP.h . + rm -f SimpleMenu.h + ln -s ../../../.././SimpleMenu.h . + rm -f SimpleMenP.h + ln -s ../../../.././SimpleMenP.h . + rm -f Sme.h + ln -s ../../../.././Sme.h . + rm -f SmeP.h + ln -s ../../../.././SmeP.h . + rm -f SmeBSB.h + ln -s ../../../.././SmeBSB.h . + rm -f SmeBSBP.h + ln -s ../../../.././SmeBSBP.h . + rm -f SmeLine.h + ln -s ../../../.././SmeLine.h . + rm -f SmeLineP.h + ln -s ../../../.././SmeLineP.h . + rm -f SmeThreeD.h + ln -s ../../../.././SmeThreeD.h . + rm -f SmeThreeDP.h + ln -s ../../../.././SmeThreeDP.h . + rm -f StripChart.h + ln -s ../../../.././StripChart.h . + rm -f StripCharP.h + ln -s ../../../.././StripCharP.h . + rm -f Template.c + ln -s ../../../.././Template.c . + rm -f Template.h + ln -s ../../../.././Template.h . + rm -f TemplateP.h + ln -s ../../../.././TemplateP.h . + rm -f Text.h + ln -s ../../../.././Text.h . + rm -f TextP.h + ln -s ../../../.././TextP.h . + rm -f TextSink.h + ln -s ../../../.././TextSink.h . + rm -f TextSinkP.h + ln -s ../../../.././TextSinkP.h . + rm -f TextSrc.h + ln -s ../../../.././TextSrc.h . + rm -f TextSrcP.h + ln -s ../../../.././TextSrcP.h . + rm -f ThreeD.h + ln -s ../../../.././ThreeD.h . + rm -f ThreeDP.h + ln -s ../../../.././ThreeDP.h . + rm -f Tip.h + ln -s ../../../.././Tip.h . + rm -f TipP.h + ln -s ../../../.././TipP.h . + rm -f Toggle.h + ln -s ../../../.././Toggle.h . + rm -f ToggleP.h + ln -s ../../../.././ToggleP.h . + rm -f Tree.h + ln -s ../../../.././Tree.h . + rm -f TreeP.h + ln -s ../../../.././TreeP.h . + rm -f Viewport.h + ln -s ../../../.././Viewport.h . + rm -f ViewportP.h + ln -s ../../../.././ViewportP.h . + rm -f Xaw3dP.h + ln -s ../../../.././Xaw3dP.h . + rm -f XawInit.h + ln -s ../../../.././XawInit.h . + rm -f MultiSrc.h + ln -s ../../../.././MultiSrc.h . + rm -f MultiSrcP.h + ln -s ../../../.././MultiSrcP.h . + rm -f MultiSink.h + ln -s ../../../.././MultiSink.h . + rm -f MultiSinkP.h + ln -s ../../../.././MultiSinkP.h . + rm -f VendorEP.h + ln -s ../../../.././VendorEP.h . + rm -f XawImP.h + ln -s ../../../.././XawImP.h . make depend yacc -d laygram.y sed -e 's/yy/LayYY/g' y.tab.c > laygram.c sed -e 's/yy/LayYY/g' y.tab.h > laygram.h rm -f y.tab.c y.tab.h flex -l laylex.l sed -e 's/yy/LayYY/g' lex.yy.c > laylex.c rm -f lex.yy.c rm -f .depend gccmakedep -f- -- -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- AllWidgets.c AsciiSink.c AsciiSrc.c AsciiText.c Box.c Command.c Dialog.c Form.c Grip.c Label.c Layout.c List.c MenuButton.c Paned.c Panner.c Porthole.c Repeater.c Scrollbar.c Simple.c SimpleMenu.c Sme.c SmeBSB.c SmeLine.c SmeThreeD.c StripChart.c Text.c TextSink.c TextSrc.c TextAction.c TextPop.c TextTr.c ThreeD.c Tip.c Toggle.c Tree.c Vendor.c Viewport.c Xaw3dP.c XawInit.c sharedlib.c laygram.c laylex.c MultiSrc.c MultiSink.c XawIm.c XawI18n.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for Xaw3d-1.5E_8 --- all --- --- AllWidgets.o --- --- Box.o --- --- Form.o --- --- Layout.o --- --- Porthole.o --- --- AllWidgets.o --- rm -f AllWidgets.o unshared/AllWidgets.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AllWidgets.c -o unshared/AllWidgets.o --- Box.o --- rm -f Box.o unshared/Box.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Box.c -o unshared/Box.o --- Form.o --- rm -f Form.o unshared/Form.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Form.c -o unshared/Form.o --- TextTr.o --- --- Porthole.o --- rm -f Porthole.o unshared/Porthole.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Porthole.c -o unshared/Porthole.o --- AllWidgets.o --- rm -f AllWidgets.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC AllWidgets.c --- Layout.o --- rm -f Layout.o unshared/Layout.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Layout.c -o unshared/Layout.o --- Box.o --- Box.c:160:13: 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 void DoLayout(bbw, width, height, reply_width, reply_height, position) | ^ Box.c:291:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static XtGeometryResult PreferredSize(widget, constraint, preferred) | ^ Box.c:94: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] 94 | static XtGeometryResult PreferredSize(); | ^ Box.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 Resize(w) | ^ Box.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void Resize(); | ^ Box.c:413:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static Boolean TryNewLayout(bbw) | ^ Box.c:504:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | static XtGeometryResult GeometryManager(w, request, reply) | ^ Box.c:92: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] 92 | static XtGeometryResult GeometryManager(); | ^ Box.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 ChangeManaged(w) | ^ Box.c:93:13: warning: a function declaration without a prototype is 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 | static void ChangeManaged(); | ^ Box.c:584:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | static void Initialize(request, new, args, num_args) | ^ Box.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void Initialize(); | ^ Box.c:604:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static void Realize(w, valueMask, attributes) | ^ Box.c:89:13: warning: a function declaration without a prototype is 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 | static void Realize(); | ^ Box.c:617:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | static Boolean SetValues(current, request, new, args, num_args) | ^ Box.c:91: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] 91 | static Boolean SetValues(); | ^ 16 warnings generated. rm -f Box.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Box.c --- TextTr.o --- rm -f TextTr.o unshared/TextTr.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextTr.c -o unshared/TextTr.o --- Layout.o --- Layout.c:218:20: warning: passing arguments to 'LayYYsetsource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | LayYYsetsource ((char *) from->addr); | ^ Layout.c:220:18: warning: passing arguments to 'LayYYsetdest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | LayYYsetdest ((BoxPtr *) to->addr); | ^ Layout.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | CvtStringToLayout (dpy, args, num_args, from, to, converter_data) | ^ Layout.c:234:22: warning: passing arguments to 'LayoutFreeLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | LayoutFreeLayout (* (LayoutPtr *) to->addr); | ^ Layout.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | DisposeLayout (app, to, data, args, num_args) | ^ Layout.c:297:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | LayoutLayout (w, TRUE); | ^ Layout.c:264:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | static XtGeometryResult GeometryManager(child, request, reply) | ^ Layout.c:89: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] 89 | static XtGeometryResult GeometryManager(); | ^ Layout.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static void Initialize(request, new, args, num_args) | ^ Layout.c:86:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void ClassInitialize(), Initialize(); | ^ Layout.c:319:17: warning: passing arguments to 'GetDesiredSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | GetDesiredSize (*children); | ^ Layout.c:320:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Tree.o --- --- Layout.o --- 320 | LayoutLayout ((LayoutWidget) w, TRUE); | ^ Layout.c:310:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | static void ChangeManaged(gw) | ^ Layout.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void ChangeManaged(); | ^ Layout.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | GetDesiredSize (child) | ^ Layout.c:93:13: warning: a function declaration without a prototype is 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 | static void GetDesiredSize (); | ^ Layout.c:341:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | static void InsertChild (child) | ^ Layout.c:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static void InsertChild(); | ^ Layout.c:352:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | LayoutLayout ((LayoutWidget) gw, FALSE); | ^ Layout.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Resize(gw) | ^ Layout.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Resize(); | ^ Layout.c:366:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | LayoutLayout (new, TRUE); | ^ Layout.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | SetValues(gold, greq, gnew, args, num_args) | ^ Layout.c:88: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] 88 | static Boolean SetValues(); --- Tree.o --- rm -f Tree.o unshared/Tree.o --- Layout.o --- | ^ Layout.c:381:26: warning: passing arguments to 'LayoutGetNaturalSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | LayoutGetNaturalSize (w, &prefered_size.width, &prefered_size.height); | ^ Layout.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | QueryGeometry (gw, request, prefered_return) | ^ Layout.c:92: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] 92 | static XtGeometryResult QueryGeometry (); | ^ Layout.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | PrintGlue (g) | ^ Layout.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | PrintDirection (dir) | ^ Layout.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | TabTo(level) | ^ Layout.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | PrintBox (box, level) | ^ Layout.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | LookupVariable (child, quark) | ^ Layout.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | Evaluate (l, box, expr, natural) | ^ Layout.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | DisposeExpr (expr) | ^ Layout.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | ComputeNaturalSizes (l, box, dir) | ^ Layout.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | ComputeSizes (box) | ^ Layout.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | SetSizes (box, x, y) | ^ Layout.c:955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Tree.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Tree.c -o unshared/Tree.o --- Layout.o --- 955 | LayoutFreeLayout (box) | ^ Layout.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void LayoutFreeLayout (); | ^ Layout.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | LayoutGetNaturalSize (l, widthp, heightp) | ^ Layout.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void LayoutGetNaturalSize (); | ^ Layout.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | LayoutLayout (l, attemptResize) | ^ Layout.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void LayoutLayout (); | ^ 43 warnings generated. rm -f Layout.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Layout.c --- Form.o --- Form.c:172:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | static void _CvtStringToEdgeType(args, num_args, fromVal, toVal) | ^ Form.c:223:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | static void ClassPartInitialize(class) | ^ Form.c:94:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); | ^ Form.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static void Initialize(request, new, args, num_args) | ^ Form.c:94:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); | ^ Form.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | ChangeFormGeometry(w, query_only, width, height, ret_width, ret_height) | ^ Form.c:347:17: warning: passing arguments to 'LayoutChild' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | LayoutChild(*childP); | ^ Form.c:381:20: warning: passing arguments to 'ResizeChildren' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | ResizeChildren((Widget) fw); | ^ Form.c:323:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | static Boolean Layout(fw, width, height, force_relayout) | ^ Form.c:99: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] 99 | static Boolean Layout(); | ^ Form.c:396:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | static void ResizeChildren(w) | ^ Form.c:101:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void LayoutChild(), ResizeChildren(); | ^ Form.c:428:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | static void LayoutChild(w) | ^ Form.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void LayoutChild(), ResizeChildren(); | ^ Form.c:478:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | static Position TransformCoord(loc, old, new, type) | ^ Form.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | static void Resize(w) | ^ Form.c:94:69: warning: a function declaration without a prototype is 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 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); | ^ Form.c:568:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | (fw, 0, 0, True); | ^ Form.c:590:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | (fw, 0, 0, True); | ^ Form.c:610:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | ( fw, w->core.width, w->core.height, | ^ Form.c:638:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | ( fw, w->core.width, w->core.height, | ^ Form.c:548:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | static XtGeometryResult GeometryManager(w, request, reply) | ^ Form.c:97: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] 97 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ Form.c:669:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | static Boolean SetValues(current, request, new, args, num_args) | ^ Form.c:96: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] 96 | static Boolean SetValues(), ConstraintSetValues(); | ^ Form.c:679:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | static void ConstraintInitialize(request, new, args, num_args) | ^ Form.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void ConstraintInitialize(); | ^ Form.c:700:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | static Boolean ConstraintSetValues(current, request, new, args, num_args) | ^ Form.c:96:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static Boolean SetValues(), ConstraintSetValues(); | ^ Form.c:769:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | ((FormWidget) w, w->core.width, | ^ Form.c:735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | static void ChangeManaged(w) | ^ Form.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void ChangeManaged(); | ^ Form.c:783:33: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 783 | if ( request->request_mode & (CWWidth | CWHeight) == | ^~~~~~~~~~~~~~~~~~~~~~~~~ 784 | (CWWidth | CWHeight) | ~~~~~~~~~~~~~~~~~~~~ Form.c:783:33: note: place parentheses around the '==' expression to silence this warning 783 | if ( request->request_mode & (CWWidth | CWHeight) == | ^ | ( 784 | (CWWidth | CWHeight) | | ) Form.c:783:33: note: place parentheses around the & expression to evaluate it first 783 | if ( request->request_mode & (CWWidth | CWHeight) == | ^ | ( ) Form.c:774:25: 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 XtGeometryResult PreferredGeometry( widget, request, reply ) | ^ Form.c:97:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ 35 warnings generated. rm -f Form.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Form.c --- Porthole.o --- Porthole.c:116:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | static Widget find_child (pw) | ^ Porthole.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | static void SendReport (pw, changed) | ^ Porthole.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | static void layout_child (pw, child, geomp, xp, yp, widthp, heightp) | ^ Porthole.c:206:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | static void Realize (gw, valueMask, attributes) | ^ Porthole.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void Realize(); /* set gravity and upcall */ | ^ Porthole.c:221:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | static void Resize (gw) | ^ Porthole.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void Resize(); /* report new size */ | ^ Porthole.c:244:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | static XtGeometryResult QueryGeometry (gw, intended, preferred) | ^ Porthole.c:58: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] 58 | static XtGeometryResult QueryGeometry(); /* say how big would like to be */ | ^ Porthole.c:272:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | static XtGeometryResult GeometryManager (w, req, reply) | ^ Porthole.c:56: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] 56 | static XtGeometryResult GeometryManager(); /* deal with child requests */ | ^ Porthole.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static void ChangeManaged (gw) | ^ Porthole.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void ChangeManaged(); /* somebody added a new widget */ | ^ 13 warnings generated. --- TextTr.o --- rm -f TextTr.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC TextTr.c --- Porthole.o --- rm -f Porthole.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Porthole.c --- XawInit.o --- --- Box.o --- Box.c:160:13: 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 void DoLayout(bbw, width, height, reply_width, reply_height, position) | ^ Box.c:291:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static XtGeometryResult PreferredSize(widget, constraint, preferred) | ^ Box.c:94: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] 94 | static XtGeometryResult PreferredSize(); | ^ Box.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] --- XawInit.o --- rm -f XawInit.o unshared/XawInit.o --- Box.o --- 395 | static void Resize(w) | ^ Box.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void Resize(); | ^ Box.c:413:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static Boolean TryNewLayout(bbw) | ^ Box.c:504:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | static XtGeometryResult GeometryManager(w, request, reply) | ^ Box.c:92: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] 92 | static XtGeometryResult GeometryManager(); | ^ Box.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 ChangeManaged(w) | ^ Box.c:93:13: warning: a function declaration without a prototype is 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 | static void ChangeManaged(); | ^ Box.c:584:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | static void Initialize(request, new, args, num_args) | ^ Box.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void Initialize(); | ^ Box.c:604:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static void Realize(w, valueMask, attributes) | ^ Box.c:89:13: warning: a function declaration without a prototype is 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 | static void Realize(); | ^ Box.c:617:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | static Boolean SetValues(current, request, new, args, num_args) | ^ Box.c:91: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] 91 | static Boolean SetValues(); | ^ 16 warnings generated. --- XawInit.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XawInit.c -o unshared/XawInit.o --- XawI18n.o --- rm -f XawI18n.o unshared/XawI18n.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XawI18n.c -o unshared/XawI18n.o --- Tree.o --- Tree.c:184:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | static void initialize_dimensions (listp, sizep, n) | ^ Tree.c:211:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | static GC get_tree_gc (w) | ^ Tree.c:227:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | static void insert_node (parent, node) | ^ Tree.c:77: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] 77 | static void insert_node(); | ^ Tree.c:261:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | static void delete_node (parent, node) | ^ Tree.c:78: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] 78 | static void delete_node(); | ^ Tree.c:297:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | static void check_gravity (tw, grav) | ^ Tree.c:326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | static void Initialize (grequest, gnew, args, num_args) | ^ --- XawInit.o --- rm -f XawInit.o --- Tree.o --- Tree.c:65: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] 65 | static void Initialize(); | ^ Tree.c:384:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | static void ConstraintInitialize (request, new, args, num_args) | ^ Tree.c:66: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] 66 | static void ConstraintInitialize(); | ^ Tree.c:456:14: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | layout_tree (new, TRUE); | ^ Tree.c:416:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) | ^ Tree.c:70: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] 70 | static Boolean SetValues(); | ^ Tree.c:489:16: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | layout_tree (tw, FALSE); | ^ Tree.c:464:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | static Boolean ConstraintSetValues (current, request, new, args, num_args) | ^ Tree.c:68: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] 68 | static Boolean ConstraintSetValues(); | ^ Tree.c:518:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | layout_tree ((TreeWidget) (w->core.parent), FALSE); | ^ Tree.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | static void ConstraintDestroy (w) | ^ Tree.c:67: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] 67 | static void ConstraintDestroy(); | ^ Tree.c:548:48: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | if (tw->tree.auto_reconfigure) layout_tree (tw, FALSE); | ^ Tree.c:522:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | static XtGeometryResult GeometryManager (w, request, reply) | ^ Tree.c:71: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] 71 | static XtGeometryResult GeometryManager(); | ^ Tree.c:555:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | layout_tree ((TreeWidget) gw, FALSE); | ^ Tree.c:552:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | static void ChangeManaged (gw) | ^ Tree.c:72: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] 72 | static void ChangeManaged(); | ^ Tree.c:559:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | static void Destroy (gw) | ^ Tree.c:69: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] 69 | static void Destroy(); | ^ Tree.c:570:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | static void Redisplay (gw, event, region) | ^ Tree.c:73: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] 73 | static void Redisplay(); | ^ Tree.c:667:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | static XtGeometryResult QueryGeometry (w, intended, preferred) | ^ Tree.c:74: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] 74 | static XtGeometryResult QueryGeometry(); | ^ Tree.c:701:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | static void compute_bounding_box_subtree (tree, w, depth) | ^ Tree.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 set_positions (tw, w, level) | ^ Tree.c:815:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static void arrange_subtree (tree, w, depth, x, y) | ^ Tree.c:922:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | static void set_tree_size (tw, insetvalues, width, height) | ^ Tree.c:946:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | static void layout_tree (tw, insetvalues) | ^ Tree.c:79: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] 79 | static void layout_tree(); | ^ 38 warnings generated. rm -f Tree.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Tree.c --- Form.o --- Form.c:172:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | static void _CvtStringToEdgeType(args, num_args, fromVal, toVal) | ^ Form.c:223:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | static void ClassPartInitialize(class) | ^ Form.c:94:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); | ^ Form.c:235:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static void Initialize(request, new, args, num_args) | ^ Form.c:94:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); | ^ Form.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | ChangeFormGeometry(w, query_only, width, height, ret_width, ret_height) | ^ Form.c:347:17: warning: passing arguments to 'LayoutChild' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | LayoutChild(*childP); | ^ Form.c:381:20: warning: passing arguments to 'ResizeChildren' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | ResizeChildren((Widget) fw); | ^ Form.c:323:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | static Boolean Layout(fw, width, height, force_relayout) | ^ Form.c:99: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] 99 | static Boolean Layout(); | ^ Form.c:396:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | static void ResizeChildren(w) | ^ Form.c:101:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void LayoutChild(), ResizeChildren(); | ^ Form.c:428:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | static void LayoutChild(w) | ^ Form.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void LayoutChild(), ResizeChildren(); | ^ Form.c:478:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | static Position TransformCoord(loc, old, new, type) | ^ Form.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | static void Resize(w) | ^ Form.c:94:69: warning: a function declaration without a prototype is 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 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Resize(); | ^ Form.c:568:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | (fw, 0, 0, True); | ^ Form.c:590:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | (fw, 0, 0, True); | ^ Form.c:610:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | ( fw, w->core.width, w->core.height, | ^ Form.c:638:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | ( fw, w->core.width, w->core.height, | ^ Form.c:548:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | static XtGeometryResult GeometryManager(w, request, reply) | ^ Form.c:97: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] 97 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ Form.c:669:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | static Boolean SetValues(current, request, new, args, num_args) | ^ Form.c:96: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] 96 | static Boolean SetValues(), ConstraintSetValues(); | ^ Form.c:679:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | static void ConstraintInitialize(request, new, args, num_args) | ^ Form.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void ConstraintInitialize(); | ^ Form.c:700:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | static Boolean ConstraintSetValues(current, request, new, args, num_args) | ^ Form.c:96:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static Boolean SetValues(), ConstraintSetValues(); | ^ Form.c:769:37: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | ((FormWidget) w, w->core.width, | ^ Form.c:735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | static void ChangeManaged(w) | ^ Form.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void ChangeManaged(); | ^ Form.c:783:33: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 783 | if ( request->request_mode & (CWWidth | CWHeight) == | ^~~~~~~~~~~~~~~~~~~~~~~~~ 784 | (CWWidth | CWHeight) | ~~~~~~~~~~~~~~~~~~~~ Form.c:783:33: note: place parentheses around the '==' expression to silence this warning 783 | if ( request->request_mode & (CWWidth | CWHeight) == | ^ | ( 784 | (CWWidth | CWHeight) | | ) Form.c:783:33: note: place parentheses around the & expression to evaluate it first 783 | if ( request->request_mode & (CWWidth | CWHeight) == | ^ | ( ) Form.c:774:25: 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 XtGeometryResult PreferredGeometry( widget, request, reply ) | ^ Form.c:97:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ 35 warnings generated. --- AsciiSink.o --- rm -f AsciiSink.o unshared/AsciiSink.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AsciiSink.c -o unshared/AsciiSink.o --- XawInit.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC XawInit.c --- Layout.o --- Layout.c:218:20: warning: passing arguments to 'LayYYsetsource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | LayYYsetsource ((char *) from->addr); | ^ Layout.c:220:18: warning: passing arguments to 'LayYYsetdest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | LayYYsetdest ((BoxPtr *) to->addr); | ^ Layout.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | CvtStringToLayout (dpy, args, num_args, from, to, converter_data) | ^ Layout.c:234:22: warning: passing arguments to 'LayoutFreeLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | LayoutFreeLayout (* (LayoutPtr *) to->addr); | ^ Layout.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | DisposeLayout (app, to, data, args, num_args) | ^ Layout.c:297:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | LayoutLayout (w, TRUE); | ^ Layout.c:264:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | static XtGeometryResult GeometryManager(child, request, reply) | ^ Layout.c:89: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] 89 | static XtGeometryResult GeometryManager(); | ^ Layout.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static void Initialize(request, new, args, num_args) | ^ Layout.c:86:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void ClassInitialize(), Initialize(); | ^ Layout.c:319:17: warning: passing arguments to 'GetDesiredSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | GetDesiredSize (*children); | ^ Layout.c:320:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | LayoutLayout ((LayoutWidget) w, TRUE); | ^ Layout.c:310:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | static void ChangeManaged(gw) | ^ Layout.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void ChangeManaged(); | ^ Layout.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | GetDesiredSize (child) | ^ Layout.c:93:13: warning: a function declaration without a prototype is 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 | static void GetDesiredSize (); | ^ Layout.c:341:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | static void InsertChild (child) | ^ Layout.c:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static void InsertChild(); | ^ Layout.c:352:18: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | LayoutLayout ((LayoutWidget) gw, FALSE); | ^ Layout.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Resize(gw) | ^ Layout.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Resize(); | ^ Layout.c:366:15: warning: passing arguments to 'LayoutLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | LayoutLayout (new, TRUE); | ^ Layout.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | SetValues(gold, greq, gnew, args, num_args) | ^ Layout.c:88: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] 88 | static Boolean SetValues(); | ^ Layout.c:381:26: warning: passing arguments to 'LayoutGetNaturalSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | LayoutGetNaturalSize (w, &prefered_size.width, &prefered_size.height); | ^ Layout.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | QueryGeometry (gw, request, prefered_return) | ^ Layout.c:92: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] 92 | static XtGeometryResult QueryGeometry (); | ^ Layout.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | PrintGlue (g) | ^ Layout.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | PrintDirection (dir) | ^ Layout.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | TabTo(level) | ^ Layout.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | PrintBox (box, level) | ^ Layout.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | LookupVariable (child, quark) | ^ Layout.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | Evaluate (l, box, expr, natural) | ^ Layout.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | DisposeExpr (expr) | ^ Layout.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | ComputeNaturalSizes (l, box, dir) | ^ Layout.c:784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | ComputeSizes (box) | ^ Layout.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | SetSizes (box, x, y) | ^ Layout.c:955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | LayoutFreeLayout (box) | ^ Layout.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void LayoutFreeLayout (); | ^ Layout.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | LayoutGetNaturalSize (l, widthp, heightp) | ^ Layout.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void LayoutGetNaturalSize (); | ^ Layout.c:1008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | LayoutLayout (l, attemptResize) | ^ Layout.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void LayoutLayout (); | ^ 43 warnings generated. --- AsciiSrc.o --- rm -f AsciiSrc.o unshared/AsciiSrc.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AsciiSrc.c -o unshared/AsciiSrc.o --- XawI18n.o --- XawI18n.c:75:5: warning: call to undeclared function 'mbtowc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | mbtowc(&wc, str, 1); | ^ 1 warning generated. rm -f XawI18n.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC XawI18n.c --- AsciiText.o --- rm -f AsciiText.o unshared/AsciiText.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO AsciiText.c -o unshared/AsciiText.o --- AsciiSink.o --- AsciiSink.c:180:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 180 | else { | ^ AsciiSink.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | CharWidth (w, x, c) | ^ AsciiSink.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | PaintText(w, gc, x, y, buf, len) | ^ AsciiSink.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | DisplayText(w, x, y, pos1, pos2, highlight) | ^ AsciiSink.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ AsciiSink.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | CreateInsertCursor(s) | ^ AsciiSink.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | GetCursorBounds(w, rect) | ^ AsciiSink.c:73:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ AsciiSink.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | InsertCursor (w, x, y, state) | ^ AsciiSink.c:72:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ AsciiSink.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) | ^ AsciiSink.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ AsciiSink.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | FindPosition(w, fromPos, fromx, width, stopAtWordBreak, | ^ AsciiSink.c:72:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ AsciiSink.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | Resolve (w, pos, fromx, width, leftPos, rightPos) | ^ AsciiSink.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ AsciiSink.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | GetGC(sink) | ^ AsciiSink.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Initialize(request, new, args, num_args) | ^ AsciiSink.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void Initialize(), Destroy(); | ^ AsciiSink.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | Destroy(w) | ^ AsciiSink.c:67: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] 67 | static void Initialize(), Destroy(); | ^ AsciiSink.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | SetValues(current, request, new, args, num_args) | ^ AsciiSink.c:68: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] 68 | static Boolean SetValues(); | ^ AsciiSink.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | MaxLines(w, height) | ^ AsciiSink.c:69: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] 69 | static int MaxLines(), MaxHeight(); | ^ AsciiSink.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | MaxHeight(w, lines) | ^ AsciiSink.c:69: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] 69 | static int MaxLines(), MaxHeight(); | ^ AsciiSink.c:668:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 668 | else | ^ AsciiSink.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | SetTabs(w, tab_count, tabs) | ^ AsciiSink.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void SetTabs(); | ^ 30 warnings generated. --- Tree.o --- Tree.c:184:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | static void initialize_dimensions (listp, sizep, n) | ^ Tree.c:211:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | static GC get_tree_gc (w) | ^ Tree.c:227:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | static void insert_node (parent, node) | ^ Tree.c:77: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] 77 | static void insert_node(); | ^ Tree.c:261:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | static void delete_node (parent, node) | ^ Tree.c:78: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] 78 | static void delete_node(); | ^ Tree.c:297:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | static void check_gravity (tw, grav) | ^ Tree.c:326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | static void Initialize (grequest, gnew, args, num_args) | ^ Tree.c:65: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] 65 | static void Initialize(); | ^ Tree.c:384:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | static void ConstraintInitialize (request, new, args, num_args) | ^ Tree.c:66: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] 66 | static void ConstraintInitialize(); | ^ --- AsciiSink.o --- rm -f AsciiSink.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC AsciiSink.c --- Tree.o --- Tree.c:456:14: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | layout_tree (new, TRUE); | ^ Tree.c:416:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) | ^ Tree.c:70: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] 70 | static Boolean SetValues(); | ^ Tree.c:489:16: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | layout_tree (tw, FALSE); --- Porthole.o --- Porthole.c:116:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | static Widget find_child (pw) | ^ Porthole.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | static void SendReport (pw, changed) | ^ Porthole.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | static void layout_child (pw, child, geomp, xp, yp, widthp, heightp) | ^ Porthole.c:206:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | static void Realize (gw, valueMask, attributes) | ^ Porthole.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void Realize(); /* set gravity and upcall */ | ^ Porthole.c:221:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | static void Resize (gw) | ^ Porthole.c:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | static void Resize(); /* report new size */ | ^ Porthole.c:244:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | static XtGeometryResult QueryGeometry (gw, intended, preferred) | ^ Porthole.c:58: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] 58 | static XtGeometryResult QueryGeometry(); /* say how big would like to be */ | ^ Porthole.c:272:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | static XtGeometryResult GeometryManager (w, req, reply) | ^ Porthole.c:56: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] 56 | static XtGeometryResult GeometryManager(); /* deal with child requests */ | ^ Porthole.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static void ChangeManaged (gw) | ^ Porthole.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void ChangeManaged(); /* somebody added a new widget */ | ^ 13 warnings generated. --- Tree.o --- | ^ Tree.c:464:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | static Boolean ConstraintSetValues (current, request, new, args, num_args) | ^ Tree.c:68: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] 68 | static Boolean ConstraintSetValues(); | ^ Tree.c:518:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | layout_tree ((TreeWidget) (w->core.parent), FALSE); | ^ --- AsciiSrc.o --- AsciiSrc.c:231:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | file = InitStringOrFile(src, src->ascii_src.type == XawAsciiFile); | ^ AsciiSrc.c:232:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | LoadPieces(src, file, NULL); | ^ AsciiSrc.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | Initialize(request, new, args, num_args) | ^ AsciiSrc.c:101:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Command.o --- --- Tree.o --- Tree.c:495:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | static void ConstraintDestroy (w) | ^ Tree.c:67: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] 67 | static void ConstraintDestroy(); | ^ Tree.c:548:48: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | if (tw->tree.auto_reconfigure) layout_tree (tw, FALSE); | ^ Tree.c:522:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- AsciiSrc.o --- 101 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ AsciiSrc.c:255:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Piece * piece = FindPiece(src, pos, &start); | ^ AsciiSrc.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | ReadText(w, pos, text, length) | ^ AsciiSrc.c:95:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static XawTextPosition Scan(), Search(), ReadText(); | ^ --- Tree.o --- 522 | static XtGeometryResult GeometryManager (w, request, reply) | ^ Tree.c:71: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] 71 | static XtGeometryResult GeometryManager(); | ^ Tree.c:555:17: warning: passing arguments to 'layout_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | layout_tree ((TreeWidget) gw, FALSE); | ^ Tree.c:552:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | static void ChangeManaged (gw) | ^ --- AsciiSrc.o --- AsciiSrc.c:291:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | start_piece = FindPiece(src, startPos, &start_first); | ^ AsciiSrc.c:292:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | end_piece = FindPiece(src, endPos, &end_first); | ^ AsciiSrc.c:309:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | RemovePiece(src, start_piece); | ^ AsciiSrc.c:313:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | RemovePiece(src, temp_piece->prev); --- XawI18n.o --- XawI18n.c:75:5: warning: call to undeclared function 'mbtowc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 75 | mbtowc(&wc, str, 1); | ^ 1 warning generated. --- AsciiText.o --- AsciiText.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Initialize(request, new, args, num_args) | ^ AsciiText.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), Destroy(); | ^ AsciiText.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | Destroy(w) | ^ AsciiText.c:87: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] 87 | static void Initialize(), Destroy(); | ^ --- Tree.o --- Tree.c:72: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] 72 | static void ChangeManaged(); | ^ Tree.c:559:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | static void Destroy (gw) | ^ Tree.c:69: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] 69 | static void Destroy(); | ^ Tree.c:570:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- AsciiSrc.o --- | ^ AsciiSrc.c:317:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | MyStrncpy(end_piece->text, (end_piece->text + endPos - end_first), | ^ AsciiSrc.c:323:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | RemovePiece(src, start_piece); | ^ AsciiSrc.c:326:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | MyStrncpy(start_piece->text + (startPos - start_first), | ^ AsciiSrc.c:344:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Command.o --- rm -f Command.o unshared/Command.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Command.c -o unshared/Command.o --- Dialog.o --- --- AsciiText.o --- 4 warnings generated. --- Tree.o --- 570 | static void Redisplay (gw, event, region) | ^ Tree.c:73: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] 73 | static void Redisplay(); | ^ Tree.c:667:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | static XtGeometryResult QueryGeometry (w, intended, preferred) | ^ Tree.c:74: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] 74 | static XtGeometryResult QueryGeometry(); | ^ --- AsciiSrc.o --- 344 | start_piece = FindPiece(src, startPos, &start_first); | ^ AsciiSrc.c:368:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | BreakPiece(src, start_piece); | ^ AsciiSrc.c:369:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | start_piece = FindPiece(src, startPos, &start_first); | ^ AsciiSrc.c:375:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | MyStrncpy(ptr + fill, ptr, | ^ --- Tree.o --- Tree.c:701:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | static void compute_bounding_box_subtree (tree, w, depth) | ^ Tree.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 set_positions (tw, w, level) | ^ Tree.c:815:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static void arrange_subtree (tree, w, depth, x, y) | ^ Tree.c:922:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | static void set_tree_size (tw, insetvalues, width, height) | ^ --- AsciiSrc.o --- AsciiSrc.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | ReplaceText (w, startPos, endPos, text) | ^ AsciiSrc.c:96: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] 96 | static int ReplaceText(); | ^ AsciiSrc.c:452:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | piece = FindPiece(src, position, &first); | ^ AsciiSrc.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | Scan (w, position, type, dir, count, include) | ^ --- AsciiText.o --- rm -f AsciiText.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC AsciiText.c --- Tree.o --- Tree.c:946:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | static void layout_tree (tw, insetvalues) | ^ Tree.c:79: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] 79 | static void layout_tree(); | ^ 38 warnings generated. --- AsciiSrc.o --- AsciiSrc.c:95: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] 95 | static XawTextPosition Scan(), Search(), ReadText(); | ^ AsciiSrc.c:574:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | piece = FindPiece(src, position, &first); | ^ AsciiSrc.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | Search(w, position, dir, text) | ^ AsciiSrc.c:95:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Dialog.o --- rm -f Dialog.o unshared/Dialog.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Dialog.c -o unshared/Dialog.o --- AsciiSrc.o --- 95 | static XawTextPosition Scan(), Search(), ReadText(); | ^ AsciiSrc.c:658:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | RemoveOldStringOrFile(old_src, string_set); /* remove old info. */ | ^ AsciiSrc.c:659:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | file = InitStringOrFile(src, string_set); /* Init new info. */ | ^ AsciiSrc.c:660:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | LoadPieces(src, file, NULL); /* load new info into internal buffers. */ | ^ --- AsciiSink.o --- AsciiSink.c:180:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 180 | else { | ^ AsciiSink.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | CharWidth (w, x, c) | ^ AsciiSink.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | PaintText(w, gc, x, y, buf, len) | ^ AsciiSink.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | DisplayText(w, x, y, pos1, pos2, highlight) | ^ AsciiSink.c:72:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Grip.o --- --- AsciiSrc.o --- AsciiSrc.c:672:42: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | String string = StorePiecesInString(old_src); | ^ AsciiSrc.c:673:20: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | FreeAllPieces(old_src); | ^ AsciiSrc.c:674:17: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | LoadPieces(src, NULL, string); | ^ AsciiSrc.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | SetValues(current, request, new, args, num_args) | ^ --- AsciiSink.o --- 72 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ AsciiSink.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | CreateInsertCursor(s) | ^ AsciiSink.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | GetCursorBounds(w, rect) | ^ AsciiSink.c:73:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ AsciiSink.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- AsciiSrc.o --- AsciiSrc.c:103: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] 103 | static Boolean SetValues(), WriteToFile(); | ^ AsciiSrc.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | GetValuesHook(w, args, num_args) | ^ AsciiSrc.c:101:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ --- AsciiSink.o --- 350 | InsertCursor (w, x, y, state) | ^ AsciiSink.c:72:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ AsciiSink.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) | ^ AsciiSink.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ --- AsciiSrc.o --- AsciiSrc.c:724:24: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | RemoveOldStringOrFile((AsciiSrcObject) w, True); | ^ AsciiSrc.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | Destroy (w) | ^ AsciiSrc.c:101:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ AsciiSrc.c:823:33: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- AsciiSink.o --- AsciiSink.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | FindPosition(w, fromPos, fromx, width, stopAtWordBreak, | ^ AsciiSink.c:72:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ AsciiSink.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | Resolve (w, pos, fromx, width, leftPos, rightPos) | ^ --- Grip.o --- rm -f Grip.o unshared/Grip.o --- AsciiSrc.o --- 823 | string = StorePiecesInString(src); | ^ AsciiSrc.c:825:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | if (WriteToFile(string, src->ascii_src.string) == FALSE) { | ^ AsciiSrc.c:837:48: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | src->ascii_src.string = StorePiecesInString(src); | ^ AsciiSrc.c:880:31: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | string = StorePiecesInString(src); | ^ --- AsciiSink.o --- AsciiSink.c:73:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ AsciiSink.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | GetGC(sink) | ^ AsciiSink.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Initialize(request, new, args, num_args) | ^ AsciiSink.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void Initialize(), Destroy(); --- AsciiSrc.o --- AsciiSrc.c:882:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | ret = WriteToFile(string, name); | ^ AsciiSrc.c:931:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | FreeAllPieces(src); | ^ AsciiSrc.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | RemoveOldStringOrFile(src, checkString) | ^ AsciiSrc.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void RemoveOldStringOrFile(), CvtStringToAsciiType(); | ^ --- AsciiSink.o --- | ^ AsciiSink.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | Destroy(w) | ^ AsciiSink.c:67: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] 67 | static void Initialize(), Destroy(); | ^ AsciiSink.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | SetValues(current, request, new, args, num_args) | ^ AsciiSink.c:68: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] 68 | static Boolean SetValues(); --- AsciiSrc.o --- AsciiSrc.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | WriteToFile(string, name) | ^ AsciiSrc.c:103:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static Boolean SetValues(), WriteToFile(); | ^ AsciiSrc.c:992:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | FreeAllPieces(src); | ^ AsciiSrc.c:993:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | LoadPieces(src, NULL, string); | ^ --- AsciiSink.o --- | ^ AsciiSink.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | MaxLines(w, height) | ^ AsciiSink.c:69: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] 69 | static int MaxLines(), MaxHeight(); | ^ AsciiSink.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | MaxHeight(w, lines) | ^ AsciiSink.c:69: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] 69 | static int MaxLines(), MaxHeight(); --- Grip.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Grip.c -o unshared/Grip.o --- AsciiSrc.o --- AsciiSrc.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | StorePiecesInString(src) | ^ AsciiSrc.c:102:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static String MyStrncpy(), StorePiecesInString(); | ^ AsciiSrc.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | InitStringOrFile(src, newString) | ^ AsciiSrc.c:98: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] 98 | static FILE * InitStringOrFile(); --- AsciiSink.o --- | ^ AsciiSink.c:668:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 668 | else | ^ AsciiSink.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | SetTabs(w, tab_count, tabs) | ^ AsciiSink.c:70:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static void SetTabs(); | ^ 30 warnings generated. --- AsciiSrc.o --- | ^ AsciiSrc.c:1131:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | piece = AllocNewPiece(src, piece); | ^ AsciiSrc.c:1141:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | piece = AllocNewPiece(src, piece); | ^ AsciiSrc.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | LoadPieces(src, file, string) | ^ AsciiSrc.c:99:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | AllocNewPiece(src, prev) | ^ AsciiSrc.c:97:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static Piece * FindPiece(), * AllocNewPiece(); | ^ AsciiSrc.c:1204:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | RemovePiece(src, first); | ^ AsciiSrc.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | FreeAllPieces(src) | ^ AsciiSrc.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | RemovePiece(src, piece) | ^ AsciiSrc.c:99:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | FindPiece(src, position, first) | ^ AsciiSrc.c:97: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] 97 | static Piece * FindPiece(), * AllocNewPiece(); | ^ AsciiSrc.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | MyStrncpy(s1, s2, n) | ^ AsciiSrc.c:102: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] 102 | static String MyStrncpy(), StorePiecesInString(); | ^ AsciiSrc.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | BreakPiece(src, piece) | ^ AsciiSrc.c:99:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | CvtStringToAsciiType(args, num_args, fromVal, toVal) | ^ AsciiSrc.c:100:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void RemoveOldStringOrFile(), CvtStringToAsciiType(); | ^ 74 warnings generated. --- Label.o --- --- Command.o --- Command.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Get_GC(cbw, fg, bg) | ^ Command.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | Initialize(request, new, args, num_args) | ^ Command.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | HighlightRegion(cbw) | ^ Command.c:297:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | PaintCommandWidget(w, event, (Region) NULL, TRUE); | ^ Command.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Set(w,event,params,num_params) | ^ Command.c:101:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:316:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | PaintCommandWidget(w, event, (Region) NULL, TRUE); | ^ Command.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | Unset(w,event,params,num_params) | ^ Command.c:101:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ --- Label.o --- rm -f Label.o unshared/Label.o --- Command.o --- Command.c:334:16: warning: passing arguments to 'Unhighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | Unhighlight(w, event, params, num_params); | ^ Command.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | Reset(w,event,params,num_params) | ^ Command.c:101:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:364:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); | ^ Command.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | Highlight(w,event,params,num_params) | ^ Command.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:379:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); | ^ Command.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | Unhighlight(w,event,params,num_params) | ^ Command.c:102: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] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | Notify(w,event,params,num_params) | ^ Command.c:101:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Label.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Label.c -o unshared/Label.o --- Command.o --- 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:417:21: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | PaintCommandWidget(w, event, region, FALSE); | ^ Command.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | Redisplay(w, event, region) | ^ Command.c:101:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:456:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | (*cwclass->threeD_class.shadowdraw) (w, event, region, cbw->threeD.relief, !cbw->command.set); | ^ Command.c:490:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | (*cwclass->threeD_class.shadowdraw) (w, event, region, cbw->threeD.relief, !cbw->command.set); | ^ Command.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | PaintCommandWidget(w, event, region, change) | ^ Command.c:102:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | Destroy(w) | ^ Command.c:102:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ --- AsciiText.o --- AsciiText.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | Initialize(request, new, args, num_args) | ^ AsciiText.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), Destroy(); | ^ AsciiText.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | Destroy(w) | ^ AsciiText.c:87: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] 87 | static void Initialize(), Destroy(); | ^ 4 warnings generated. --- Command.o --- Command.c:561:23: warning: passing arguments to 'ShapeButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | && !ShapeButton(cbw, TRUE)) | ^ Command.c:568:18: warning: passing arguments to 'ShapeButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | ShapeButton(cbw, FALSE); | ^ Command.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | SetValues (current, request, new, args, num_args) | ^ Command.c:100: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] 100 | static Boolean SetValues(); | ^ --- List.o --- --- Command.o --- Command.c:595:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 595 | if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Command.c:595:36: note: remove extraneous parentheses around the comparison to silence this warning 595 | if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { | ~ ^ ~ Command.c:595:36: note: use '=' to turn this equality comparison into an assignment 595 | if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { | ^~ | = Command.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | ShapeButton(cbw, checkRectangular) | ^ Command.c:104: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] 104 | static Boolean ShapeButton(); | ^ Command.c:611:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | static void Realize(w, valueMask, attributes) | ^ Command.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void Realize(), Resize(); | ^ Command.c:622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | static void Resize(w) | ^ Command.c:105: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] 105 | static void Realize(), Resize(); | ^ 41 warnings generated. --- List.o --- rm -f List.o unshared/List.o --- Command.o --- rm -f Command.o --- List.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO List.c -o unshared/List.o --- Command.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Command.c --- AsciiSrc.o --- rm -f AsciiSrc.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC AsciiSrc.c --- Grip.o --- Grip.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | static void GripAction( widget, event, params, num_params ) | ^ Grip.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static void GripAction( /* Widget, XEvent*, String*, Cardinal */ ); | ^ 2 warnings generated. rm -f Grip.o --- Dialog.o --- Dialog.c:188:32: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | CreateDialogValueWidget( (Widget) dw); | ^ Dialog.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | static void Initialize(request, new, args, num_args) | ^ Dialog.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), | ^ Dialog.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | static void ConstraintInitialize(request, new, args, num_args) | ^ Dialog.c:87: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] 87 | static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), | ^ Dialog.c:308:29: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | CreateDialogValueWidget( (Widget) w); | ^ Dialog.c:232:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | static Boolean SetValues(current, request, new, in_args, in_num_args) | ^ Dialog.c:90: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] 90 | static Boolean SetValues(); | ^ Dialog.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | GetValuesHook(w, args, num_args) | ^ Dialog.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | GetValuesHook(); | ^ Dialog.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | CreateDialogValueWidget(w) | ^ Dialog.c:87:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), | ^ 12 warnings generated. rm -f Dialog.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Dialog.c --- Grip.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Grip.c --- Command.o --- Command.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Get_GC(cbw, fg, bg) | ^ Command.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | Initialize(request, new, args, num_args) | ^ Command.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | HighlightRegion(cbw) | ^ Command.c:297:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | PaintCommandWidget(w, event, (Region) NULL, TRUE); | ^ Command.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Set(w,event,params,num_params) | ^ Command.c:101:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:316:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | PaintCommandWidget(w, event, (Region) NULL, TRUE); | ^ Command.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | Unset(w,event,params,num_params) | ^ Command.c:101:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:334:16: warning: passing arguments to 'Unhighlight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | Unhighlight(w, event, params, num_params); | ^ Command.c:322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | Reset(w,event,params,num_params) | ^ Command.c:101:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:364:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); | ^ Command.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | Highlight(w,event,params,num_params) | ^ Command.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:379:23: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | PaintCommandWidget(w, event, HighlightRegion(cbw), TRUE); | ^ Command.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | Unhighlight(w,event,params,num_params) | ^ Command.c:102: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] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | Notify(w,event,params,num_params) | ^ Command.c:101:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:417:21: warning: passing arguments to 'PaintCommandWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | PaintCommandWidget(w, event, region, FALSE); | ^ Command.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | Redisplay(w, event, region) | ^ Command.c:101:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void Initialize(), Redisplay(), Set(), Reset(), Notify(), Unset(); | ^ Command.c:456:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | (*cwclass->threeD_class.shadowdraw) (w, event, region, cbw->threeD.relief, !cbw->command.set); | ^ Command.c:490:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | (*cwclass->threeD_class.shadowdraw) (w, event, region, cbw->threeD.relief, !cbw->command.set); | ^ Command.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | PaintCommandWidget(w, event, region, change) | ^ Command.c:102:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | Destroy(w) | ^ Command.c:102:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Highlight(), Unhighlight(), Destroy(), PaintCommandWidget(); | ^ Command.c:561:23: warning: passing arguments to 'ShapeButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | && !ShapeButton(cbw, TRUE)) | ^ Command.c:568:18: warning: passing arguments to 'ShapeButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | ShapeButton(cbw, FALSE); | ^ Command.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | SetValues (current, request, new, args, num_args) | ^ Command.c:100: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] 100 | static Boolean SetValues(); | ^ Command.c:595:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 595 | if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Command.c:595:36: note: remove extraneous parentheses around the comparison to silence this warning 595 | if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { | ~ ^ ~ Command.c:595:36: note: use '=' to turn this equality comparison into an assignment 595 | if ( (cbw->command.shape_style == XawShapeRoundedRectangle) ) { | ^~ | = Command.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | ShapeButton(cbw, checkRectangular) | ^ Command.c:104: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] 104 | static Boolean ShapeButton(); | ^ Command.c:611:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | static void Realize(w, valueMask, attributes) | ^ Command.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | static void Realize(), Resize(); | ^ Command.c:622:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | static void Resize(w) | ^ Command.c:105: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] 105 | static void Realize(), Resize(); | ^ 41 warnings generated. --- Label.o --- Label.c:256:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | static void SetTextWidthAndHeight(lw) | ^ Label.c:362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | static void GetnormalGC(lw) | ^ Label.c:387:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | static void GetgrayGC(lw) | ^ Label.c:420:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static void compute_bitmap_offsets (lw) | ^ Label.c:429:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static void set_bitmap_info (lw) | ^ Label.c:446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | static void Initialize(request, new, args, num_args) | ^ Label.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Initialize(); | ^ Label.c:512:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | (*lwclass->threeD_class.shadowdraw) (gw, event, region, | ^ Label.c:494:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | static void Redisplay(gw, event, region) | ^ Label.c:124:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | static void Redisplay(); | ^ Label.c:652:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | static void _Reposition(lw, width, height, dx, dy) | ^ Label.c:687:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | static void Resize(w) | ^ Label.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static void Resize(); | ^ Label.c:706:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | static Boolean SetValues(current, request, new, args, num_args) | ^ Label.c:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static Boolean SetValues(); | ^ Label.c:830:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | static void Destroy(w) | ^ Label.c:127:13: warning: a function declaration without a prototype is 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 | static void Destroy(); | ^ Label.c:849:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | static XtGeometryResult QueryGeometry(w, intended, preferred) | ^ Label.c:128: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] 128 | static XtGeometryResult QueryGeometry(); | ^ 19 warnings generated. rm -f Label.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Label.c --- List.o --- List.c:182:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | static void GetGCs(w) | ^ List.c:238:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | static void CalculatedValues( w ) | ^ List.c:298:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if( Layout( w, changex, changey, &width, &height ) ) | ^ List.c:299:17: warning: passing arguments to 'ChangeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ChangeSize( w, width, height ); | ^ List.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | ResetList( w, changex, changey ) | ^ List.c:325:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | Layout(w, (request.height != reply.height), | ^ List.c:335:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | Layout(w, FALSE, FALSE, &(request.width), &(request.height)); | ^ List.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | ChangeSize(w, width, height) | ^ List.c:115:13: warning: a function declaration without a prototype is 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 | static void ChangeSize(); | ^ List.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Initialize(junk, new, args, num_args) | ^ List.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void Initialize(); | ^ List.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CvtToItem(w, xloc, yloc, item) | ^ List.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | FindCornerItems(w, event, ul_ret, lr_ret) | ^ List.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | ItemInRectangle(w, ul, lr, item) | ^ List.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | HighlightBackground( w, x, y, gc ) | ^ List.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 ClipToShadowInteriorAndLongest(lw, gc_p, x) | ^ List.c:612:21: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 612 | str_y = y + abs(ext->max_ink_extent.y); | ^ List.c:612:21: note: include the header or explicitly provide a declaration for 'abs' List.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | PaintItemName(w, item) | ^ List.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | Redisplay(w, event, junk) | ^ List.c:117:13: warning: a function declaration without a prototype is 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 Redisplay(); | ^ List.c:740:20: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | change = Layout(w, !width_req, !height_req, &new_width, &new_height); | ^ List.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 | PreferredGeom(w, intended, requested) | ^ List.c:120: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] 120 | static XtGeometryResult PreferredGeom(); | ^ List.c:766:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | if (Layout(w, FALSE, FALSE, &width, &height)) | ^ List.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | Resize(w) | ^ List.c:116:13: warning: a function declaration without a prototype is 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 | static void Resize(); | ^ List.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | Layout(w, xfree, yfree, width, height) | ^ List.c:119: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] 119 | static Boolean Layout(); | ^ List.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | Notify(w, event, params, num_params) | ^ List.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Notify(), Set(), Unset(); | ^ List.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | Unset(w, event, params, num_params) | ^ List.c:122:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Notify(), Set(), Unset(); | ^ List.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | Set(w, event, params, num_params) | ^ List.c:122:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Notify(), Set(), Unset(); | ^ List.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | SetValues(current, request, new, args, num_args) | ^ List.c:121: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] 121 | static Boolean SetValues(); | ^ List.c:1077:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | static void Destroy(w) | ^ List.c:118:13: warning: a function declaration without a prototype is 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 | static void Destroy(); | ^ 38 warnings generated. rm -f List.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC List.c --- MenuButton.o --- rm -f MenuButton.o unshared/MenuButton.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO MenuButton.c -o unshared/MenuButton.o --- AsciiSrc.o --- AsciiSrc.c:231:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | file = InitStringOrFile(src, src->ascii_src.type == XawAsciiFile); | ^ AsciiSrc.c:232:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | LoadPieces(src, file, NULL); | ^ AsciiSrc.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | Initialize(request, new, args, num_args) | ^ AsciiSrc.c:101:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ AsciiSrc.c:255:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Piece * piece = FindPiece(src, pos, &start); | ^ AsciiSrc.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | ReadText(w, pos, text, length) | ^ AsciiSrc.c:95:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static XawTextPosition Scan(), Search(), ReadText(); | ^ AsciiSrc.c:291:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | start_piece = FindPiece(src, startPos, &start_first); | ^ AsciiSrc.c:292:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | end_piece = FindPiece(src, endPos, &end_first); | ^ AsciiSrc.c:309:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | RemovePiece(src, start_piece); | ^ AsciiSrc.c:313:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | RemovePiece(src, temp_piece->prev); | ^ AsciiSrc.c:317:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | MyStrncpy(end_piece->text, (end_piece->text + endPos - end_first), | ^ AsciiSrc.c:323:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | RemovePiece(src, start_piece); | ^ AsciiSrc.c:326:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | MyStrncpy(start_piece->text + (startPos - start_first), | ^ AsciiSrc.c:344:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | start_piece = FindPiece(src, startPos, &start_first); | ^ AsciiSrc.c:368:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | BreakPiece(src, start_piece); | ^ AsciiSrc.c:369:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | start_piece = FindPiece(src, startPos, &start_first); | ^ AsciiSrc.c:375:16: warning: passing arguments to 'MyStrncpy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | MyStrncpy(ptr + fill, ptr, | ^ AsciiSrc.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | ReplaceText (w, startPos, endPos, text) | ^ AsciiSrc.c:96: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] 96 | static int ReplaceText(); | ^ AsciiSrc.c:452:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | piece = FindPiece(src, position, &first); | ^ AsciiSrc.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | Scan (w, position, type, dir, count, include) | ^ AsciiSrc.c:95: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] 95 | static XawTextPosition Scan(), Search(), ReadText(); | ^ AsciiSrc.c:574:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | piece = FindPiece(src, position, &first); | ^ AsciiSrc.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | Search(w, position, dir, text) | ^ AsciiSrc.c:95:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static XawTextPosition Scan(), Search(), ReadText(); | ^ AsciiSrc.c:658:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | RemoveOldStringOrFile(old_src, string_set); /* remove old info. */ | ^ AsciiSrc.c:659:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | file = InitStringOrFile(src, string_set); /* Init new info. */ | ^ AsciiSrc.c:660:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | LoadPieces(src, file, NULL); /* load new info into internal buffers. */ | ^ AsciiSrc.c:672:42: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | String string = StorePiecesInString(old_src); | ^ AsciiSrc.c:673:20: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | FreeAllPieces(old_src); | ^ AsciiSrc.c:674:17: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | LoadPieces(src, NULL, string); | ^ AsciiSrc.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | SetValues(current, request, new, args, num_args) | ^ AsciiSrc.c:103: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] 103 | static Boolean SetValues(), WriteToFile(); | ^ AsciiSrc.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | GetValuesHook(w, args, num_args) | ^ AsciiSrc.c:101:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ AsciiSrc.c:724:24: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | RemoveOldStringOrFile((AsciiSrcObject) w, True); | ^ AsciiSrc.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | Destroy (w) | ^ AsciiSrc.c:101:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ AsciiSrc.c:823:33: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | string = StorePiecesInString(src); | ^ AsciiSrc.c:825:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | if (WriteToFile(string, src->ascii_src.string) == FALSE) { | ^ AsciiSrc.c:837:48: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | src->ascii_src.string = StorePiecesInString(src); | ^ AsciiSrc.c:880:31: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | string = StorePiecesInString(src); | ^ AsciiSrc.c:882:20: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | ret = WriteToFile(string, name); | ^ AsciiSrc.c:931:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | FreeAllPieces(src); | ^ AsciiSrc.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | RemoveOldStringOrFile(src, checkString) | ^ AsciiSrc.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void RemoveOldStringOrFile(), CvtStringToAsciiType(); | ^ AsciiSrc.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | WriteToFile(string, name) | ^ AsciiSrc.c:103:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static Boolean SetValues(), WriteToFile(); | ^ AsciiSrc.c:992:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | FreeAllPieces(src); | ^ AsciiSrc.c:993:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | LoadPieces(src, NULL, string); | ^ AsciiSrc.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | StorePiecesInString(src) | ^ AsciiSrc.c:102:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static String MyStrncpy(), StorePiecesInString(); | ^ AsciiSrc.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | InitStringOrFile(src, newString) | ^ AsciiSrc.c:98: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] 98 | static FILE * InitStringOrFile(); | ^ AsciiSrc.c:1131:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | piece = AllocNewPiece(src, piece); | ^ AsciiSrc.c:1141:26: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | piece = AllocNewPiece(src, piece); | ^ AsciiSrc.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | LoadPieces(src, file, string) | ^ AsciiSrc.c:99:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1165 | AllocNewPiece(src, prev) | ^ AsciiSrc.c:97:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static Piece * FindPiece(), * AllocNewPiece(); | ^ AsciiSrc.c:1204:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | RemovePiece(src, first); | ^ AsciiSrc.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | FreeAllPieces(src) | ^ AsciiSrc.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | RemovePiece(src, piece) | ^ AsciiSrc.c:99:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | FindPiece(src, position, first) | ^ AsciiSrc.c:97: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] 97 | static Piece * FindPiece(), * AllocNewPiece(); | ^ AsciiSrc.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | MyStrncpy(s1, s2, n) | ^ AsciiSrc.c:102: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] 102 | static String MyStrncpy(), StorePiecesInString(); | ^ AsciiSrc.c:1298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | BreakPiece(src, piece) | ^ AsciiSrc.c:99:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ AsciiSrc.c:1313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | CvtStringToAsciiType(args, num_args, fromVal, toVal) | ^ AsciiSrc.c:100:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | static void RemoveOldStringOrFile(), CvtStringToAsciiType(); | ^ 74 warnings generated. --- Paned.o --- rm -f Paned.o unshared/Paned.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Paned.c -o unshared/Paned.o --- Grip.o --- Grip.c:137:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | static void GripAction( widget, event, params, num_params ) | ^ Grip.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | static void GripAction( /* Widget, XEvent*, String*, Cardinal */ ); | ^ 2 warnings generated. --- Panner.o --- --- Dialog.o --- Dialog.c:188:32: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | CreateDialogValueWidget( (Widget) dw); | ^ Dialog.c:154:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | static void Initialize(request, new, args, num_args) | ^ Dialog.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), | ^ Dialog.c:194:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | static void ConstraintInitialize(request, new, args, num_args) | ^ Dialog.c:87: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] 87 | static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), | ^ Dialog.c:308:29: warning: passing arguments to 'CreateDialogValueWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | CreateDialogValueWidget( (Widget) w); | ^ Dialog.c:232:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | static Boolean SetValues(current, request, new, in_args, in_num_args) | ^ Dialog.c:90: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] 90 | static Boolean SetValues(); | ^ Dialog.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | GetValuesHook(w, args, num_args) | ^ Dialog.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | GetValuesHook(); | ^ Dialog.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | CreateDialogValueWidget(w) | ^ Dialog.c:87:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void Initialize(), ConstraintInitialize(), CreateDialogValueWidget(), | ^ 12 warnings generated. --- Repeater.o --- --- Panner.o --- rm -f Panner.o unshared/Panner.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Panner.c -o unshared/Panner.o --- Repeater.o --- rm -f Repeater.o unshared/Repeater.o --- MenuButton.o --- MenuButton.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | PopupMenu(w, event, params, num_params) | ^ MenuButton.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void PopupMenu(); | ^ 2 warnings generated. rm -f MenuButton.o --- Repeater.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Repeater.c -o unshared/Repeater.o --- MenuButton.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC MenuButton.c --- Panner.o --- Panner.c:221:28: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, | ^ Panner.c:223:27: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, | ^ Panner.c:236:32: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, | ^ Panner.c:208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | static void reset_shadow_gc (pw) /* used when resources change */ | ^ Panner.c:250:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static void reset_slider_gc (pw) /* used when resources change */ | ^ Panner.c:263:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | static void reset_xor_gc (pw) /* used when resources change */ | ^ Panner.c:288:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | static void check_knob (pw, knob) | ^ Panner.c:320:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | static void move_shadow (pw) | ^ Panner.c:346:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | static void scale_knob (pw, location, size) /* set knob size and/or loc */ | ^ Panner.c:373:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | static void rescale (pw) | ^ Panner.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 get_default_size (pw, wp, hp) | ^ Panner.c:404:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | static Boolean get_event_xy (pw, event, x, y) | ^ Panner.c:466:12: warning: call to undeclared function 'atof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | val *= atof (cp); | ^ Panner.c:439:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | static int parse_page_string (s, pagesize, canvassize, relative) | ^ Panner.c:519:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | static void Initialize (greq, gnew, args, num_args) | ^ Panner.c:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | static void Initialize(); /* create gc's */ | ^ Panner.c:550:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | static void Realize (gw, valuemaskp, attr) | ^ Panner.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | static void Realize(); /* create window */ | ^ Panner.c:576:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | static void Destroy (gw) | ^ Panner.c:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | static void Destroy(); /* clean up widget */ | ^ Panner.c:587:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | static void Resize (gw) | ^ Panner.c:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | static void Resize(); /* need to rescale ourselves */ | ^ Panner.c:595:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | static void Redisplay (gw, event, region) | ^ Panner.c:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | static void Redisplay(); /* draw ourselves */ | ^ Panner.c:637:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | static Boolean SetValues (gcur, greq, gnew, args, num_args) | ^ Panner.c:152: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] 152 | static Boolean SetValues(); /* set all of the resources */ | ^ Panner.c:715:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | static void SetValuesAlmost (gold, gnew, req, reply) | ^ Panner.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void SetValuesAlmost(); /* deal with failed setval geom req */ | ^ Panner.c:726:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | static XtGeometryResult QueryGeometry (gw, intended, pref) | ^ Panner.c:154: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] 154 | static XtGeometryResult QueryGeometry(); /* say how big we would like to be */ | ^ Panner.c:754:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | static void ActionStart (gw, event, params, num_params) | ^ Panner.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | static void ActionStop (gw, event, params, num_params) | ^ Panner.c:87:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:813:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | ActionNotify (gw, event, params, num_params); | ^ Panner.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 ActionAbort (gw, event, params, num_params) | ^ Panner.c:87:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:841:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | ActionNotify (gw, event, params, num_params); /* does a check */ | ^ Panner.c:820:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | static void ActionMove (gw, event, params, num_params) | ^ Panner.c:87:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:886:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | ActionNotify (gw, event, (String *) NULL, &zero); | ^ Panner.c:850:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | static void ActionPage (gw, event, params, num_params) | ^ Panner.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void ActionPage(), ActionNotify(), ActionSet(); | ^ Panner.c:893:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | static void ActionNotify (gw, event, params, num_params) | ^ Panner.c:88: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] 88 | static void ActionPage(), ActionNotify(), ActionSet(); | ^ Panner.c:944:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | static void ActionSet (gw, event, params, num_params) | ^ Panner.c:88:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void ActionPage(), ActionNotify(), ActionSet(); | ^ 47 warnings generated. rm -f Panner.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Panner.c --- MenuButton.o --- MenuButton.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | PopupMenu(w, event, params, num_params) | ^ MenuButton.c:57:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | static void PopupMenu(); | ^ 2 warnings generated. --- Scrollbar.o --- rm -f Scrollbar.o unshared/Scrollbar.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Scrollbar.c -o unshared/Scrollbar.o --- List.o --- List.c:182:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | static void GetGCs(w) | ^ List.c:238:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | static void CalculatedValues( w ) | ^ List.c:298:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if( Layout( w, changex, changey, &width, &height ) ) | ^ List.c:299:17: warning: passing arguments to 'ChangeSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ChangeSize( w, width, height ); | ^ List.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | ResetList( w, changex, changey ) | ^ List.c:325:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | Layout(w, (request.height != reply.height), | ^ List.c:335:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | Layout(w, FALSE, FALSE, &(request.width), &(request.height)); | ^ List.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | ChangeSize(w, width, height) | ^ List.c:115:13: warning: a function declaration without a prototype is 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 | static void ChangeSize(); | ^ List.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Initialize(junk, new, args, num_args) | ^ List.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void Initialize(); | ^ List.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CvtToItem(w, xloc, yloc, item) | ^ List.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | FindCornerItems(w, event, ul_ret, lr_ret) | ^ List.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | ItemInRectangle(w, ul, lr, item) | ^ List.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | HighlightBackground( w, x, y, gc ) | ^ List.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 ClipToShadowInteriorAndLongest(lw, gc_p, x) | ^ List.c:612:21: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 612 | str_y = y + abs(ext->max_ink_extent.y); | ^ List.c:612:21: note: include the header or explicitly provide a declaration for 'abs' List.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | PaintItemName(w, item) | ^ List.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | Redisplay(w, event, junk) | ^ List.c:117:13: warning: a function declaration without a prototype is 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 Redisplay(); | ^ List.c:740:20: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | change = Layout(w, !width_req, !height_req, &new_width, &new_height); | ^ List.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 | PreferredGeom(w, intended, requested) | ^ List.c:120: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] 120 | static XtGeometryResult PreferredGeom(); | ^ List.c:766:15: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | if (Layout(w, FALSE, FALSE, &width, &height)) | ^ List.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | Resize(w) | ^ List.c:116:13: warning: a function declaration without a prototype is 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 | static void Resize(); | ^ List.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | Layout(w, xfree, yfree, width, height) | ^ List.c:119: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] 119 | static Boolean Layout(); | ^ List.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | Notify(w, event, params, num_params) | ^ List.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Notify(), Set(), Unset(); | ^ List.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | Unset(w, event, params, num_params) | ^ List.c:122:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Notify(), Set(), Unset(); | ^ List.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | Set(w, event, params, num_params) | ^ List.c:122:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Notify(), Set(), Unset(); | ^ List.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | SetValues(current, request, new, args, num_args) | ^ List.c:121: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] 121 | static Boolean SetValues(); | ^ List.c:1077:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | static void Destroy(w) | ^ List.c:118:13: warning: a function declaration without a prototype is 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 | static void Destroy(); | ^ 38 warnings generated. --- Simple.o --- rm -f Simple.o unshared/Simple.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Simple.c -o unshared/Simple.o --- Paned.o --- Paned.c:291:34: warning: passing arguments to 'PaneSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | Dimension old_size = PaneSize( (Widget) pw, IsVert(pw)); | ^ Paned.c:329:33: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | *on_size_ret = GetRequestInfo( &request, IsVert(pw) ); | ^ Paned.c:330:40: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | *off_size_ret = GetRequestInfo( &request, !IsVert(pw) ); | ^ Paned.c:333:36: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | *on_size_ret = GetRequestInfo( &reply, IsVert(pw) ); | ^ Paned.c:334:37: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | *off_size_ret = GetRequestInfo( &reply, !IsVert(pw) ); | ^ Paned.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | AdjustPanedSize(pw, off_size, result_ret, on_size_ret, off_size_ret) | ^ Paned.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | PaneSize(w, vertical) | ^ Paned.c:199:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | static Dimension PaneSize(), GetRequestInfo(); | ^ Paned.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | GetRequestInfo(geo_struct, vert) | ^ Paned.c:199:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | static Dimension PaneSize(), GetRequestInfo(); | ^ Paned.c:428:42: warning: passing arguments to 'SatisfiesRule3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | if ( (rules < 3 || SatisfiesRule3(pane, shrink)) && | ^ Paned.c:429:35: warning: passing arguments to 'SatisfiesRule2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | (rules < 2 || SatisfiesRule2(pane)) && | ^ Paned.c:430:22: warning: passing arguments to 'SatisfiesRule1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | (SatisfiesRule1(pane, shrink)) && | ^ Paned.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | ChoosePaneToResize(pw, paneindex, dir, shrink) | ^ Paned.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | SatisfiesRule1(pane, shrink) | ^ Paned.c:200: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] 200 | static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); | ^ Paned.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | SatisfiesRule2(pane) | ^ Paned.c:200:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); | ^ Paned.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | SatisfiesRule3(pane, shrink) | ^ Paned.c:200:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); | ^ Paned.c:536:14: warning: passing arguments to 'GetPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | GetPaneStack(pw, shrink, &pane, &start_size); | ^ Paned.c:544:19: warning: passing arguments to 'PushPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | PushPaneStack(pw, pane); | ^ Paned.c:562:55: warning: passing arguments to 'PopPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | if (pane->size == start_size) (void) PopPaneStack(pw); | ^ Paned.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | LoopAndRefigureChildren(pw, paneindex, dir, sizeused) | ^ Paned.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | RefigureLocations(pw, paneindex, dir) | ^ Paned.c:713:19: warning: passing arguments to 'ClearPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | ClearPaneStack(pw); | ^ Paned.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | CommitNewLocations(pw) | ^ Paned.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | RefigureLocationsAndCommit(w) | ^ Paned.c:192:13: warning: a function declaration without a prototype is 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 | static void RefigureLocationsAndCommit(); | ^ Paned.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | _DrawRect(pw, gc, on_loc, off_loc, on_size, off_size) | ^ Paned.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | _DrawInternalBorders(pw, gc) | ^ Paned.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | _DrawTrackLines(pw, erase) | ^ Paned.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | GetEventLocation(pw, event) | ^ Paned.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | StartGripAdjustment(pw, grip, dir) | ^ Paned.c:991:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 991 | if ( (dir == ThisBorderOnly) ) { | ~~~~^~~~~~~~~~~~~~~~~ Paned.c:991:15: note: remove extraneous parentheses around the comparison to silence this warning 991 | if ( (dir == ThisBorderOnly) ) { | ~ ^ ~ Paned.c:991:15: note: use '=' to turn this equality comparison into an assignment 991 | if ( (dir == ThisBorderOnly) ) { | ^~ | = Paned.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | MoveGripAdjustment(pw, grip, dir, loc) | ^ Paned.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | CommitGripAdjustment(pw) | ^ Paned.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | HandleGrip(grip, junk, callData) | ^ Paned.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | ResortChildren(pw) | ^ Paned.c:1164:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1164 | else | ^ Paned.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | ManageAndUnmanageGrips(pw) | ^ Paned.c:1200:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1200 | else | ^ Paned.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | CreateGrip(child) | ^ Paned.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | GetGCs(w) | ^ Paned.c:191:13: warning: a function declaration without a prototype is 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 | static void GetGCs(), ReleaseGCs(); | ^ Paned.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | SetChildrenPrefSizes(pw, off_size) | ^ Paned.c:1316:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1316 | else | ^ Paned.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | ChangeAllGripCursors(pw) | ^ Paned.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | PushPaneStack(pw, pane) | ^ Paned.c:202:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | static void PushPaneStack(); | ^ Paned.c:1364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | GetPaneStack(pw, shrink, pane, start_size) | ^ Paned.c:203:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | static void GetPaneStack(); | ^ Paned.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | PopPaneStack(pw) | ^ Paned.c:204: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] 204 | static Boolean PopPaneStack(); | ^ Paned.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | ClearPaneStack(pw) | ^ Paned.c:205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | static void ClearPaneStack(); | ^ Paned.c:1495:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1495 | else | ^ Paned.c:1530:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1530 | else | ^ Paned.c:1449:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | static XtGeometryResult GeometryManager(w, request, reply) | ^ Paned.c:194: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] 194 | static XtGeometryResult GeometryManager(); | ^ Paned.c:1553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | static void Initialize(request, new, args, num_args) | ^ Paned.c:188:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static void ClassInitialize(), Initialize(); | ^ Paned.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | Realize(w, valueMask, attributes) | ^ Paned.c:189:13: warning: a function declaration without a prototype is 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 | static void Realize(), Resize(); | ^ Paned.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | ReleaseGCs(w) | ^ Paned.c:191:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | static void GetGCs(), ReleaseGCs(); | ^ Paned.c:1608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | static void InsertChild(w) | ^ Paned.c:196:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | static void InsertChild(); | ^ Paned.c:1637:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | static void DeleteChild(w) | ^ Paned.c:197:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | static void DeleteChild(); | ^ Paned.c:1685:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1685 | else | ^ Paned.c:1650:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | static void ChangeManaged(w) | ^ Paned.c:195:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | static void ChangeManaged(); | ^ Paned.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | Resize(w) | ^ Paned.c:189: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] 189 | static void Realize(), Resize(); | ^ Paned.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | Redisplay(w, event, region) | ^ Paned.c:190:13: warning: a function declaration without a prototype is 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 | static void Redisplay(); | ^ Paned.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | SetValues(old, request, new, args, num_args) | ^ Paned.c:193: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] 193 | static Boolean SetValues(); | ^ Paned.c:1820:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1820 | else if ( HasGrip(old) ) { | ^ Paned.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | PaneSetValues(old, request, new, args, num_args) | ^ Paned.c:198: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] 198 | static Boolean PaneSetValues(); | ^ 82 warnings generated. --- Repeater.o --- Repeater.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static void tic (client_data, id) | ^ Repeater.c:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void tic(); /* clock timeout */ | ^ Repeater.c:205:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | static void Initialize (greq, gnew, args, num_args) | ^ Repeater.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Initialize(); /* setup private data */ | ^ Repeater.c:216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | static void Destroy (gw) | ^ Repeater.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static void Destroy(); /* clear timers */ | ^ Repeater.c:223:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | static Boolean SetValues (gcur, greq, gnew, args, num_args) | ^ Repeater.c:104: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] 104 | static Boolean SetValues(); /* set resources */ | ^ Repeater.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | static void ActionStart (gw, event, params, num_params) | ^ Repeater.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ActionStart(), ActionStop(); | ^ Repeater.c:266:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | static void ActionStop (gw, event, params, num_params) | ^ Repeater.c:67:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ActionStart(), ActionStop(); | ^ 12 warnings generated. --- Label.o --- Label.c:256:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | static void SetTextWidthAndHeight(lw) | ^ Label.c:362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | static void GetnormalGC(lw) | ^ Label.c:387:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | static void GetgrayGC(lw) | ^ Label.c:420:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static void compute_bitmap_offsets (lw) | ^ Label.c:429:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | static void set_bitmap_info (lw) | ^ Label.c:446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | static void Initialize(request, new, args, num_args) | ^ Label.c:122:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | static void Initialize(); | ^ Label.c:512:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | (*lwclass->threeD_class.shadowdraw) (gw, event, region, | ^ Label.c:494:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | static void Redisplay(gw, event, region) | ^ Label.c:124:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | static void Redisplay(); | ^ Label.c:652:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | static void _Reposition(lw, width, height, dx, dy) | ^ Label.c:687:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | static void Resize(w) | ^ Label.c:123:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | static void Resize(); | ^ Label.c:706:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | static Boolean SetValues(current, request, new, args, num_args) | ^ Label.c:125:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static Boolean SetValues(); | ^ Label.c:830:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | static void Destroy(w) | ^ Label.c:127:13: warning: a function declaration without a prototype is 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 | static void Destroy(); | ^ Label.c:849:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | static XtGeometryResult QueryGeometry(w, intended, preferred) | ^ Label.c:128: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] 128 | static XtGeometryResult QueryGeometry(); | ^ 19 warnings generated. --- Repeater.o --- rm -f Repeater.o --- Paned.o --- rm -f Paned.o --- Repeater.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Repeater.c --- SimpleMenu.o --- --- Paned.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Paned.c --- SimpleMenu.o --- rm -f SimpleMenu.o unshared/SimpleMenu.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SimpleMenu.c -o unshared/SimpleMenu.o --- Scrollbar.o --- Scrollbar.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | static void FillArea (sbw, top, bottom, fill) | ^ Scrollbar.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | static void PaintThumb (sbw, event) | ^ Scrollbar.c:367:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | static void PaintArrows (sbw) | ^ Scrollbar.c:468:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | static void Destroy (w) | ^ Scrollbar.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void Destroy(); | ^ Scrollbar.c:483:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | static void CreateGC (w) | ^ Scrollbar.c:526:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | static void SetDimensions (sbw) | ^ Scrollbar.c:539:13: 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 void Initialize( request, new, args, num_args ) | ^ Scrollbar.c:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static void Initialize(); | ^ Scrollbar.c:564:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | static void Realize (w, valueMask, attributes) | ^ Scrollbar.c:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void Realize(); | ^ Scrollbar.c:592:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | static Boolean SetValues (current, request, desired, args, num_args) | ^ Scrollbar.c:164: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] 164 | static Boolean SetValues(); | ^ Scrollbar.c:637:15: warning: passing arguments to 'Redisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | Redisplay (w, (XEvent*) NULL, (Region)NULL); | ^ Scrollbar.c:631:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | static void Resize (w) | ^ Scrollbar.c:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void Resize(); | ^ Scrollbar.c:652:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE); | ^ Scrollbar.c:642:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | static void Redisplay (w, event, region) | ^ Scrollbar.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | static void Redisplay(); | ^ Scrollbar.c:677:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | static Boolean CompareEvents (oldEvent, newEvent) | ^ Scrollbar.c:717:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | static Bool PeekNotifyEvent (dpy, event, args) | ^ Scrollbar.c:729:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | static Boolean LookAhead (w, event) | ^ Scrollbar.c:747:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | static void ExtractPosition (event, x, y) | ^ Scrollbar.c:777:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | static void HandleThumb (w, event, params, num_params) | ^ Scrollbar.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void HandleThumb(); | ^ Scrollbar.c:815:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 815 | XtCallCallbacks((Widget)sbw, XtNscrollProc, (XtPointer) call_data); | ^~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:801:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | static void RepeatNotify (client_data, idp) | ^ Scrollbar.c:847:18: warning: passing arguments to 'NotifyScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | NotifyScroll(w, event, params, 0); | ^ Scrollbar.c:824:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | static void StartScroll (w, event, params, num_params ) | ^ Scrollbar.c:167:13: warning: a function declaration without a prototype is 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 | static void StartScroll(); | ^ Scrollbar.c:886:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | static int InRange(num, small, big) | ^ Scrollbar.c:896:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | static float FloatInRange(num, small, big) | ^ Scrollbar.c:928:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 928 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:937:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 937 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:946:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 946 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:950:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 950 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:991:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 991 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)call_data); | ^~~~~~~~~~~~~~~~~~~~ Scrollbar.c:903:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | static void NotifyScroll (w, event, params, num_params) | ^ Scrollbar.c:170:13: warning: a function declaration without a prototype is 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 | static void NotifyScroll(); | ^ Scrollbar.c:1003:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | static void EndScroll(w, event, params, num_params ) | ^ Scrollbar.c:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | static void EndScroll(); | ^ Scrollbar.c:1019:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | static float FractionLoc (sbw, x, y) | ^ Scrollbar.c:1035:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | static void MoveThumb (w, event, params, num_params) | ^ Scrollbar.c:168:13: warning: a function declaration without a prototype is 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 | static void MoveThumb(); | ^ Scrollbar.c:1077:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | static void NotifyThumb (w, event, params, num_params ) | ^ Scrollbar.c:169:13: warning: a function declaration without a prototype is 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 | static void NotifyThumb(); | ^ 46 warnings generated. rm -f Scrollbar.o --- Simple.o --- Simple.c:142:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | static void ClassPartInitialize(class) | ^ Simple.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); | ^ Simple.c:186:18: warning: passing arguments to 'ConvertCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | ConvertCursor(w); | ^ Simple.c:163:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | static void Realize(w, valueMask, attributes) | ^ Simple.c:79:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); | ^ Simple.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | ConvertCursor(w) | ^ Simple.c:79:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); | ^ Simple.c:251:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | simple_class.change_sensitive) ( new ); | ^ Simple.c:235:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static Boolean SetValues(current, request, new, args, num_args) | ^ Simple.c:80: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] 80 | static Boolean SetValues(), ChangeSensitive(); | ^ Simple.c:275:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | static Boolean ChangeSensitive(w) | ^ Simple.c:80:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static Boolean SetValues(), ChangeSensitive(); | ^ 12 warnings generated. rm -f Simple.o --- Scrollbar.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Scrollbar.c --- Repeater.o --- Repeater.c:168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | static void tic (client_data, id) | ^ Repeater.c:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static void tic(); /* clock timeout */ | ^ Repeater.c:205:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | static void Initialize (greq, gnew, args, num_args) | ^ Repeater.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void Initialize(); /* setup private data */ | ^ Repeater.c:216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | static void Destroy (gw) | ^ Repeater.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | static void Destroy(); /* clear timers */ | ^ Repeater.c:223:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | static Boolean SetValues (gcur, greq, gnew, args, num_args) | ^ Repeater.c:104: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] 104 | static Boolean SetValues(); /* set resources */ | ^ Repeater.c:247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | static void ActionStart (gw, event, params, num_params) | ^ Repeater.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ActionStart(), ActionStop(); | ^ Repeater.c:266:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | static void ActionStop (gw, event, params, num_params) | ^ Repeater.c:67:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ActionStart(), ActionStop(); | ^ 12 warnings generated. --- Simple.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Simple.c --- Sme.o --- --- SimpleMenu.o --- SimpleMenu.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | ClassPartInitialize(wc) | ^ SimpleMenu.c:116:46: warning: a function declaration without a prototype is 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 | static void Initialize(), ClassInitialize(), ClassPartInitialize(); | ^ SimpleMenu.c:297:18: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | CreateLabel(new); | ^ SimpleMenu.c:309:37: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Sme.o --- rm -f Sme.o unshared/Sme.o --- SimpleMenu.o --- 309 | smw->core.width = GetMenuWidth(new, (Widget)NULL); | ^ SimpleMenu.c:316:39: warning: passing arguments to 'GetMenuHeight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | smw->core.height = GetMenuHeight(new); | ^ SimpleMenu.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Initialize(request, new, args, num_args) | ^ SimpleMenu.c:116:13: warning: a function declaration without a prototype is 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 | static void Initialize(), ClassInitialize(), ClassPartInitialize(); | ^ SimpleMenu.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | Redisplay(w, event, region) | ^ SimpleMenu.c:115:13: warning: a function declaration without a prototype is 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 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | Realize(w, mask, attrs) | ^ SimpleMenu.c:115: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] 115 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:508:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | Layout(w, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | Resize(w) | ^ SimpleMenu.c:115:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:552:17: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | CreateLabel(new); | ^ SimpleMenu.c:551:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 551 | else if (smw_old->simple_menu.label_string == NULL) /* Create. */ | ^ SimpleMenu.c:582:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | Layout(new, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | SetValues(current, request, new, args, num_args) | ^ SimpleMenu.c:117: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] 117 | static Boolean SetValues(), SetValuesHook(); | ^ SimpleMenu.c:622:22: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | MakeSetValuesRequest(w, width, height); | ^ SimpleMenu.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | SetValuesHook(w, arglist, num_args) | ^ SimpleMenu.c:117:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static Boolean SetValues(), SetValuesHook(); | ^ SimpleMenu.c:660:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | Layout(w, &(reply->width), &(reply->height) ); | ^ SimpleMenu.c:680:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | Layout(( Widget) smw, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | GeometryManager(w, request, reply) | ^ SimpleMenu.c:118: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] 118 | static XtGeometryResult GeometryManager(); | ^ SimpleMenu.c:715:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | Layout(w, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | ChangeManaged(w) | ^ SimpleMenu.c:115:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:756:24: warning: passing arguments to 'FindMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | if ( (menu = FindMenu(w, params[0])) == NULL) { | ^ SimpleMenu.c:769:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | PositionMenu(menu, &loc); | ^ SimpleMenu.c:775:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | PositionMenu(menu, &loc); | ^ SimpleMenu.c:780:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | PositionMenu(menu, &loc); | ^ SimpleMenu.c:783:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | PositionMenu(menu, (XPoint *)NULL); | ^ SimpleMenu.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | PositionMenuAction(w, event, params, num_params) | ^ SimpleMenu.c:125:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:816:48: warning: passing arguments to 'GetEventEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | if (entry == NULL || entry == GetEventEntry(w, event)) { | ^ SimpleMenu.c:818:16: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | PopdownSubMenu(smw); | ^ SimpleMenu.c:823:16: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | PopdownSubMenu(smw); | ^ SimpleMenu.c:829:16: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | PopdownSubMenu(smw); | ^ SimpleMenu.c:838:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | (class->sme_class.unhighlight) ((Widget) entry); | ^ SimpleMenu.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | Unhighlight(w, event, params, num_params) | ^ SimpleMenu.c:125: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] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:866:26: warning: passing arguments to 'GetEventEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | entry = GetEventEntry(w, event); | ^ SimpleMenu.c:870:19: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | PopdownSubMenu(smw); | ^ SimpleMenu.c:888:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | (class->sme_class.highlight) ((Widget) entry); | ^ SimpleMenu.c:890:18: warning: passing arguments to 'PopupSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | PopupSubMenu(smw); | ^ SimpleMenu.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | Highlight(w, event, params, num_params) | ^ SimpleMenu.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:919:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | (class->sme_class.notify)( (Widget) entry ); | ^ SimpleMenu.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | Notify(w, event, params, num_params) | ^ SimpleMenu.c:125:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | CreateLabel(w) | ^ SimpleMenu.c:132:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void MakeSetValuesRequest(), CreateLabel(), Layout(); | ^ SimpleMenu.c:1115:17: warning: passing arguments to 'SetMarginWidths' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | SetMarginWidths((Widget)smw); | ^ SimpleMenu.c:1117:22: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | width = GetMenuWidth((Widget)smw, (Widget)NULL); | ^ SimpleMenu.c:1129:26: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | MakeSetValuesRequest((Widget) smw, width, height); | ^ SimpleMenu.c:1055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | Layout(w, width_ret, height_ret) | ^ SimpleMenu.c:132:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void MakeSetValuesRequest(), CreateLabel(), Layout(); | ^ SimpleMenu.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | AddPositionAction(app_con, data) | ^ SimpleMenu.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); | ^ SimpleMenu.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | FindMenu(widget, name) | ^ SimpleMenu.c:136:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | static Widget FindMenu(); | ^ SimpleMenu.c:1229:13: warning: passing arguments to 'MoveMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | MoveMenu(w, (Position) location->x, (Position) location->y); | ^ SimpleMenu.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | PositionMenu(w, location) | ^ SimpleMenu.c:133:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); | ^ SimpleMenu.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | MoveMenu(w, x, y) | ^ SimpleMenu.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static void MoveMenu(); | ^ SimpleMenu.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | ChangeCursorOnGrab(w, junk, garbage) | ^ SimpleMenu.c:133:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); | ^ SimpleMenu.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | MakeSetValuesRequest(w, width, height) | ^ SimpleMenu.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void MakeSetValuesRequest(), CreateLabel(), Layout(); | ^ SimpleMenu.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | SetMarginWidths(w) | ^ SimpleMenu.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | static void SetMarginWidths(); | ^ SimpleMenu.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | GetMenuWidth(w, w_ent) | ^ SimpleMenu.c:135:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static Dimension GetMenuWidth(), GetMenuHeight(); | ^ SimpleMenu.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | GetMenuHeight(w) | ^ SimpleMenu.c:135:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static Dimension GetMenuWidth(), GetMenuHeight(); | ^ SimpleMenu.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | GetEventEntry(w, event) | ^ SimpleMenu.c:137:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static SmeObject GetEventEntry(); | ^ SimpleMenu.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | PopupCB(w, client_data, call_data) | ^ SimpleMenu.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); | ^ SimpleMenu.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | PopupSubMenu(smw) | ^ SimpleMenu.c:119: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] 119 | static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); | ^ SimpleMenu.c:1652:19: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | PopdownSubMenu(smw); | ^ SimpleMenu.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | Popdown(w, event, params, num_params) | ^ SimpleMenu.c:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | static void Popdown(); | ^ SimpleMenu.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | PopdownSubMenu(smw) | ^ SimpleMenu.c:119:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); | ^ 89 warnings generated. rm -f SimpleMenu.o --- Sme.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Sme.c -o unshared/Sme.o --- SimpleMenu.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC SimpleMenu.c --- Simple.o --- Simple.c:142:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | static void ClassPartInitialize(class) | ^ Simple.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); | ^ Simple.c:186:18: warning: passing arguments to 'ConvertCursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | ConvertCursor(w); | ^ Simple.c:163:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | static void Realize(w, valueMask, attributes) | ^ Simple.c:79:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); | ^ Simple.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | ConvertCursor(w) | ^ Simple.c:79:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void ClassPartInitialize(), ClassInitialize(),Realize(),ConvertCursor(); | ^ Simple.c:251:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | simple_class.change_sensitive) ( new ); | ^ Simple.c:235:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | static Boolean SetValues(current, request, new, args, num_args) | ^ Simple.c:80: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] 80 | static Boolean SetValues(), ChangeSensitive(); | ^ Simple.c:275:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | static Boolean ChangeSensitive(w) | ^ Simple.c:80:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static Boolean SetValues(), ChangeSensitive(); | ^ 12 warnings generated. --- SmeBSB.o --- rm -f SmeBSB.o unshared/SmeBSB.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SmeBSB.c -o unshared/SmeBSB.o --- Panner.o --- Panner.c:221:28: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, | ^ Panner.c:223:27: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, | ^ Panner.c:236:32: warning: passing arguments to 'XmuDistinguishablePixels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | !XmuDistinguishablePixels (XtDisplay (pw), pw->core.colormap, | ^ Panner.c:208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | static void reset_shadow_gc (pw) /* used when resources change */ | ^ Panner.c:250:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static void reset_slider_gc (pw) /* used when resources change */ | ^ Panner.c:263:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | static void reset_xor_gc (pw) /* used when resources change */ | ^ Panner.c:288:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | static void check_knob (pw, knob) | ^ Panner.c:320:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | static void move_shadow (pw) | ^ Panner.c:346:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | static void scale_knob (pw, location, size) /* set knob size and/or loc */ | ^ Panner.c:373:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | static void rescale (pw) | ^ Panner.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 get_default_size (pw, wp, hp) | ^ Panner.c:404:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | static Boolean get_event_xy (pw, event, x, y) | ^ Panner.c:466:12: warning: call to undeclared function 'atof'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | val *= atof (cp); | ^ Panner.c:439:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | static int parse_page_string (s, pagesize, canvassize, relative) | ^ Panner.c:519:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | static void Initialize (greq, gnew, args, num_args) | ^ Panner.c:147:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | static void Initialize(); /* create gc's */ | ^ Panner.c:550:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | static void Realize (gw, valuemaskp, attr) | ^ Panner.c:148:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | static void Realize(); /* create window */ | ^ Panner.c:576:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | static void Destroy (gw) | ^ Panner.c:149:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | static void Destroy(); /* clean up widget */ | ^ Panner.c:587:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | static void Resize (gw) | ^ Panner.c:150:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | static void Resize(); /* need to rescale ourselves */ | ^ Panner.c:595:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | static void Redisplay (gw, event, region) | ^ Panner.c:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | static void Redisplay(); /* draw ourselves */ | ^ Panner.c:637:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | static Boolean SetValues (gcur, greq, gnew, args, num_args) | ^ Panner.c:152: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] 152 | static Boolean SetValues(); /* set all of the resources */ | ^ Panner.c:715:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | static void SetValuesAlmost (gold, gnew, req, reply) | ^ Panner.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void SetValuesAlmost(); /* deal with failed setval geom req */ | ^ Panner.c:726:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | static XtGeometryResult QueryGeometry (gw, intended, pref) | ^ Panner.c:154: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] 154 | static XtGeometryResult QueryGeometry(); /* say how big we would like to be */ | ^ Panner.c:754:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | static void ActionStart (gw, event, params, num_params) | ^ Panner.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | static void ActionStop (gw, event, params, num_params) | ^ Panner.c:87:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:813:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | ActionNotify (gw, event, params, num_params); | ^ Panner.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 ActionAbort (gw, event, params, num_params) | ^ Panner.c:87:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:841:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | ActionNotify (gw, event, params, num_params); /* does a check */ | ^ Panner.c:820:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | static void ActionMove (gw, event, params, num_params) | ^ Panner.c:87:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void ActionStart(), ActionStop(), ActionAbort(), ActionMove(); | ^ Panner.c:886:15: warning: passing arguments to 'ActionNotify' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | ActionNotify (gw, event, (String *) NULL, &zero); | ^ Panner.c:850:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | static void ActionPage (gw, event, params, num_params) | ^ Panner.c:88:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void ActionPage(), ActionNotify(), ActionSet(); | ^ Panner.c:893:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | static void ActionNotify (gw, event, params, num_params) | ^ Panner.c:88: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] 88 | static void ActionPage(), ActionNotify(), ActionSet(); | ^ Panner.c:944:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | static void ActionSet (gw, event, params, num_params) | ^ Panner.c:88:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static void ActionPage(), ActionNotify(), ActionSet(); | ^ 47 warnings generated. --- SmeLine.o --- rm -f SmeLine.o unshared/SmeLine.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SmeLine.c -o unshared/SmeLine.o --- SmeBSB.o --- SmeBSB.c:205:14: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | CreateGCs(new); | ^ SmeBSB.c:207:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | GetBitmapInfo(new, TRUE); /* Left Bitmap Info */ | ^ SmeBSB.c:208:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | GetBitmapInfo(new, FALSE); /* Right Bitmap Info */ | ^ SmeBSB.c:212:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height)); | ^ SmeBSB.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | Initialize(request, new, args, num_args) | ^ SmeBSB.c:98:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void Redisplay(), Destroy(), Initialize(); | ^ SmeBSB.c:227:15: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | DestroyGCs(w); | ^ SmeBSB.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | Destroy(w) | ^ SmeBSB.c:98: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] 98 | static void Redisplay(), Destroy(), Initialize(); | ^ SmeBSB.c:359:16: warning: passing arguments to 'DrawBitmaps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | DrawBitmaps(w, gc); | ^ SmeBSB.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | Redisplay(w, event, region) | ^ SmeBSB.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void Redisplay(), Destroy(), Initialize(); | ^ SmeBSB.c:407:12: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | DestroyGCs(current); | ^ SmeBSB.c:408:11: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | CreateGCs(new); | ^ SmeBSB.c:415:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetBitmapInfo(new, TRUE); | ^ SmeBSB.c:432:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | GetBitmapInfo(new, FALSE); | ^ SmeBSB.c:455:16: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | GetDefaultSize(new, | ^ SmeBSB.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | SetValues(current, request, new, args, num_args) | ^ SmeBSB.c:101: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] 101 | static Boolean SetValues(); | ^ SmeBSB.c:486:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | GetDefaultSize(w, &width, &height ); | ^ SmeBSB.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | QueryGeometry(w, intended, return_val) | ^ SmeBSB.c:102: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] 102 | static XtGeometryResult QueryGeometry(); | ^ SmeBSB.c:528:15: warning: passing arguments to 'FlipColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | FlipColors(w); | ^ SmeBSB.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | Highlight(w) | ^ SmeBSB.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void Highlight(), Unhighlight(); | ^ SmeBSB.c:538:15: warning: passing arguments to 'FlipColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | FlipColors(w); | ^ SmeBSB.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | Unhighlight(w) | ^ SmeBSB.c:99: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] 99 | static void Highlight(), Unhighlight(); | ^ SmeBSB.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | GetDefaultSize(w, width, height) | ^ SmeBSB.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); | ^ SmeBSB.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | DrawBitmaps(w, gc) | ^ SmeBSB.c:108:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); | ^ SmeBSB.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | GetBitmapInfo(w, is_left) | ^ SmeBSB.c:108:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); | ^ SmeBSB.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | CreateGCs(w) | ^ SmeBSB.c:109:13: warning: a function declaration without a prototype is 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 | static void CreateGCs(), DestroyGCs(), FlipColors(); | ^ SmeBSB.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | DestroyGCs(w) | ^ SmeBSB.c:109: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] 109 | static void CreateGCs(), DestroyGCs(), FlipColors(); | ^ SmeBSB.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | FlipColors(w) | ^ SmeBSB.c:109:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void CreateGCs(), DestroyGCs(), FlipColors(); | ^ 40 warnings generated. --- Sme.o --- Sme.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | ClassPartInitialize(class) | ^ Sme.c:61:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | Initialize(request, new, args, num_args) | ^ Sme.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void Initialize(); | ^ Sme.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | Highlight(w) | ^ Sme.c:61:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | Unhighlight(w) | ^ Sme.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Notify(w) | ^ Sme.c:61:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | QueryGeometry(w, intended, return_val) | ^ Sme.c:63: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] 63 | static XtGeometryResult QueryGeometry(); | ^ 12 warnings generated. rm -f Sme.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Sme.c --- SmeBSB.o --- rm -f SmeBSB.o --- Paned.o --- Paned.c:291:34: warning: passing arguments to 'PaneSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | Dimension old_size = PaneSize( (Widget) pw, IsVert(pw)); | ^ Paned.c:329:33: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | *on_size_ret = GetRequestInfo( &request, IsVert(pw) ); | ^ Paned.c:330:40: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | *off_size_ret = GetRequestInfo( &request, !IsVert(pw) ); | ^ Paned.c:333:36: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | *on_size_ret = GetRequestInfo( &reply, IsVert(pw) ); | ^ Paned.c:334:37: warning: passing arguments to 'GetRequestInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | *off_size_ret = GetRequestInfo( &reply, !IsVert(pw) ); | ^ Paned.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | AdjustPanedSize(pw, off_size, result_ret, on_size_ret, off_size_ret) | ^ Paned.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | PaneSize(w, vertical) | ^ Paned.c:199:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | static Dimension PaneSize(), GetRequestInfo(); | ^ Paned.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | GetRequestInfo(geo_struct, vert) | ^ Paned.c:199:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | static Dimension PaneSize(), GetRequestInfo(); | ^ Paned.c:428:42: warning: passing arguments to 'SatisfiesRule3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | if ( (rules < 3 || SatisfiesRule3(pane, shrink)) && | ^ Paned.c:429:35: warning: passing arguments to 'SatisfiesRule2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | (rules < 2 || SatisfiesRule2(pane)) && | ^ Paned.c:430:22: warning: passing arguments to 'SatisfiesRule1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | (SatisfiesRule1(pane, shrink)) && | ^ Paned.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | ChoosePaneToResize(pw, paneindex, dir, shrink) | ^ Paned.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | SatisfiesRule1(pane, shrink) | ^ Paned.c:200: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] 200 | static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); | ^ Paned.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | SatisfiesRule2(pane) | ^ Paned.c:200:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); | ^ Paned.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | SatisfiesRule3(pane, shrink) | ^ Paned.c:200:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | static Boolean SatisfiesRule1(), SatisfiesRule2(), SatisfiesRule3(); | ^ Paned.c:536:14: warning: passing arguments to 'GetPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | GetPaneStack(pw, shrink, &pane, &start_size); | ^ Paned.c:544:19: warning: passing arguments to 'PushPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | PushPaneStack(pw, pane); | ^ Paned.c:562:55: warning: passing arguments to 'PopPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | if (pane->size == start_size) (void) PopPaneStack(pw); | ^ Paned.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | LoopAndRefigureChildren(pw, paneindex, dir, sizeused) | ^ Paned.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | RefigureLocations(pw, paneindex, dir) | ^ Paned.c:713:19: warning: passing arguments to 'ClearPaneStack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | ClearPaneStack(pw); | ^ Paned.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | CommitNewLocations(pw) | ^ Paned.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | RefigureLocationsAndCommit(w) | ^ Paned.c:192:13: warning: a function declaration without a prototype is 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 | static void RefigureLocationsAndCommit(); | ^ Paned.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | _DrawRect(pw, gc, on_loc, off_loc, on_size, off_size) | ^ Paned.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | _DrawInternalBorders(pw, gc) | ^ Paned.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | _DrawTrackLines(pw, erase) | ^ Paned.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | GetEventLocation(pw, event) | ^ Paned.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | StartGripAdjustment(pw, grip, dir) | ^ Paned.c:991:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 991 | if ( (dir == ThisBorderOnly) ) { | ~~~~^~~~~~~~~~~~~~~~~ Paned.c:991:15: note: remove extraneous parentheses around the comparison to silence this warning 991 | if ( (dir == ThisBorderOnly) ) { | ~ ^ ~ Paned.c:991:15: note: use '=' to turn this equality comparison into an assignment 991 | if ( (dir == ThisBorderOnly) ) { | ^~ | = Paned.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | MoveGripAdjustment(pw, grip, dir, loc) | ^ Paned.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | CommitGripAdjustment(pw) | ^ Paned.c:1051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1051 | HandleGrip(grip, junk, callData) | ^ Paned.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | ResortChildren(pw) | ^ Paned.c:1164:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1164 | else | ^ Paned.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | ManageAndUnmanageGrips(pw) | ^ Paned.c:1200:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1200 | else | ^ Paned.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | CreateGrip(child) | ^ Paned.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | GetGCs(w) | ^ Paned.c:191:13: warning: a function declaration without a prototype is 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 | static void GetGCs(), ReleaseGCs(); | ^ Paned.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | SetChildrenPrefSizes(pw, off_size) | ^ Paned.c:1316:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1316 | else | ^ Paned.c:1304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | ChangeAllGripCursors(pw) | ^ Paned.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | PushPaneStack(pw, pane) | ^ Paned.c:202:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 202 | static void PushPaneStack(); | ^ Paned.c:1364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | GetPaneStack(pw, shrink, pane, start_size) | ^ Paned.c:203:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | static void GetPaneStack(); | ^ Paned.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | PopPaneStack(pw) | ^ Paned.c:204: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] 204 | static Boolean PopPaneStack(); | ^ Paned.c:1409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | ClearPaneStack(pw) | ^ Paned.c:205:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 205 | static void ClearPaneStack(); | ^ Paned.c:1495:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1495 | else | ^ Paned.c:1530:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1530 | else | ^ Paned.c:1449:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | static XtGeometryResult GeometryManager(w, request, reply) | ^ Paned.c:194: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] 194 | static XtGeometryResult GeometryManager(); | ^ Paned.c:1553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | static void Initialize(request, new, args, num_args) | ^ Paned.c:188:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | static void ClassInitialize(), Initialize(); | ^ Paned.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | Realize(w, valueMask, attributes) | ^ Paned.c:189:13: warning: a function declaration without a prototype is 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 | static void Realize(), Resize(); | ^ Paned.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | ReleaseGCs(w) | ^ Paned.c:191:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | static void GetGCs(), ReleaseGCs(); | ^ Paned.c:1608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | static void InsertChild(w) | ^ Paned.c:196:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | static void InsertChild(); | ^ Paned.c:1637:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | static void DeleteChild(w) | ^ Paned.c:197:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 197 | static void DeleteChild(); | ^ Paned.c:1685:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1685 | else | ^ Paned.c:1650:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1650 | static void ChangeManaged(w) | ^ Paned.c:195:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 195 | static void ChangeManaged(); | ^ Paned.c:1710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | Resize(w) | ^ Paned.c:189: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] 189 | static void Realize(), Resize(); | ^ Paned.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | Redisplay(w, event, region) | ^ Paned.c:190:13: warning: a function declaration without a prototype is 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 | static void Redisplay(); | ^ Paned.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | SetValues(old, request, new, args, num_args) | ^ Paned.c:193: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] 193 | static Boolean SetValues(); | ^ Paned.c:1820:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1820 | else if ( HasGrip(old) ) { | ^ Paned.c:1793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | PaneSetValues(old, request, new, args, num_args) | ^ Paned.c:198: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] 198 | static Boolean PaneSetValues(); | ^ 82 warnings generated. --- SmeThreeD.o --- --- SmeBSB.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC SmeBSB.c --- SmeThreeD.o --- rm -f SmeThreeD.o unshared/SmeThreeD.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO SmeThreeD.c -o unshared/SmeThreeD.o --- Scrollbar.o --- Scrollbar.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | static void FillArea (sbw, top, bottom, fill) | ^ Scrollbar.c:303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | static void PaintThumb (sbw, event) | ^ Scrollbar.c:367:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | static void PaintArrows (sbw) | ^ Scrollbar.c:468:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | static void Destroy (w) | ^ --- SimpleMenu.o --- SimpleMenu.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | ClassPartInitialize(wc) | ^ SimpleMenu.c:116:46: warning: a function declaration without a prototype is 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 | static void Initialize(), ClassInitialize(), ClassPartInitialize(); | ^ SimpleMenu.c:297:18: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | CreateLabel(new); | ^ SimpleMenu.c:309:37: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Scrollbar.o --- Scrollbar.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void Destroy(); | ^ Scrollbar.c:483:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | static void CreateGC (w) | ^ Scrollbar.c:526:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | static void SetDimensions (sbw) | ^ Scrollbar.c:539:13: 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 void Initialize( request, new, args, num_args ) | ^ --- SimpleMenu.o --- 309 | smw->core.width = GetMenuWidth(new, (Widget)NULL); | ^ SimpleMenu.c:316:39: warning: passing arguments to 'GetMenuHeight' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | smw->core.height = GetMenuHeight(new); | ^ SimpleMenu.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Initialize(request, new, args, num_args) | ^ SimpleMenu.c:116:13: warning: a function declaration without a prototype is 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 | static void Initialize(), ClassInitialize(), ClassPartInitialize(); | ^ --- Scrollbar.o --- Scrollbar.c:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | static void Initialize(); | ^ Scrollbar.c:564:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | static void Realize (w, valueMask, attributes) | ^ Scrollbar.c:161:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 161 | static void Realize(); | ^ Scrollbar.c:592:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- SmeLine.o --- SmeLine.c:148:13: warning: passing arguments to 'CreateGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | CreateGC(new); | ^ SmeLine.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | Initialize(request, new, args, num_args) | ^ SmeLine.c:65: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] 65 | static void Redisplay(), Initialize(); | ^ SmeLine.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | CreateGC(w) | ^ --- SimpleMenu.o --- SimpleMenu.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | Redisplay(w, event, region) | ^ SimpleMenu.c:115:13: warning: a function declaration without a prototype is 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 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | Realize(w, mask, attrs) | ^ SimpleMenu.c:115: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] --- Scrollbar.o --- 592 | static Boolean SetValues (current, request, desired, args, num_args) | ^ Scrollbar.c:164: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] 164 | static Boolean SetValues(); | ^ Scrollbar.c:637:15: warning: passing arguments to 'Redisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | Redisplay (w, (XEvent*) NULL, (Region)NULL); | ^ Scrollbar.c:631:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | static void Resize (w) | ^ --- SmeLine.o --- SmeLine.c:66: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] 66 | static void DestroyGC(), CreateGC(); | ^ SmeLine.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | DestroyGC(w) | ^ SmeLine.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void DestroyGC(), CreateGC(); | ^ SmeLine.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | Redisplay(w, event, region) | ^ --- SimpleMenu.o --- 115 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:508:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | Layout(w, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | Resize(w) | ^ SimpleMenu.c:115:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ --- Scrollbar.o --- Scrollbar.c:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void Resize(); | ^ Scrollbar.c:652:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE); | ^ Scrollbar.c:642:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | static void Redisplay (w, event, region) | ^ --- SmeLine.o --- SmeLine.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static void Redisplay(), Initialize(); | ^ SmeLine.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | SetValues(current, request, new, args, num_args) | ^ SmeLine.c:67: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] 67 | static Boolean SetValues(); | ^ SmeLine.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | QueryGeometry(w, intended, return_val) --- SimpleMenu.o --- SimpleMenu.c:552:17: warning: passing arguments to 'CreateLabel' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | CreateLabel(new); | ^ SimpleMenu.c:551:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 551 | else if (smw_old->simple_menu.label_string == NULL) /* Create. */ | ^ SimpleMenu.c:582:8: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | Layout(new, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | SetValues(current, request, new, args, num_args) | ^ --- Scrollbar.o --- Scrollbar.c:163:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 163 | static void Redisplay(); | ^ Scrollbar.c:677:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | static Boolean CompareEvents (oldEvent, newEvent) | ^ Scrollbar.c:717:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | static Bool PeekNotifyEvent (dpy, event, args) | ^ Scrollbar.c:729:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | static Boolean LookAhead (w, event) | ^ | ^ SmeLine.c:68: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] 68 | static XtGeometryResult QueryGeometry(); | ^ 13 warnings generated. --- SmeLine.o --- rm -f SmeLine.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC SmeLine.c --- SimpleMenu.o --- SimpleMenu.c:117: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] 117 | static Boolean SetValues(), SetValuesHook(); | ^ SimpleMenu.c:622:22: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | MakeSetValuesRequest(w, width, height); | ^ SimpleMenu.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | SetValuesHook(w, arglist, num_args) | ^ --- Scrollbar.o --- Scrollbar.c:747:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | static void ExtractPosition (event, x, y) | ^ Scrollbar.c:777:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | static void HandleThumb (w, event, params, num_params) | ^ Scrollbar.c:166:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 166 | static void HandleThumb(); | ^ Scrollbar.c:815:49: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 815 | XtCallCallbacks((Widget)sbw, XtNscrollProc, (XtPointer) call_data); --- SimpleMenu.o --- SimpleMenu.c:117:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | static Boolean SetValues(), SetValuesHook(); | ^ SimpleMenu.c:660:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | Layout(w, &(reply->width), &(reply->height) ); | ^ SimpleMenu.c:680:12: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | Layout(( Widget) smw, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Scrollbar.o --- | ^~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:801:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | static void RepeatNotify (client_data, idp) | ^ Scrollbar.c:847:18: warning: passing arguments to 'NotifyScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | NotifyScroll(w, event, params, 0); | ^ Scrollbar.c:824:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | static void StartScroll (w, event, params, num_params ) | ^ --- SimpleMenu.o --- 641 | GeometryManager(w, request, reply) | ^ SimpleMenu.c:118: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] 118 | static XtGeometryResult GeometryManager(); | ^ SimpleMenu.c:715:11: warning: passing arguments to 'Layout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | Layout(w, (Dimension *)NULL, (Dimension *)NULL); | ^ SimpleMenu.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | ChangeManaged(w) | ^ --- Scrollbar.o --- Scrollbar.c:167:13: warning: a function declaration without a prototype is 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 | static void StartScroll(); | ^ Scrollbar.c:886:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | static int InRange(num, small, big) | ^ Scrollbar.c:896:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | static float FloatInRange(num, small, big) | ^ Scrollbar.c:928:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 928 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); --- SimpleMenu.o --- SimpleMenu.c:115:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void Redisplay(), Realize(), Resize(), ChangeManaged(); | ^ SimpleMenu.c:756:24: warning: passing arguments to 'FindMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | if ( (menu = FindMenu(w, params[0])) == NULL) { | ^ SimpleMenu.c:769:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | PositionMenu(menu, &loc); | ^ --- Scrollbar.o --- | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:937:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 937 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:946:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 946 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ Scrollbar.c:950:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 950 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)(call_data)); | ^~~~~~~~~~~~~~~~~~~~~~ --- SimpleMenu.o --- SimpleMenu.c:775:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | PositionMenu(menu, &loc); | ^ SimpleMenu.c:780:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | PositionMenu(menu, &loc); | ^ SimpleMenu.c:783:17: warning: passing arguments to 'PositionMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | PositionMenu(menu, (XPoint *)NULL); | ^ SimpleMenu.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | PositionMenuAction(w, event, params, num_params) | ^ --- Scrollbar.o --- Scrollbar.c:991:41: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 991 | XtCallCallbacks (w, XtNscrollProc, (XtPointer)call_data); | ^~~~~~~~~~~~~~~~~~~~ Scrollbar.c:903:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | static void NotifyScroll (w, event, params, num_params) | ^ Scrollbar.c:170:13: warning: a function declaration without a prototype is 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 | static void NotifyScroll(); | ^ Scrollbar.c:1003:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- SimpleMenu.o --- SimpleMenu.c:125:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:816:48: warning: passing arguments to 'GetEventEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | if (entry == NULL || entry == GetEventEntry(w, event)) { | ^ SimpleMenu.c:818:16: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | PopdownSubMenu(smw); | ^ --- Scrollbar.o --- 1003 | static void EndScroll(w, event, params, num_params ) | ^ Scrollbar.c:171:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 171 | static void EndScroll(); | ^ Scrollbar.c:1019:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | static float FractionLoc (sbw, x, y) | ^ Scrollbar.c:1035:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | static void MoveThumb (w, event, params, num_params) | ^ --- SimpleMenu.o --- SimpleMenu.c:823:16: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | PopdownSubMenu(smw); | ^ SimpleMenu.c:829:16: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | PopdownSubMenu(smw); | ^ SimpleMenu.c:838:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | (class->sme_class.unhighlight) ((Widget) entry); | ^ SimpleMenu.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | Unhighlight(w, event, params, num_params) | ^ --- Scrollbar.o --- Scrollbar.c:168:13: warning: a function declaration without a prototype is 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 | static void MoveThumb(); | ^ Scrollbar.c:1077:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | static void NotifyThumb (w, event, params, num_params ) | ^ Scrollbar.c:169:13: warning: a function declaration without a prototype is 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 | static void NotifyThumb(); | ^ 46 warnings generated. --- SimpleMenu.o --- SimpleMenu.c:125: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] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:866:26: warning: passing arguments to 'GetEventEntry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | entry = GetEventEntry(w, event); | ^ SimpleMenu.c:870:19: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | PopdownSubMenu(smw); | ^ SimpleMenu.c:888:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- StripChart.o --- --- SimpleMenu.o --- 888 | (class->sme_class.highlight) ((Widget) entry); | ^ SimpleMenu.c:890:18: warning: passing arguments to 'PopupSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | PopupSubMenu(smw); | ^ SimpleMenu.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | Highlight(w, event, params, num_params) | ^ SimpleMenu.c:125:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:919:30: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | (class->sme_class.notify)( (Widget) entry ); | ^ SimpleMenu.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | Notify(w, event, params, num_params) | ^ SimpleMenu.c:125:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | static void Highlight(), Unhighlight(), Notify(), PositionMenuAction(); | ^ SimpleMenu.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | CreateLabel(w) | ^ SimpleMenu.c:132:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void MakeSetValuesRequest(), CreateLabel(), Layout(); | ^ SimpleMenu.c:1115:17: warning: passing arguments to 'SetMarginWidths' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | SetMarginWidths((Widget)smw); | ^ SimpleMenu.c:1117:22: warning: passing arguments to 'GetMenuWidth' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | width = GetMenuWidth((Widget)smw, (Widget)NULL); | ^ --- StripChart.o --- rm -f StripChart.o unshared/StripChart.o --- SimpleMenu.o --- SimpleMenu.c:1129:26: warning: passing arguments to 'MakeSetValuesRequest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | MakeSetValuesRequest((Widget) smw, width, height); | ^ SimpleMenu.c:1055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | Layout(w, width_ret, height_ret) | ^ SimpleMenu.c:132:52: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void MakeSetValuesRequest(), CreateLabel(), Layout(); | ^ SimpleMenu.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | AddPositionAction(app_con, data) | ^ SimpleMenu.c:133:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); | ^ SimpleMenu.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | FindMenu(widget, name) | ^ SimpleMenu.c:136:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | static Widget FindMenu(); | ^ SimpleMenu.c:1229:13: warning: passing arguments to 'MoveMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | MoveMenu(w, (Position) location->x, (Position) location->y); | ^ SimpleMenu.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | PositionMenu(w, location) | ^ SimpleMenu.c:133:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); | ^ SimpleMenu.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | MoveMenu(w, x, y) | ^ SimpleMenu.c:138:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | static void MoveMenu(); | ^ SimpleMenu.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | ChangeCursorOnGrab(w, junk, garbage) | ^ SimpleMenu.c:133:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | static void AddPositionAction(), PositionMenu(), ChangeCursorOnGrab(); | ^ SimpleMenu.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | MakeSetValuesRequest(w, width, height) | ^ SimpleMenu.c:132:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | static void MakeSetValuesRequest(), CreateLabel(), Layout(); | ^ SimpleMenu.c:1338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | SetMarginWidths(w) | ^ SimpleMenu.c:134:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | static void SetMarginWidths(); | ^ SimpleMenu.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | GetMenuWidth(w, w_ent) | ^ SimpleMenu.c:135:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static Dimension GetMenuWidth(), GetMenuHeight(); | ^ SimpleMenu.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | GetMenuHeight(w) | ^ SimpleMenu.c:135:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | static Dimension GetMenuWidth(), GetMenuHeight(); | ^ SimpleMenu.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | GetEventEntry(w, event) | ^ SimpleMenu.c:137:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | static SmeObject GetEventEntry(); | ^ SimpleMenu.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | PopupCB(w, client_data, call_data) | ^ SimpleMenu.c:119:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); | ^ SimpleMenu.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | PopupSubMenu(smw) | ^ SimpleMenu.c:119: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] 119 | static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); | ^ SimpleMenu.c:1652:19: warning: passing arguments to 'PopdownSubMenu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | PopdownSubMenu(smw); | ^ SimpleMenu.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | Popdown(w, event, params, num_params) | ^ SimpleMenu.c:126:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | static void Popdown(); | ^ SimpleMenu.c:1658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1658 | PopdownSubMenu(smw) | ^ SimpleMenu.c:119:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static void PopupCB(), PopupSubMenu(), PopdownSubMenu(); | ^ 89 warnings generated. --- Text.o --- --- SmeThreeD.o --- SmeThreeD.c:150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | static void AllocTopShadowGC (w) | ^ SmeThreeD.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | static void AllocBotShadowGC (w) | ^ SmeThreeD.c:190:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | static void AllocEraseGC (w) | ^ SmeThreeD.c:204:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | static void AllocTopShadowPixmap (new) | ^ SmeThreeD.c:260:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | static void AllocBotShadowPixmap (new) | ^ SmeThreeD.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void XawSme3dComputeTopShadowRGB (new, xcol_out) | ^ SmeThreeD.c:344:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | static void AllocTopShadowPixel (new) | ^ SmeThreeD.c:360:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | void XawSme3dComputeBottomShadowRGB (new, xcol_out) | ^ SmeThreeD.c:392:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | static void AllocBotShadowPixel (new) | ^ SmeThreeD.c:408:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | static void ClassPartInitialize (wc) | ^ SmeThreeD.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ClassPartInitialize(), _XawSme3dDrawShadows(); | ^ SmeThreeD.c:420:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static void Initialize (request, new, args, num_args) | ^ SmeThreeD.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void Initialize(), Destroy(); | ^ SmeThreeD.c:443:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | static void Destroy (gw) | ^ SmeThreeD.c:79: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] 79 | static void Initialize(), Destroy(); | ^ SmeThreeD.c:457:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) | ^ SmeThreeD.c:81: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] 81 | static Boolean SetValues(); | ^ SmeThreeD.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | _XawSme3dDrawShadows(gw) | ^ SmeThreeD.c:80:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ClassPartInitialize(), _XawSme3dDrawShadows(); | ^ 19 warnings generated. --- StripChart.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO StripChart.c -o unshared/StripChart.o --- SmeThreeD.o --- rm -f SmeThreeD.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC SmeThreeD.c --- Text.o --- rm -f Text.o unshared/Text.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Text.c -o unshared/Text.o --- SmeLine.o --- SmeLine.c:148:13: warning: passing arguments to 'CreateGC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | CreateGC(new); | ^ SmeLine.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | Initialize(request, new, args, num_args) | ^ SmeLine.c:65: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] 65 | static void Redisplay(), Initialize(); | ^ SmeLine.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | CreateGC(w) | ^ SmeLine.c:66: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] 66 | static void DestroyGC(), CreateGC(); | ^ SmeLine.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | DestroyGC(w) | ^ SmeLine.c:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | static void DestroyGC(), CreateGC(); | ^ SmeLine.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | Redisplay(w, event, region) | ^ SmeLine.c:65:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | static void Redisplay(), Initialize(); | ^ SmeLine.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | SetValues(current, request, new, args, num_args) | ^ SmeLine.c:67: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] 67 | static Boolean SetValues(); | ^ SmeLine.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | QueryGeometry(w, intended, return_val) | ^ SmeLine.c:68: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] 68 | static XtGeometryResult QueryGeometry(); | ^ 13 warnings generated. --- TextSink.o --- --- SmeBSB.o --- SmeBSB.c:205:14: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | CreateGCs(new); | ^ SmeBSB.c:207:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | GetBitmapInfo(new, TRUE); /* Left Bitmap Info */ | ^ SmeBSB.c:208:18: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | GetBitmapInfo(new, FALSE); /* Right Bitmap Info */ | ^ SmeBSB.c:212:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | GetDefaultSize(new, &(entry->rectangle.width), &(entry->rectangle.height)); | ^ SmeBSB.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | Initialize(request, new, args, num_args) | ^ SmeBSB.c:98:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void Redisplay(), Destroy(), Initialize(); | ^ SmeBSB.c:227:15: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | DestroyGCs(w); | ^ SmeBSB.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | Destroy(w) | ^ SmeBSB.c:98: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] 98 | static void Redisplay(), Destroy(), Initialize(); | ^ SmeBSB.c:359:16: warning: passing arguments to 'DrawBitmaps' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | DrawBitmaps(w, gc); | ^ SmeBSB.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | Redisplay(w, event, region) | ^ SmeBSB.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- TextSink.o --- rm -f TextSink.o unshared/TextSink.o --- SmeBSB.o --- 98 | static void Redisplay(), Destroy(), Initialize(); | ^ SmeBSB.c:407:12: warning: passing arguments to 'DestroyGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | DestroyGCs(current); | ^ SmeBSB.c:408:11: warning: passing arguments to 'CreateGCs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | CreateGCs(new); | ^ SmeBSB.c:415:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetBitmapInfo(new, TRUE); | ^ SmeBSB.c:432:15: warning: passing arguments to 'GetBitmapInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | GetBitmapInfo(new, FALSE); | ^ SmeBSB.c:455:16: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | GetDefaultSize(new, | ^ SmeBSB.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | SetValues(current, request, new, args, num_args) | ^ SmeBSB.c:101: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] 101 | static Boolean SetValues(); | ^ SmeBSB.c:486:19: warning: passing arguments to 'GetDefaultSize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | GetDefaultSize(w, &width, &height ); | ^ SmeBSB.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | QueryGeometry(w, intended, return_val) | ^ SmeBSB.c:102: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] 102 | static XtGeometryResult QueryGeometry(); | ^ SmeBSB.c:528:15: warning: passing arguments to 'FlipColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | FlipColors(w); | ^ SmeBSB.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | Highlight(w) | ^ --- TextSink.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextSink.c -o unshared/TextSink.o --- SmeBSB.o --- SmeBSB.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | static void Highlight(), Unhighlight(); | ^ SmeBSB.c:538:15: warning: passing arguments to 'FlipColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | FlipColors(w); | ^ SmeBSB.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | Unhighlight(w) | ^ SmeBSB.c:99: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] 99 | static void Highlight(), Unhighlight(); | ^ SmeBSB.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | GetDefaultSize(w, width, height) | ^ SmeBSB.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); | ^ SmeBSB.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | DrawBitmaps(w, gc) | ^ SmeBSB.c:108:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); | ^ SmeBSB.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | GetBitmapInfo(w, is_left) | ^ SmeBSB.c:108:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | static void GetDefaultSize(), DrawBitmaps(), GetBitmapInfo(); | ^ SmeBSB.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | CreateGCs(w) | ^ SmeBSB.c:109:13: warning: a function declaration without a prototype is 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 | static void CreateGCs(), DestroyGCs(), FlipColors(); | ^ SmeBSB.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | DestroyGCs(w) | ^ SmeBSB.c:109: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] 109 | static void CreateGCs(), DestroyGCs(), FlipColors(); | ^ SmeBSB.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | FlipColors(w) | ^ SmeBSB.c:109:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | static void CreateGCs(), DestroyGCs(), FlipColors(); | ^ 40 warnings generated. --- TextSrc.o --- rm -f TextSrc.o unshared/TextSrc.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextSrc.c -o unshared/TextSrc.o --- StripChart.o --- StripChart.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | CreateGC(w, which) | ^ StripChart.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | DestroyGC(w, which) | ^ StripChart.c:209:14: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | SetPoints((Widget)w); | ^ StripChart.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | static void Initialize (greq, gnew, args, num_args) | ^ StripChart.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | static void Destroy (gw) | ^ StripChart.c:85: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] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:241:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | (*swclass->threeD_class.shadowdraw) (gw, event, region, w->threeD.relief, FALSE); | ^ StripChart.c:255:27: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | (void) repaint_window (gw, x, width); | ^ StripChart.c:231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | static void Redisplay(gw, event, region) | ^ StripChart.c:85:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:276:17: warning: passing arguments to 'MoveChart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | MoveChart( (StripChartWidget) w, TRUE); | ^ StripChart.c:295:45: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | w->strip_chart.interval = repaint_window((Widget)w, 0, (int) w->core.width - 2 * s); | ^ StripChart.c:296:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | (*swclass->threeD_class.shadowdraw) ((Widget) w, | ^ StripChart.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | draw_it(client_data, id) | ^ StripChart.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void draw_it(); | ^ StripChart.c:363:16: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | SetPoints(gw); | ^ StripChart.c:367:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | (*swclass->threeD_class.shadowdraw) (gw, (XEvent *)0, (Region)0, w->threeD.relief, FALSE); | ^ StripChart.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | repaint_window(gw, left, width) | ^ StripChart.c:87: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] 87 | static int repaint_window(); | ^ StripChart.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | MoveChart(w, blit) | ^ StripChart.c:85:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:480:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | static Boolean SetValues (current, request, new, args, num_args) | ^ StripChart.c:86: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] 86 | static Boolean SetValues(); | ^ StripChart.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | SetPoints(widget) | ^ StripChart.c:85:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ 26 warnings generated. --- Sme.o --- Sme.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | ClassPartInitialize(class) | ^ Sme.c:61:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | Initialize(request, new, args, num_args) | ^ Sme.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void Initialize(); | ^ Sme.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | Highlight(w) | ^ Sme.c:61:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | Unhighlight(w) | ^ Sme.c:61:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | Notify(w) | ^ Sme.c:61:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | static void Unhighlight(), Highlight(), Notify(), ClassPartInitialize(); | ^ Sme.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | QueryGeometry(w, intended, return_val) | ^ Sme.c:63: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] 63 | static XtGeometryResult QueryGeometry(); | ^ 12 warnings generated. --- TextAction.o --- --- TextSrc.o --- TextSrc.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | ClassPartInitialize(wc) | ^ TextSrc.c:67:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ClassInitialize(), ClassPartInitialize(), SetSelection(); | ^ TextSrc.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | Read(w, pos, text, length) | ^ TextSrc.c:70:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- TextSink.o --- TextSink.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | ClassPartInitialize(wc) | ^ TextSink.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void ClassPartInitialize(), Initialize(), Destroy(); | ^ TextSink.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | Initialize(request, new, args, num_args) | ^ TextSink.c:54:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- TextSrc.o --- 70 | static XawTextPosition Search(), Scan(), Read(); | ^ TextSrc.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Replace (w, startPos, endPos, text) | ^ TextSrc.c:71: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] 71 | static int Replace(); | ^ TextSrc.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Scan (w, position, type, dir, count, include) | ^ --- TextSink.o --- 54 | static void ClassPartInitialize(), Initialize(), Destroy(); | ^ TextSink.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | Destroy(w) | ^ TextSink.c:54:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void ClassPartInitialize(), Initialize(), Destroy(); | ^ TextSink.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | SetValues(current, request, new, args, num_args) | ^ --- TextSrc.o --- TextSrc.c:70:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static XawTextPosition Search(), Scan(), Read(); | ^ TextSrc.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Search(w, position, dir, text) | ^ TextSrc.c:70: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] 70 | static XawTextPosition Search(), Scan(), Read(); | ^ TextSrc.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- TextSink.o --- TextSink.c:55: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] 55 | static Boolean SetValues(); | ^ TextSink.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | DisplayText(w, x, y, pos1, pos2, highlight) | ^ TextSink.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- TextSrc.o --- 276 | ConvertSelection(w, selection, target, type, value, length, format) | ^ TextSrc.c:69: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] 69 | static Boolean ConvertSelection(); | ^ TextSrc.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | SetSelection(w, left, right, selection) | ^ TextSrc.c:67:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ClassInitialize(), ClassPartInitialize(), SetSelection(); | ^ --- TextSink.o --- 280 | InsertCursor(w, x, y, state) | ^ TextSink.c:58:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ClearToBackground (w, x, y, width, height) | ^ TextSink.c:58:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ --- TextSrc.o --- TextSrc.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | CvtStringToEditMode(args, num_args, fromVal, toVal) | ^ TextSrc.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void CvtStringToEditMode(); | ^ TextSrc.c:382:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | return((*class->textSrc_class.Read)(w, pos, text, length)); | ^ TextSrc.c:412:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- TextSink.o --- TextSink.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | FindPosition(w, fromPos, fromx, width, stopAtWordBreak, | ^ TextSink.c:58:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) | ^ --- TextSrc.o --- 412 | return((*class->textSrc_class.Replace)(w, startPos, endPos, text)); | ^ TextSrc.c:460:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | return((*class->textSrc_class.Scan)(w, position, type, dir, count, include)); | ^ TextSrc.c:497:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | return((*class->textSrc_class.Search)(w, position, dir, text)); | ^ TextSrc.c:534:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | return((*class->textSrc_class.ConvertSelection)(w, selection, target, type, --- TextSink.o --- TextSink.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | Resolve (w, pos, fromx, width, resPos) | ^ TextSink.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ --- TextSrc.o --- | ^ TextSrc.c:564:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | (*class->textSrc_class.SetSelection)(w, left, right, selection); | ^ TextSrc.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | _XawTextWCToMB( d, wstr, len_in_out ) | ^ TextSrc.c:632:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | wchar_t* _XawTextMBToWC( d, str, len_in_out ) | ^ TextSrc.c:670:19: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- TextSink.o --- TextSink.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | MaxLines(w, height) | ^ TextSink.c:57: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] 57 | static int MaxHeight(), MaxLines(); | ^ TextSink.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | MaxHeight(w, lines) | ^ TextSink.c:57: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] 57 | static int MaxHeight(), MaxLines(); | ^ 670 | *len_in_out = wcslen(wstr); | ^ TextSrc.c:670:19: note: include the header or explicitly provide a declaration for 'wcslen' 25 warnings generated. --- TextSrc.o --- rm -f TextSrc.o --- TextSink.o --- TextSink.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | SetTabs(w, tab_count, tabs) | ^ TextSink.c:59:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | GetCursorBounds(w, rect) | ^ TextSink.c:59:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:508:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | (*class->text_sink_class.DisplayText)(w, x, y, pos1, pos2, highlight); | ^ TextSink.c:540:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | (*class->text_sink_class.InsertCursor)(w, x, y, state); | ^ TextSink.c:574:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | (*class->text_sink_class.ClearToBackground)(w, x, y, width, height); | ^ TextSink.c:614:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | (*class->text_sink_class.FindPosition)(w, fromPos, fromx, width, | ^ TextSink.c:646:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | (*class->text_sink_class.FindDistance)(w, fromPos, fromx, toPos, | ^ TextSink.c:675:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | (*class->text_sink_class.Resolve)(w, pos, fromx, width, resPos); | ^ TextSink.c:703:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | return((*class->text_sink_class.MaxLines)(w, height)); | ^ TextSink.c:726:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | return((*class->text_sink_class.MaxHeight)(w, lines)); | ^ TextSink.c:754:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | (*class->text_sink_class.SetTabs)(w, tab_count, char_tabs); | ^ TextSink.c:778:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | (*class->text_sink_class.GetCursorBounds)(w, rect); | ^ 38 warnings generated. rm -f TextSink.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC TextSink.c --- StripChart.o --- rm -f StripChart.o --- TextSrc.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC TextSrc.c --- Text.o --- Text.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | CvtStringToScrollMode(args, num_args, fromVal, toVal) | ^ Text.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | CvtStringToWrapMode(args, num_args, fromVal, toVal) | ^ Text.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | CvtStringToResizeMode(args, num_args, fromVal, toVal) | ^ Text.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | PositionHScrollBar(ctx) | ^ --- SmeThreeD.o --- SmeThreeD.c:150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | static void AllocTopShadowGC (w) | ^ SmeThreeD.c:170:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | static void AllocBotShadowGC (w) | ^ SmeThreeD.c:190:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | static void AllocEraseGC (w) | ^ SmeThreeD.c:204:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | static void AllocTopShadowPixmap (new) | ^ --- Text.o --- Text.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | PositionVScrollBar(ctx) | ^ Text.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CreateVScrollBar(ctx) | ^ Text.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | DestroyVScrollBar(ctx) | ^ Text.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | CreateHScrollBar(ctx) | ^ Text.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | DestroyHScrollBar(ctx) | ^ --- SmeThreeD.o --- SmeThreeD.c:260:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | static void AllocBotShadowPixmap (new) | ^ SmeThreeD.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | void XawSme3dComputeTopShadowRGB (new, xcol_out) | ^ SmeThreeD.c:344:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | static void AllocTopShadowPixel (new) | ^ SmeThreeD.c:360:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | void XawSme3dComputeBottomShadowRGB (new, xcol_out) | ^ --- Text.o --- Text.c:577:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 577 | else if (ctx->text.scroll_vert == XawtextScrollAlways) | ^ Text.c:588:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 588 | else if ( (ctx->text.resize == XawtextResizeWidth) || | ^ Text.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | Initialize(request, new, args, num_args) | ^ Text.c:623:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | _XawTextSetScrollBars(ctx); | ^ Text.c:624:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | _XawTextCheckResize(ctx); --- SmeThreeD.o --- SmeThreeD.c:392:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | static void AllocBotShadowPixel (new) | ^ SmeThreeD.c:408:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | static void ClassPartInitialize (wc) | ^ SmeThreeD.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ClassPartInitialize(), _XawSme3dDrawShadows(); | ^ SmeThreeD.c:420:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static void Initialize (request, new, args, num_args) --- Text.o --- | ^ Text.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | Realize( w, valueMask, attributes ) | ^ Text.c:628:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | static void UnrealizeScrollbars(widget, client, call) | ^ Text.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static void UnrealizeScrollbars(); | ^ Text.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | _CreateCutBuffers(d) | ^ --- SmeThreeD.o --- | ^ SmeThreeD.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | static void Initialize(), Destroy(); | ^ SmeThreeD.c:443:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | static void Destroy (gw) | ^ SmeThreeD.c:79: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] 79 | static void Initialize(), Destroy(); | ^ SmeThreeD.c:457:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Text.o --- Text.c:694:28: warning: passing arguments to 'LineAndXYForPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | if ( LineAndXYForPosition(ctx, ctx->text.insertPos, &line, &x, &y) ) { | ^ Text.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | InsertCursor (w, state) | ^ Text.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | _XawTextNeedsUpdating(ctx, left, right) | ^ Text.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | _XawTextGetText(ctx, left, right) | ^ --- SmeThreeD.o --- 457 | static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) | ^ SmeThreeD.c:81: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] 81 | static Boolean SetValues(); | ^ SmeThreeD.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | _XawSme3dDrawShadows(gw) | ^ SmeThreeD.c:80:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void ClassPartInitialize(), _XawSme3dDrawShadows(); | ^ 19 warnings generated. --- Text.o --- Text.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | _XawTextGetSTRING(ctx, left, right) | ^ Text.c:812:10: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 812 | n = wcslen(ws); | ^ Text.c:812:10: note: include the header or explicitly provide a declaration for 'wcslen' Text.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | PositionForXY (ctx, x, y) | ^ Text.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | LineForPosition (ctx, position) | ^ Text.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | LineAndXYForPosition (ctx, pos, line, x, y) | ^ Text.c:118: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] 118 | static Boolean LineAndXYForPosition(), TranslateExposeRegion(); | ^ Text.c:972:27: warning: passing arguments to '_BuildLineTable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | (void) _BuildLineTable(ctx, ctx->text.lt.top = position, zeroPosition, 0); | ^ Text.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | _BuildLineTable(ctx, position, min_pos, line) | ^ Text.c:119:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static XawTextPosition FindGoodPosition(), _BuildLineTable(); | ^ Text.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | GetWidestLine(ctx) | ^ Text.c:1131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1131 | else if (ctx->text.scroll_vert == XawtextScrollAlways) | ^ Text.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | CheckVBarScrolling(ctx) | ^ Text.c:1163:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1163 | else | ^ Text.c:1184:16: warning: passing arguments to 'FlushUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | FlushUpdate(ctx); | ^ Text.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | _XawTextSetScrollBars(ctx) | ^ Text.c:122:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); | ^ Text.c:1205:7: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1205 | if (abs(n) > ctx->text.lt.lines) | ^ Text.c:1205:7: note: include the header or explicitly provide a declaration for 'abs' Text.c:1219:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | DisplayTextWindow( (Widget) ctx); | ^ Text.c:1225:20: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | PushCopyQueue(ctx, 0, (int) -y); | ^ Text.c:1265:20: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | PushCopyQueue(ctx, 0, (int) y); | ^ Text.c:1273:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | DisplayTextWindow((Widget)ctx); | ^ Text.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | _XawTextVScroll(ctx, n) | ^ Text.c:1294:41: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1294 | Position old_left, pixels = (Position)(int) callData; | ^~~~~~~~~~~~~~ Text.c:1298:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1318:18: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | PushCopyQueue(ctx, (int) -pixels, 0); | ^ Text.c:1337:18: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | PushCopyQueue(ctx, (int) rect.width, 0); | ^ Text.c:1351:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | UpdateTextInRectangle(ctx, &t_rect); | ^ Text.c:1362:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | UpdateTextInRectangle(ctx, &rect); | ^ Text.c:1364:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | HScroll(w, closure, callData) | ^ Text.c:114:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1384:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 1384 | if (abs(move) < (int)ctx->core.width) { | ^ Text.c:1384:7: note: use function 'labs' instead 1384 | if (abs(move) < (int)ctx->core.width) { | ^~~ | labs Text.c:1384:7: note: include the header or explicitly provide a declaration for 'labs' Text.c:1388:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1390:52: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | if (XtIsRealized((Widget) ctx)) DisplayTextWindow((Widget) ctx); | ^ Text.c:1391:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | HJump(w, closure, callData) | ^ Text.c:114:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | UpdateTextInLine(ctx, line, left, right) | ^ Text.c:116:13: warning: a function declaration without a prototype is 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 | static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); | ^ Text.c:1459:31: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1459 | int height, nlines, lines = (int) callData; | ^~~~~~~~~~~~~~ Text.c:1467:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1469:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | VScroll(w, closure, callData) | ^ Text.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1495:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1522:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | DisplayTextWindow( (Widget) ctx); | ^ Text.c:1524:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | VJump(w, closure, callData) | ^ Text.c:114: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] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | MatchSelection(selection, s) | ^ Text.c:1713:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); | ^ Text.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | ConvertSelection(w, selection, target, type, value, length, format) | ^ Text.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | GetCutBufferNumber(atom) | ^ Text.c:1763:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1789:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | ModifySelection(ctx, ctx->text.insertPos, ctx->text.insertPos); | ^ Text.c:1792:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | LoseSelection(w, selection) | ^ Text.c:1838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | _XawTextSaltAwaySelection (ctx, selections, num_atoms) | ^ Text.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | _SetSelection(ctx, left, right, selections, count) | ^ Text.c:2041:16: warning: passing arguments to 'ClearWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | ClearWindow( (Widget) ctx); | ^ Text.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | _XawTextReplace (ctx, pos1, pos2, text) | ^ Text.c:2109:26: warning: passing arguments to 'FindGoodPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | pos2 = FindGoodPosition(ctx, pos2); | ^ Text.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | DisplayText(w, pos1, pos2) | ^ Text.c:2226:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 2226 | if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && | ^ Text.c:2226:11: note: use function 'labs' instead 2226 | if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && | ^~~ | labs Text.c:2226:11: note: include the header or explicitly provide a declaration for 'labs' Text.c:2303:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2303 | ModifySelection(ctx, newLeft, newRight); | ^ Text.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | DoSelection (ctx, pos, time, motion) | ^ Text.c:2358:22: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | ModifySelection(ctx, ctx->text.origSel.left, ctx->text.origSel.right); | ^ Text.c:2409:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | ModifySelection(ctx, ctx->text.s.left, pos); | ^ Text.c:2411:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | ModifySelection(ctx, pos, ctx->text.s.right); | ^ Text.c:2331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2331 | ExtendSelection (ctx, pos, motion) | ^ Text.c:2421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2421 | ClearWindow (w) | ^ Text.c:114:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:2451:20: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | DisplayTextWindow( (Widget) ctx); | ^ Text.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | _XawTextClearAndCenterDisplay(ctx) | ^ Text.c:2460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2460 | DisplayTextWindow (w) | ^ Text.c:115:13: warning: a function declaration without a prototype is 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 | static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); | ^ Text.c:2477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2477 | _XawTextCheckResize(ctx) | ^ Text.c:2533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | _XawTextSelectionList(ctx, list, nelems) | ^ Text.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | _XawTextSetSelection(ctx, l, r, list, nelems) | ^ Text.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | ModifySelection(ctx, left, right) | ^ Text.c:115:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); | ^ Text.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | _XawTextAlterSelection (ctx, mode, action, params, num_params) | ^ Text.c:121:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void _XawTextAlterSelection(), _XawTextExecuteUpdate(); | ^ Text.c:2650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | RectanglesOverlap(rect1, rect2) | ^ Text.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | UpdateTextInRectangle(ctx, rect) | ^ Text.c:116:33: warning: a function declaration without a prototype is 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 | static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); | ^ Text.c:2711:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2711 | PopCopyQueue(ctx); | ^ Text.c:2715:41: warning: passing arguments to 'TranslateExposeRegion' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2715 | need_to_draw = TranslateExposeRegion(ctx, &expose); | ^ Text.c:2717:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2717 | PopCopyQueue(ctx); | ^ Text.c:2722:28: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2722 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:2730:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2730 | _XawTextExecuteUpdate(ctx); | ^ Text.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2689 | ProcessExposeRegion(w, event, region) | ^ Text.c:2742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2742 | _XawTextPrepareToUpdate(ctx) | ^ Text.c:122:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); | ^ Text.c:2760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | void FlushUpdate(ctx) | ^ Text.c:117:13: warning: a function declaration without a prototype is 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 FlushUpdate(); | ^ Text.c:2803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2803 | _XawTextShowPosition(ctx) | ^ Text.c:2896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2896 | _XawTextExecuteUpdate(ctx) | ^ Text.c:121:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void _XawTextAlterSelection(), _XawTextExecuteUpdate(); | ^ Text.c:2911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | TextDestroy(w) | ^ Text.c:2932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | Resize(w) | ^ Text.c:2950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | SetValues(current, request, new, args, num_args) | ^ Text.c:3034:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | (*(&simpleClassRec)->simple_class.change_sensitive)(w); | ^ Text.c:3028:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | static Boolean ChangeSensitive(w) | ^ Text.c:3055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3055 | GetValuesHook(w, args, num_args) | ^ Text.c:3071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | FindGoodPosition(ctx, pos) | ^ Text.c:119: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] 119 | static XawTextPosition FindGoodPosition(), _BuildLineTable(); | ^ Text.c:3093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3093 | PushCopyQueue(ctx, h, v) | ^ Text.c:115:53: warning: a function declaration without a prototype is 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 | static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); | ^ Text.c:3119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3119 | PopCopyQueue(ctx) | ^ Text.c:116:58: warning: a function declaration without a prototype is 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 | static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); | ^ Text.c:3145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3145 | TranslateExposeRegion(ctx, expose) | ^ Text.c:118:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static Boolean LineAndXYForPosition(), TranslateExposeRegion(); | ^ 135 warnings generated. --- TextPop.o --- --- Text.o --- rm -f Text.o --- StripChart.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC StripChart.c --- TextPop.o --- rm -f TextPop.o unshared/TextPop.o --- Text.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Text.c --- TextPop.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextPop.c -o unshared/TextPop.o --- TextAction.o --- rm -f TextAction.o unshared/TextAction.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO TextAction.c -o unshared/TextAction.o --- TextSink.o --- TextSink.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | ClassPartInitialize(wc) | ^ TextSink.c:54:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void ClassPartInitialize(), Initialize(), Destroy(); | ^ TextSink.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | Initialize(request, new, args, num_args) | ^ TextSink.c:54:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void ClassPartInitialize(), Initialize(), Destroy(); | ^ TextSink.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | Destroy(w) | ^ TextSink.c:54:50: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | static void ClassPartInitialize(), Initialize(), Destroy(); | ^ TextSink.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | SetValues(current, request, new, args, num_args) | ^ TextSink.c:55: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] 55 | static Boolean SetValues(); | ^ TextSink.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | DisplayText(w, x, y, pos1, pos2, highlight) | ^ TextSink.c:58:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | InsertCursor(w, x, y, state) | ^ TextSink.c:58:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | ClearToBackground (w, x, y, width, height) | ^ TextSink.c:58:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | FindPosition(w, fromPos, fromx, width, stopAtWordBreak, | ^ TextSink.c:58:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | static void DisplayText(), InsertCursor(), ClearToBackground(), FindPosition(); | ^ TextSink.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) | ^ TextSink.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | Resolve (w, pos, fromx, width, resPos) | ^ TextSink.c:59:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | MaxLines(w, height) | ^ TextSink.c:57: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] 57 | static int MaxHeight(), MaxLines(); | ^ TextSink.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | MaxHeight(w, lines) | ^ TextSink.c:57: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] 57 | static int MaxHeight(), MaxLines(); | ^ TextSink.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | SetTabs(w, tab_count, tabs) | ^ TextSink.c:59:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | GetCursorBounds(w, rect) | ^ TextSink.c:59:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void FindDistance(), Resolve(), SetTabs(), GetCursorBounds(); | ^ TextSink.c:508:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | (*class->text_sink_class.DisplayText)(w, x, y, pos1, pos2, highlight); | ^ TextSink.c:540:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | (*class->text_sink_class.InsertCursor)(w, x, y, state); | ^ TextSink.c:574:46: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | (*class->text_sink_class.ClearToBackground)(w, x, y, width, height); | ^ TextSink.c:614:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | (*class->text_sink_class.FindPosition)(w, fromPos, fromx, width, | ^ TextSink.c:646:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | (*class->text_sink_class.FindDistance)(w, fromPos, fromx, toPos, | ^ TextSink.c:675:36: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | (*class->text_sink_class.Resolve)(w, pos, fromx, width, resPos); | ^ TextSink.c:703:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | return((*class->text_sink_class.MaxLines)(w, height)); | ^ TextSink.c:726:45: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | return((*class->text_sink_class.MaxHeight)(w, lines)); | ^ TextSink.c:754:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | (*class->text_sink_class.SetTabs)(w, tab_count, char_tabs); | ^ TextSink.c:778:44: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | (*class->text_sink_class.GetCursorBounds)(w, rect); | ^ 38 warnings generated. --- ThreeD.o --- rm -f ThreeD.o unshared/ThreeD.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO ThreeD.c -o unshared/ThreeD.o --- TextSrc.o --- TextSrc.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | ClassPartInitialize(wc) | ^ TextSrc.c:67:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ClassInitialize(), ClassPartInitialize(), SetSelection(); | ^ TextSrc.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | Read(w, pos, text, length) | ^ TextSrc.c:70:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static XawTextPosition Search(), Scan(), Read(); | ^ TextSrc.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Replace (w, startPos, endPos, text) | ^ TextSrc.c:71: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] 71 | static int Replace(); | ^ TextSrc.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Scan (w, position, type, dir, count, include) | ^ TextSrc.c:70:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static XawTextPosition Search(), Scan(), Read(); | ^ TextSrc.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Search(w, position, dir, text) | ^ TextSrc.c:70: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] 70 | static XawTextPosition Search(), Scan(), Read(); | ^ TextSrc.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | ConvertSelection(w, selection, target, type, value, length, format) | ^ TextSrc.c:69: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] 69 | static Boolean ConvertSelection(); | ^ TextSrc.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | SetSelection(w, left, right, selection) | ^ TextSrc.c:67:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | static void ClassInitialize(), ClassPartInitialize(), SetSelection(); | ^ TextSrc.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | CvtStringToEditMode(args, num_args, fromVal, toVal) | ^ TextSrc.c:68:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | static void CvtStringToEditMode(); | ^ TextSrc.c:382:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | return((*class->textSrc_class.Read)(w, pos, text, length)); | ^ TextSrc.c:412:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | return((*class->textSrc_class.Replace)(w, startPos, endPos, text)); | ^ TextSrc.c:460:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | return((*class->textSrc_class.Scan)(w, position, type, dir, count, include)); | ^ TextSrc.c:497:40: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | return((*class->textSrc_class.Search)(w, position, dir, text)); | ^ TextSrc.c:534:50: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | return((*class->textSrc_class.ConvertSelection)(w, selection, target, type, | ^ TextSrc.c:564:39: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | (*class->textSrc_class.SetSelection)(w, left, right, selection); | ^ TextSrc.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | _XawTextWCToMB( d, wstr, len_in_out ) | ^ TextSrc.c:632:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | wchar_t* _XawTextMBToWC( d, str, len_in_out ) | ^ TextSrc.c:670:19: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 670 | *len_in_out = wcslen(wstr); | ^ TextSrc.c:670:19: note: include the header or explicitly provide a declaration for 'wcslen' 25 warnings generated. --- Tip.o --- --- StripChart.o --- StripChart.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | CreateGC(w, which) | ^ StripChart.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | DestroyGC(w, which) | ^ StripChart.c:209:14: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | SetPoints((Widget)w); | ^ StripChart.c:191:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | static void Initialize (greq, gnew, args, num_args) | ^ StripChart.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:212:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | static void Destroy (gw) | ^ StripChart.c:85: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] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:241:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | (*swclass->threeD_class.shadowdraw) (gw, event, region, w->threeD.relief, FALSE); | ^ StripChart.c:255:27: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | (void) repaint_window (gw, x, width); | ^ StripChart.c:231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | static void Redisplay(gw, event, region) | ^ StripChart.c:85:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:276:17: warning: passing arguments to 'MoveChart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | MoveChart( (StripChartWidget) w, TRUE); | ^ StripChart.c:295:45: warning: passing arguments to 'repaint_window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | w->strip_chart.interval = repaint_window((Widget)w, 0, (int) w->core.width - 2 * s); | ^ StripChart.c:296:41: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | (*swclass->threeD_class.shadowdraw) ((Widget) w, | ^ StripChart.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | draw_it(client_data, id) | ^ StripChart.c:144:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | static void draw_it(); | ^ StripChart.c:363:16: warning: passing arguments to 'SetPoints' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | SetPoints(gw); | ^ StripChart.c:367:38: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | (*swclass->threeD_class.shadowdraw) (gw, (XEvent *)0, (Region)0, w->threeD.relief, FALSE); | ^ StripChart.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | repaint_window(gw, left, width) | ^ StripChart.c:87: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] 87 | static int repaint_window(); | ^ StripChart.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | MoveChart(w, blit) | ^ StripChart.c:85:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ StripChart.c:480:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | static Boolean SetValues (current, request, new, args, num_args) | ^ StripChart.c:86: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] 86 | static Boolean SetValues(); | ^ StripChart.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | SetPoints(widget) | ^ StripChart.c:85:64: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void Initialize(), Destroy(), Redisplay(), MoveChart(), SetPoints(); | ^ 26 warnings generated. --- Tip.o --- rm -f Tip.o unshared/Tip.o --- Toggle.o --- --- Tip.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Tip.c -o unshared/Tip.o --- Toggle.o --- rm -f Toggle.o unshared/Toggle.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Toggle.c -o unshared/Toggle.o --- TextAction.o --- TextAction.c:76:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | static void ParameterError(w, param) | ^ TextAction.c:97:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | _XawTextPrepareToUpdate(ctx); | ^ TextAction.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | StartAction(ctx, event) | ^ TextAction.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | NotePosition(ctx, event) | ^ TextAction.c:153:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | _XawTextCheckResize(ctx); | ^ TextAction.c:154:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | _XawTextExecuteUpdate(ctx); | ^ TextAction.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | EndAction(ctx) | ^ TextAction.c:167:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static int ProbablyMB(s) | ^ TextAction.c:213:14: warning: passing arguments to 'GetSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | GetSelection(w, list->time, list->params, list->count); | ^ TextAction.c:270:17: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | *length = wcslen(wlist[0]); | ^ TextAction.c:270:17: note: include the header or explicitly provide a declaration for 'wcslen' TextAction.c:279:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { | ^ TextAction.c:286:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | _SelectionReceived(w, client_data, selection, type, value, length, format) | ^ TextAction.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | GetSelection(w, time, params, num_params) | ^ TextAction.c:186:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static void GetSelection(); | ^ TextAction.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | InsertSelection(w, event, params, num_params) | ^ TextAction.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | Move(ctx, event, dir, type, include) | ^ TextAction.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | MoveForwardChar(w, event, p, n) | ^ TextAction.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | MoveBackwardChar(w, event, p, n) | ^ TextAction.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | MoveForwardWord(w, event, p, n) | ^ TextAction.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | MoveBackwardWord(w, event, p, n) | ^ TextAction.c:418:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | static void MoveForwardParagraph(w, event, p, n) | ^ TextAction.c:428:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | static void MoveBackwardParagraph(w, event, p, n) | ^ TextAction.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | MoveToLineEnd(w, event, p, n) | ^ TextAction.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | MoveToLineStart(w, event, p, n) | ^ TextAction.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | MoveLine(ctx, event, dir) | ^ TextAction.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | MoveNextLine(w, event, p, n) | ^ TextAction.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | MovePreviousLine(w, event, p, n) | ^ TextAction.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | MoveBeginningOfFile(w, event, p, n) | ^ TextAction.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | MoveEndOfFile(w, event, p, n) | ^ TextAction.c:547:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | _XawTextVScroll(ctx, ctx->text.mult); | ^ TextAction.c:549:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | _XawTextVScroll(ctx, -ctx->text.mult); | ^ TextAction.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | Scroll(ctx, event, dir) | ^ TextAction.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | ScrollOneLineUp(w, event, p, n) | ^ TextAction.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | ScrollOneLineDown(w, event, p, n) | ^ TextAction.c:588:18: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | _XawTextVScroll(ctx, scroll_val); | ^ TextAction.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | MovePage(ctx, event, dir) | ^ TextAction.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | MoveNextPage(w, event, p, n) | ^ TextAction.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | MovePreviousPage(w, event, p, n) | ^ TextAction.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | MatchSelection(selection, s) | ^ TextAction.c:804:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); | ^ TextAction.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | ConvertSelection(w, selection, target, type, value, length, format) | ^ TextAction.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | LoseSelection(w, selection) | ^ TextAction.c:934:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | if (_XawTextReplace(ctx, from, to, &text)) { | ^ TextAction.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | _DeleteOrKill(ctx, from, to, kill) | ^ TextAction.c:974:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | DeleteOrKill(ctx, event, dir, type, include, kill) | ^ TextAction.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | DeleteForwardChar(w, event, p, n) | ^ TextAction.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | DeleteBackwardChar(w, event, p, n) | ^ TextAction.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | DeleteForwardWord(w, event, p, n) | ^ TextAction.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | DeleteBackwardWord(w, event, p, n) | ^ TextAction.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | KillForwardWord(w, event, p, n) | ^ TextAction.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | KillBackwardWord(w, event, p, n) | ^ TextAction.c:1067:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | KillToEndOfLine(w, event, p, n) | ^ TextAction.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | KillToEndOfParagraph(w, event, p, n) | ^ TextAction.c:1090:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | _XawTextZapSelection(ctx, event, kill) | ^ TextAction.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | KillCurrentSelection(w, event, p, n) | ^ TextAction.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | DeleteCurrentSelection(w, event, p, n) | ^ TextAction.c:1149:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { | ^ TextAction.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | InsertNewLineAndBackupInternal(ctx) | ^ TextAction.c:1170:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | _XawTextSetScrollBars( (TextWidget) w); | ^ TextAction.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | InsertNewLineAndBackup(w, event, p, n) | ^ TextAction.c:1184:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | LocalInsertNewLine(ctx, event) | ^ TextAction.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | InsertNewLine(w, event, p, n) | ^ TextAction.c:1218:31: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | line_to_ip = _XawTextGetText(ctx, pos1, ctx->text.insertPos); | ^ TextAction.c:1230:6: warning: call to undeclared function 'wcscpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1230 | wcscpy( (wchar_t*) ++ptr, (wchar_t*) line_to_ip ); | ^ TextAction.c:1265:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | if (_XawTextReplace(ctx,ctx->text.insertPos, ctx->text.insertPos, &text)) { | ^ TextAction.c:1274:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | InsertNewLineAndIndent(w, event, p, n) | ^ TextAction.c:1298:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | _XawTextSetSelection(ctx, l, r, params, *num_params); | ^ TextAction.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | SelectWord(w, event, params, num_params) | ^ TextAction.c:1312:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | _XawTextSetSelection(ctx,zeroPosition,ctx->text.lastPos,params,*num_params); | ^ TextAction.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | SelectAll(w, event, params, num_params) | ^ TextAction.c:1327:25: warning: passing arguments to '_XawTextAlterSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | _XawTextAlterSelection(ctx, mode, action, params, num_params); | ^ TextAction.c:1317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | ModifySelection(ctx, event, mode, action, params, num_params) | ^ TextAction.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | SelectStart(w, event, params, num_params) | ^ TextAction.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | SelectAdjust(w, event, params, num_params) | ^ TextAction.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | SelectEnd(w, event, params, num_params) | ^ TextAction.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | ExtendStart(w, event, params, num_params) | ^ TextAction.c:1380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | ExtendAdjust(w, event, params, num_params) | ^ TextAction.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | ExtendEnd(w, event, params, num_params) | ^ TextAction.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | SelectSave(w, event, params, num_params) | ^ TextAction.c:1439:32: warning: passing arguments to '_XawTextClearAndCenterDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | _XawTextClearAndCenterDisplay((TextWidget) w); | ^ TextAction.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | RedrawDisplay(w, event, p, n) | ^ TextAction.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | TextFocusIn (w, event, p, n) | ^ TextAction.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | TextFocusOut(w, event, p, n) | ^ TextAction.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | TextEnterWindow( w, event, params, num_params ) | ^ TextAction.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | TextLeaveWindow( w, event, params, num_params ) | ^ TextAction.c:1563:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | if (_XawTextReplace(ctx, ret_pos - 1, ret_pos, &text)) | ^ TextAction.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | AutoFill(ctx) | ^ TextAction.c:1616:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | error = _XawTextReplace(ctx, ctx->text.insertPos,ctx->text.insertPos, &text); | ^ TextAction.c:1627:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | InsertChar(w, event, p, n) | ^ TextAction.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | IfHexConvertHexElseReturnParam(param, len_return) | ^ TextAction.c:1778:27: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1778 | if ( _XawTextReplace( ctx, ctx->text.insertPos, | ^ TextAction.c:1727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1727 | InsertString(w, event, params, num_params) | ^ TextAction.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | DisplayCaret(w, event, params, num_params) | ^ TextAction.c:1869:17: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1869 | if ( ( mult = atoi( params[0] ) ) == 0 ) { | ^ TextAction.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | Multiply(w, event, params, num_params) | ^ TextAction.c:1946:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | buf = _XawTextGetText(ctx, periodPos, next_word); | ^ TextAction.c:1976:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | if (_XawTextReplace(ctx, endPos, startPos, &text) != XawEditDone) | ^ TextAction.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | StripOutOldCRs(ctx, from, to) | ^ TextAction.c:2032:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2032 | buf = _XawTextGetText(ctx, eol, space); | ^ TextAction.c:2048:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | if (_XawTextReplace(ctx, startPos, endPos, &text)) | ^ TextAction.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | InsertNewCRs(ctx, from, to) | ^ TextAction.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | FormRegion(ctx, from, to) | ^ TextAction.c:2108:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | _XawTextSetScrollBars( ctx ); | ^ TextAction.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | FormParagraph(w, event, params, num_params) | ^ TextAction.c:2161:40: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | wbuf = (wchar_t*) _XawTextGetText(ctx, start, end); | ^ TextAction.c:2173:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | buf = _XawTextGetText( ctx, start, end ); | ^ TextAction.c:2185:23: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | if (_XawTextReplace (ctx, start, end, &text)) /* Unable to edit, complain. */ | ^ TextAction.c:2120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2120 | TransposeCharacters(w, event, params, num_params) | ^ TextAction.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | NoOp(w, event, params, num_params) | ^ TextAction.c:2229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | Reconnect( w, event, params, num_params ) | ^ 117 warnings generated. rm -f TextAction.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC TextAction.c --- TextPop.o --- TextPop.c:141:11: warning: passing arguments to 'DoInsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | DoInsert(w, (XtPointer) XtParent(XtParent(XtParent(w))), (XtPointer)NULL); | ^ TextPop.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | _XawTextInsertFileAction(w, event, params, num_params) | ^ TextPop.c:186:41: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", | ^ TextPop.c:189:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | SetWMProtocolTranslations(ctx->text.file_insert); | ^ TextPop.c:192:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | CenterWidgetOnPoint(ctx->text.file_insert, event); | ^ TextPop.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _XawTextInsertFile(w, event, params, num_params) | ^ TextPop.c:215:27: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, | ^ TextPop.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | PopdownFileInsert(w, closure, call_data) | ^ TextPop.c:245:49: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { | ^ TextPop.c:245:24: warning: passing arguments to 'InsertFileNamed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { | ^ TextPop.c:252:26: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | (void)SetResourceByName(ctx->text.file_insert, | ^ TextPop.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | DoInsert(w, closure, call_data) | ^ TextPop.c:85:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | InsertFileNamed(tw, str) | ^ TextPop.c:96: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] 96 | static Boolean InsertFileNamed(); | ^ TextPop.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | AddInsertFileChildren(form, ptr, tw) | ^ TextPop.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void AddInsertFileChildren(); | ^ TextPop.c:422:15: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (DoSearch(tw->text.search) && popdown) | ^ TextPop.c:423:18: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); | ^ TextPop.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | _XawTextDoSearchAction(w, event, params, num_params) | ^ TextPop.c:443:16: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); | ^ TextPop.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | _XawTextPopdownSearchAction(w, event, params, num_params) | ^ TextPop.c:464:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^ TextPop.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | PopdownSearch(w, closure, call_data) | ^ TextPop.c:85:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:482:18: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | (void) DoSearch( (struct SearchAndReplace *) closure ); | ^ TextPop.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | SearchButton(w, closure, call_data) | ^ TextPop.c:566:50: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | ctx->text.search->search_popup = CreateDialog(w, ptr, "search", | ^ TextPop.c:569:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | SetWMProtocolTranslations(ctx->text.search->search_popup); | ^ TextPop.c:578:25: warning: passing arguments to 'InitializeSearchWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | InitializeSearchWidget(ctx->text.search, dir, (edit_mode == XawtextEdit)); | ^ TextPop.c:580:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | CenterWidgetOnPoint(ctx->text.search->search_popup, event); | ^ TextPop.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | _XawTextSearch(w, event, params, num_params) | ^ TextPop.c:600:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | SetResource(search->rep_one, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:601:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | SetResource(search->rep_all, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:602:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | SetResource(search->rep_label, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:603:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | SetResource(search->rep_text, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:607:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); | ^ TextPop.c:610:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); | ^ TextPop.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | InitializeSearchWidget(search, dir, replace_active) | ^ TextPop.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); | ^ TextPop.c:787:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^ TextPop.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | AddSearchChildren(form, ptr, tw) | ^ TextPop.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void AddSearchChildren(); | ^ TextPop.c:819:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | text.ptr = GetStringRaw(search->search_text); | ^ TextPop.c:823:21: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | text.length = wcslen((wchar_t*)text.ptr); | ^ TextPop.c:823:21: note: include the header or explicitly provide a declaration for 'wcslen' TextPop.c:829:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] 829 | dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 830 | R_OFFSET); | ~~~~~~~~~ TextPop.c:839:68: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | (void) sprintf( msg, "Could not find string ``%s''.", GetString( search->search_text ) ); | ^ TextPop.c:852:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | SetSearchLabels(search, msg, "", TRUE); | ^ TextPop.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | DoSearch(search) | ^ TextPop.c:90: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] 90 | static Boolean DoSearch(), SetResourceByName(), Replace(); | ^ TextPop.c:886:14: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | if (Replace( ctx->text.search, TRUE, popdown) && popdown) | ^ TextPop.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | _XawTextDoReplaceAction(w, event, params, num_params) | ^ TextPop.c:907:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | Replace( (struct SearchAndReplace *) closure, TRUE, FALSE); | ^ TextPop.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | DoReplaceOne(w, closure, call_data) | ^ TextPop.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void DoReplaceOne(), DoReplaceAll(); | ^ TextPop.c:927:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | Replace( (struct SearchAndReplace *) closure, FALSE, FALSE); | ^ TextPop.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | DoReplaceAll(w, closure, call_data) | ^ TextPop.c:87:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void DoReplaceOne(), DoReplaceAll(); | ^ TextPop.c:955:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | find.ptr = GetStringRaw( search->search_text); | ^ TextPop.c:965:29: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | replace.ptr = GetStringRaw(search->rep_text); | ^ TextPop.c:975:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] 975 | dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 976 | R_OFFSET); | ~~~~~~~~~ TextPop.c:982:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 982 | if ( (new_pos == XawTextSearchError) ) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TextPop.c:982:21: note: remove extraneous parentheses around the comparison to silence this warning 982 | if ( (new_pos == XawTextSearchError) ) { | ~ ^ ~ TextPop.c:982:21: note: use '=' to turn this equality comparison into an assignment 982 | if ( (new_pos == XawTextSearchError) ) { | ^~ | = TextPop.c:990:14: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | GetString( search->search_text ), "''. ***"); | ^ TextPop.c:991:19: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | SetSearchLabels(search, msg, "", TRUE); | ^ TextPop.c:1004:17: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | SetSearchLabels(search, "Selection has been modified, aborting.", | ^ TextPop.c:1016:22: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | SetSearchLabels(search, "*** Error while replacing", msg, TRUE); | ^ TextPop.c:1028:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1028 | else { | ^ TextPop.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | Replace(search, once_only, show_current) | ^ TextPop.c:90:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static Boolean DoSearch(), SetResourceByName(), Replace(); | ^ TextPop.c:1057:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | (void) SetResource( search->label1, XtNlabel, (XtArgVal) msg1); | ^ TextPop.c:1058:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | (void) SetResource( search->label2, XtNlabel, (XtArgVal) msg2); | ^ TextPop.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | SetSearchLabels(search, msg1, msg2, bell) | ^ TextPop.c:86:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); | ^ TextPop.c:1112:12: warning: passing arguments to '_SetField' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | _SetField(new, old); | ^ TextPop.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | _XawTextSetField(w, event, params, num_params) | ^ TextPop.c:1145:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | SetResource(old, XtNborderColor, (XtArgVal) old_border); | ^ TextPop.c:1146:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | SetResource(new, XtNborderColor, (XtArgVal) new_border); | ^ TextPop.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | _SetField(new, old) | ^ TextPop.c:85:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:1171:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | SetResource(temp_widget, res_name, value); | ^ TextPop.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | SetResourceByName(shell, name, res_name, value) | ^ TextPop.c:90:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static Boolean DoSearch(), SetResourceByName(), Replace(); | ^ TextPop.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | SetResource(w, res_name, value) | ^ TextPop.c:86:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); | ^ TextPop.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | GetString(text) | ^ TextPop.c:91: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] 91 | static String GetString(); | ^ TextPop.c:1228:26: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | return (_XawTextGetText(ctx, 0, last)); | ^ TextPop.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | GetStringRaw(tw) | ^ TextPop.c:93: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] 93 | static String GetStringRaw(); | ^ TextPop.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | CenterWidgetOnPoint(w, event) | ^ TextPop.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:1322:53: warning: passing arguments to 'GetShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | XtSetArg(args[num_args], XtNtransientFor, GetShell(parent)); num_args++; | ^ TextPop.c:1330:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | (*func) (form, ptr, parent); | ^ TextPop.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | CreateDialog(parent, ptr, name, func) | ^ TextPop.c:88: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] 88 | static Widget CreateDialog(), GetShell(); | ^ TextPop.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | GetShell(w) | ^ TextPop.c:88:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static Widget CreateDialog(), GetShell(); | ^ TextPop.c:1352:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | static Boolean InParams(str, p, n) | ^ TextPop.c:1365:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | static void WMProtocols(w, event, params, num_params) | ^ TextPop.c:1401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | static void SetWMProtocolTranslations(w) | ^ TextPop.c:89:13: warning: a function declaration without a prototype is 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 | static void SetWMProtocolTranslations(); | ^ 101 warnings generated. rm -f TextPop.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC TextPop.c --- Toggle.o --- Toggle.c:218:25: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | if ( GetRadioGroup(tw->toggle.widget) == NULL) | ^ Toggle.c:219:18: warning: passing arguments to 'CreateRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | CreateRadioGroup(new, tw->toggle.widget); | ^ Toggle.c:221:32: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); | ^ Toggle.c:221:17: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- ThreeD.o --- ThreeD.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | static void AllocTopShadowGC (w) | ^ ThreeD.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static void AllocBotShadowGC (w) | ^ ThreeD.c:187:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static void AllocTopShadowPixmap (new) | ^ ThreeD.c:250:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static void AllocBotShadowPixmap (new) | ^ --- Toggle.o --- 221 | AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); | ^ Toggle.c:237:16: warning: passing arguments to 'ToggleSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | ToggleSet(new, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); | ^ Toggle.c:204:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | static void Initialize(request, new, args, num_args) | ^ Toggle.c:82:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ --- ThreeD.o --- ThreeD.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | void Xaw3dComputeTopShadowRGB (new, xcol_out) | ^ ThreeD.c:339:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | static void AllocTopShadowPixel (new) | ^ ThreeD.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void Xaw3dComputeBottomShadowRGB (new, xcol_out) | ^ ThreeD.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | static void AllocBotShadowPixel (new) | ^ --- Toggle.o --- Toggle.c:256:25: warning: passing arguments to 'TurnOffRadioSiblings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | TurnOffRadioSiblings(w); | ^ Toggle.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | ToggleSet(w,event,params,num_params) | ^ Toggle.c:82:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ Toggle.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | Toggle(w,event,params,num_params) --- ThreeD.o --- ThreeD.c:420:5: warning: call to undeclared function 'XmuCopyISOLatin1Lowered'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | XmuCopyISOLatin1Lowered (lowerName, (char*)fromVal->addr); | ^ ThreeD.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 _CvtStringToRelief(args, num_args, fromVal, toVal) | ^ ThreeD.c:462:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | static void ClassPartInitialize (wc) | ^ ThreeD.c:82:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Toggle.o --- | ^ Toggle.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ Toggle.c:278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | static void Notify(w,event,params,num_params) | ^ Toggle.c:82:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ --- ThreeD.o --- 82 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Destroy(); | ^ ThreeD.c:475:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | static void Initialize (request, new, args, num_args) | ^ ThreeD.c:82:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Destroy(); | ^ ThreeD.c:503:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | static void Realize (gw, valueMask, attrs) | ^ --- Toggle.o --- Toggle.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | SetValues (current, request, new, args, num_args) | ^ Toggle.c:84: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] 84 | static Boolean SetValues(); | ^ Toggle.c:333:23: warning: passing arguments to 'RemoveFromRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | RemoveFromRadioGroup(w); | ^ Toggle.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | ToggleDestroy(w, junk, garbage) | ^ --- ThreeD.o --- ThreeD.c:83: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] 83 | static void Redisplay(), Realize(), _Xaw3dDrawShadows(); | ^ ThreeD.c:517:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | static void Destroy (w) | ^ ThreeD.c:82:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Destroy(); | ^ --- Toggle.o --- Toggle.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void ToggleDestroy(), ClassInit(); | ^ Toggle.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | GetRadioGroup(w) | ^ Toggle.c:88:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static RadioGroup * GetRadioGroup(); | ^ Toggle.c:383:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | AddToRadioGroup( (RadioGroup *)NULL, w1 ); --- ThreeD.o --- ThreeD.c:537:23: warning: passing arguments to '_Xaw3dDrawShadows' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | _Xaw3dDrawShadows (w, event, region, tdw->threeD.relief, True); | ^ ThreeD.c:530:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | static void Redisplay (w, event, region) | ^ ThreeD.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Redisplay(), Realize(), _Xaw3dDrawShadows(); | ^ ThreeD.c:541:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Toggle.o --- | ^ Toggle.c:384:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | AddToRadioGroup( GetRadioGroup(w1), w2 ); | ^ Toggle.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | CreateRadioGroup(w1, w2) | ^ Toggle.c:89:13: warning: a function declaration without a prototype is 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 | static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); | ^ Toggle.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | AddToRadioGroup(group, w) | ^ --- ThreeD.o --- 541 | static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) | ^ ThreeD.c:84: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] 84 | static Boolean SetValues(); | ^ ThreeD.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | _Xaw3dDrawShadows (gw, event, region, relief, out) | ^ ThreeD.c:83:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Redisplay(), Realize(), _Xaw3dDrawShadows(); | ^ --- Toggle.o --- Toggle.c:89:33: warning: a function declaration without a prototype is 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 | static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); | ^ Toggle.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | TurnOffRadioSiblings(w) | ^ Toggle.c:89:52: warning: a function declaration without a prototype is 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 | static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); | ^ --- ThreeD.o --- ThreeD.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | _ShadowSurroundedBox(gw, tdw, x0, y0, x1, y1, relief, out) | ^ ThreeD.c:769:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:108:13: note: previous declaration is here 108 | Position, | ^ ThreeD.c:769:14: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:109:13: note: previous declaration is here 109 | Position, | ^ --- Toggle.o --- Toggle.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | RemoveFromRadioGroup(w) | ^ Toggle.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void RemoveFromRadioGroup(); | ^ Toggle.c:505:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 505 | else AddToRadioGroup(group, w); | ^ Toggle.c:561:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 561 | if ( (local_tog->toggle.radio_data == radio_data) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:561:40: note: remove extraneous parentheses around the comparison to silence this warning --- ThreeD.o --- ThreeD.c:769:18: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:110:13: note: previous declaration is here 110 | Position, | ^ ThreeD.c:769:22: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:111:13: note: previous declaration is here 111 | Position, | ^ ThreeD.c:771:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Boolean' (aka 'char') declared in a previous prototype [-Wknr-promoted-parameter] 771 | Boolean out; | ^ --- Toggle.o --- 561 | if ( (local_tog->toggle.radio_data == radio_data) ) | ~ ^ ~ Toggle.c:561:40: note: use '=' to turn this equality comparison into an assignment 561 | if ( (local_tog->toggle.radio_data == radio_data) ) | ^~ | = Toggle.c:581:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 581 | if ( (local_tog->toggle.radio_data == radio_data) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:581:40: note: remove extraneous parentheses around the comparison to silence this warning 581 | if ( (local_tog->toggle.radio_data == radio_data) ) { | ~ ^ ~ Toggle.c:581:40: note: use '=' to turn this equality comparison into an assignment 581 | if ( (local_tog->toggle.radio_data == radio_data) ) { --- ThreeD.o --- ./X11/Xaw3d/ThreeD.h:115:1: note: previous declaration is here 115 | ); | ^ 31 warnings generated. --- Toggle.o --- | ^~ | = 34 warnings generated. rm -f Toggle.o --- ThreeD.o --- rm -f ThreeD.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC ThreeD.c --- Toggle.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Toggle.c --- Tip.o --- Tip.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | XawCvtBackingStoreToString(dpy, args, num_args, fromVal, toVal, data) | ^ Tip.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | XawTipInitialize(req, w, args, num_args) | ^ Tip.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void XawTipInitialize(); | ^ Tip.c:270:35: warning: passing arguments to 'FindTipInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | XawTipInfo *info = FindTipInfo(w); | ^ Tip.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | XawTipDestroy(w) | ^ Tip.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void XawTipDestroy(); | ^ Tip.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | XawTipRealize(w, mask, attr) | ^ Tip.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void XawTipRealize(); | ^ Tip.c:349:9: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | ksy += abs(ext->max_ink_extent.y); | ^ Tip.c:349:9: note: include the header or explicitly provide a declaration for 'abs' Tip.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | XawTipExpose(w, event, region) | ^ Tip.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void XawTipExpose(); | ^ Tip.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | XawTipSetValues(current, request, cnew, args, num_args) | ^ Tip.c:84: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] 84 | static Boolean XawTipSetValues(); | ^ Tip.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | TipLayout(info) | ^ Tip.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void TipLayout(); | ^ Tip.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | TipPosition(info) | ^ Tip.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void TipPosition(); | ^ Tip.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | CreateWidgetInfo(w) | ^ Tip.c:91:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static WidgetInfo *CreateWidgetInfo(); | ^ Tip.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | FindWidgetInfo(info, w) | ^ Tip.c:92:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static WidgetInfo *FindWidgetInfo(); | ^ Tip.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | CreateTipInfo(w) | ^ Tip.c:93:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static XawTipInfo *CreateTipInfo(); | ^ Tip.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | FindTipInfo(w) | ^ Tip.c:94:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static XawTipInfo *FindTipInfo(); | ^ Tip.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | ResetTip(info, winfo, add_timeout) | ^ Tip.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void ResetTip(); | ^ Tip.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | TipTimeoutCallback(closure, id) | ^ Tip.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static void TipTimeoutCallback(); | ^ Tip.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | TipShellEventHandler(w, client_data, event, continue_to_dispatch) | ^ Tip.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void TipShellEventHandler(); | ^ Tip.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | TipEventHandler(w, client_data, event, continue_to_dispatch) | ^ Tip.c:89:13: warning: a function declaration without a prototype is 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 | static void TipEventHandler(); | ^ Tip.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | XawTipEnable(w, label) | ^ Tip.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | XawTipDisable(w) | ^ 35 warnings generated. rm -f Tip.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Tip.c --- TextPop.o --- TextPop.c:141:11: warning: passing arguments to 'DoInsert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | DoInsert(w, (XtPointer) XtParent(XtParent(XtParent(w))), (XtPointer)NULL); | ^ TextPop.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | _XawTextInsertFileAction(w, event, params, num_params) | ^ TextPop.c:186:41: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | ctx->text.file_insert = CreateDialog(w, ptr, "insertFile", | ^ TextPop.c:189:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | SetWMProtocolTranslations(ctx->text.file_insert); | ^ TextPop.c:192:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | CenterWidgetOnPoint(ctx->text.file_insert, event); | ^ TextPop.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | _XawTextInsertFile(w, event, params, num_params) | ^ TextPop.c:215:27: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | (void) SetResourceByName( ctx->text.file_insert, LABEL_NAME, | ^ TextPop.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | PopdownFileInsert(w, closure, call_data) | ^ TextPop.c:245:49: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { | ^ TextPop.c:245:24: warning: passing arguments to 'InsertFileNamed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | if (InsertFileNamed( (Widget) ctx, GetString( temp_widget ))) { | ^ TextPop.c:252:26: warning: passing arguments to 'SetResourceByName' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | (void)SetResourceByName(ctx->text.file_insert, | ^ TextPop.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | DoInsert(w, closure, call_data) | ^ TextPop.c:85:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | InsertFileNamed(tw, str) | ^ TextPop.c:96: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] 96 | static Boolean InsertFileNamed(); | ^ TextPop.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | AddInsertFileChildren(form, ptr, tw) | ^ TextPop.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void AddInsertFileChildren(); | ^ TextPop.c:422:15: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | if (DoSearch(tw->text.search) && popdown) | ^ TextPop.c:423:18: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); | ^ TextPop.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | _XawTextDoSearchAction(w, event, params, num_params) | ^ TextPop.c:443:16: warning: passing arguments to 'PopdownSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | PopdownSearch(w, (XtPointer) tw->text.search, (XtPointer)NULL); | ^ TextPop.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | _XawTextPopdownSearchAction(w, event, params, num_params) | ^ TextPop.c:464:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^ TextPop.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | PopdownSearch(w, closure, call_data) | ^ TextPop.c:85:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:482:18: warning: passing arguments to 'DoSearch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | (void) DoSearch( (struct SearchAndReplace *) closure ); | ^ TextPop.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | SearchButton(w, closure, call_data) | ^ TextPop.c:566:50: warning: passing arguments to 'CreateDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | ctx->text.search->search_popup = CreateDialog(w, ptr, "search", | ^ TextPop.c:569:30: warning: passing arguments to 'SetWMProtocolTranslations' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | SetWMProtocolTranslations(ctx->text.search->search_popup); | ^ TextPop.c:578:25: warning: passing arguments to 'InitializeSearchWidget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | InitializeSearchWidget(ctx->text.search, dir, (edit_mode == XawtextEdit)); | ^ TextPop.c:580:22: warning: passing arguments to 'CenterWidgetOnPoint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | CenterWidgetOnPoint(ctx->text.search->search_popup, event); | ^ TextPop.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | _XawTextSearch(w, event, params, num_params) | ^ TextPop.c:600:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | SetResource(search->rep_one, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:601:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | SetResource(search->rep_all, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:602:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | SetResource(search->rep_label, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:603:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | SetResource(search->rep_text, XtNsensitive, (XtArgVal) replace_active); | ^ TextPop.c:607:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | SetResource(search->left_toggle, XtNstate, (XtArgVal) TRUE); | ^ TextPop.c:610:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | SetResource(search->right_toggle, XtNstate, (XtArgVal) TRUE); | ^ TextPop.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | InitializeSearchWidget(search, dir, replace_active) | ^ TextPop.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); | ^ TextPop.c:787:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | SetSearchLabels(search, SEARCH_LABEL_1, SEARCH_LABEL_2, FALSE); | ^ TextPop.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | AddSearchChildren(form, ptr, tw) | ^ TextPop.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void AddSearchChildren(); | ^ TextPop.c:819:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | text.ptr = GetStringRaw(search->search_text); | ^ TextPop.c:823:21: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 823 | text.length = wcslen((wchar_t*)text.ptr); | ^ TextPop.c:823:21: note: include the header or explicitly provide a declaration for 'wcslen' TextPop.c:829:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] 829 | dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 830 | R_OFFSET); | ~~~~~~~~~ TextPop.c:839:68: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | (void) sprintf( msg, "Could not find string ``%s''.", GetString( search->search_text ) ); | ^ TextPop.c:852:18: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | SetSearchLabels(search, msg, "", TRUE); | ^ TextPop.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | DoSearch(search) | ^ TextPop.c:90: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] 90 | static Boolean DoSearch(), SetResourceByName(), Replace(); | ^ TextPop.c:886:14: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | if (Replace( ctx->text.search, TRUE, popdown) && popdown) | ^ TextPop.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | _XawTextDoReplaceAction(w, event, params, num_params) | ^ TextPop.c:907:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | Replace( (struct SearchAndReplace *) closure, TRUE, FALSE); | ^ TextPop.c:902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | DoReplaceOne(w, closure, call_data) | ^ TextPop.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void DoReplaceOne(), DoReplaceAll(); | ^ TextPop.c:927:10: warning: passing arguments to 'Replace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | Replace( (struct SearchAndReplace *) closure, FALSE, FALSE); | ^ TextPop.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | DoReplaceAll(w, closure, call_data) | ^ TextPop.c:87:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | static void DoReplaceOne(), DoReplaceAll(); | ^ TextPop.c:955:26: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | find.ptr = GetStringRaw( search->search_text); | ^ TextPop.c:965:29: warning: passing arguments to 'GetStringRaw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | replace.ptr = GetStringRaw(search->rep_text); | ^ TextPop.c:975:31: warning: cast to smaller integer type 'int' from 'XPointer' (aka 'char *') [-Wpointer-to-int-cast] 975 | dir = (XawTextScanDirection)(int) ((XPointer)XawToggleGetCurrent(search->left_toggle) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 976 | R_OFFSET); | ~~~~~~~~~ TextPop.c:982:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 982 | if ( (new_pos == XawTextSearchError) ) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ TextPop.c:982:21: note: remove extraneous parentheses around the comparison to silence this warning 982 | if ( (new_pos == XawTextSearchError) ) { | ~ ^ ~ TextPop.c:982:21: note: use '=' to turn this equality comparison into an assignment 982 | if ( (new_pos == XawTextSearchError) ) { | ^~ | = TextPop.c:990:14: warning: passing arguments to 'GetString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | GetString( search->search_text ), "''. ***"); | ^ TextPop.c:991:19: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | SetSearchLabels(search, msg, "", TRUE); | ^ TextPop.c:1004:17: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | SetSearchLabels(search, "Selection has been modified, aborting.", | ^ TextPop.c:1016:22: warning: passing arguments to 'SetSearchLabels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | SetSearchLabels(search, "*** Error while replacing", msg, TRUE); | ^ TextPop.c:1028:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1028 | else { | ^ TextPop.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | Replace(search, once_only, show_current) | ^ TextPop.c:90:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static Boolean DoSearch(), SetResourceByName(), Replace(); | ^ TextPop.c:1057:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | (void) SetResource( search->label1, XtNlabel, (XtArgVal) msg1); | ^ TextPop.c:1058:21: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | (void) SetResource( search->label2, XtNlabel, (XtArgVal) msg2); | ^ TextPop.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | SetSearchLabels(search, msg1, msg2, bell) | ^ TextPop.c:86:54: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); | ^ TextPop.c:1112:12: warning: passing arguments to '_SetField' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | _SetField(new, old); | ^ TextPop.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | _XawTextSetField(w, event, params, num_params) | ^ TextPop.c:1145:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | SetResource(old, XtNborderColor, (XtArgVal) old_border); | ^ TextPop.c:1146:14: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | SetResource(new, XtNborderColor, (XtArgVal) new_border); | ^ TextPop.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | _SetField(new, old) | ^ TextPop.c:85:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:1171:16: warning: passing arguments to 'SetResource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | SetResource(temp_widget, res_name, value); | ^ TextPop.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | SetResourceByName(shell, name, res_name, value) | ^ TextPop.c:90:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static Boolean DoSearch(), SetResourceByName(), Replace(); | ^ TextPop.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | SetResource(w, res_name, value) | ^ TextPop.c:86:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | static void InitializeSearchWidget(), SetResource(), SetSearchLabels(); | ^ TextPop.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | GetString(text) | ^ TextPop.c:91: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] 91 | static String GetString(); | ^ TextPop.c:1228:26: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1228 | return (_XawTextGetText(ctx, 0, last)); | ^ TextPop.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | GetStringRaw(tw) | ^ TextPop.c:93: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] 93 | static String GetStringRaw(); | ^ TextPop.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | CenterWidgetOnPoint(w, event) | ^ TextPop.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | static void CenterWidgetOnPoint(), PopdownSearch(), DoInsert(), _SetField(); | ^ TextPop.c:1322:53: warning: passing arguments to 'GetShell' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | XtSetArg(args[num_args], XtNtransientFor, GetShell(parent)); num_args++; | ^ TextPop.c:1330:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | (*func) (form, ptr, parent); | ^ TextPop.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | CreateDialog(parent, ptr, name, func) | ^ TextPop.c:88: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] 88 | static Widget CreateDialog(), GetShell(); | ^ TextPop.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | GetShell(w) | ^ TextPop.c:88:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static Widget CreateDialog(), GetShell(); | ^ TextPop.c:1352:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | static Boolean InParams(str, p, n) | ^ TextPop.c:1365:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | static void WMProtocols(w, event, params, num_params) | ^ TextPop.c:1401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | static void SetWMProtocolTranslations(w) | ^ TextPop.c:89:13: warning: a function declaration without a prototype is 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 | static void SetWMProtocolTranslations(); | ^ 101 warnings generated. --- Vendor.o --- rm -f Vendor.o unshared/Vendor.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Vendor.c -o unshared/Vendor.o --- ThreeD.o --- ThreeD.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | static void AllocTopShadowGC (w) | ^ ThreeD.c:167:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static void AllocBotShadowGC (w) | ^ ThreeD.c:187:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static void AllocTopShadowPixmap (new) | ^ ThreeD.c:250:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | static void AllocBotShadowPixmap (new) | ^ ThreeD.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | void Xaw3dComputeTopShadowRGB (new, xcol_out) | ^ ThreeD.c:339:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | static void AllocTopShadowPixel (new) | ^ ThreeD.c:354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | void Xaw3dComputeBottomShadowRGB (new, xcol_out) | ^ ThreeD.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | static void AllocBotShadowPixel (new) | ^ ThreeD.c:420:5: warning: call to undeclared function 'XmuCopyISOLatin1Lowered'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | XmuCopyISOLatin1Lowered (lowerName, (char*)fromVal->addr); | ^ ThreeD.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 _CvtStringToRelief(args, num_args, fromVal, toVal) | ^ ThreeD.c:462:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | static void ClassPartInitialize (wc) | ^ ThreeD.c:82:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Destroy(); | ^ ThreeD.c:475:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | static void Initialize (request, new, args, num_args) | ^ ThreeD.c:82:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Destroy(); | ^ ThreeD.c:503:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | static void Realize (gw, valueMask, attrs) | ^ ThreeD.c:83: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] 83 | static void Redisplay(), Realize(), _Xaw3dDrawShadows(); | ^ ThreeD.c:517:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | static void Destroy (w) | ^ ThreeD.c:82:69: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void ClassInitialize(), ClassPartInitialize(), Initialize(), Destroy(); | ^ ThreeD.c:537:23: warning: passing arguments to '_Xaw3dDrawShadows' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | _Xaw3dDrawShadows (w, event, region, tdw->threeD.relief, True); | ^ ThreeD.c:530:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | static void Redisplay (w, event, region) | ^ ThreeD.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Redisplay(), Realize(), _Xaw3dDrawShadows(); | ^ ThreeD.c:541:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | static Boolean SetValues (gcurrent, grequest, gnew, args, num_args) | ^ ThreeD.c:84: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] 84 | static Boolean SetValues(); | ^ ThreeD.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | _Xaw3dDrawShadows (gw, event, region, relief, out) | ^ ThreeD.c:83:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void Redisplay(), Realize(), _Xaw3dDrawShadows(); | ^ ThreeD.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | _ShadowSurroundedBox(gw, tdw, x0, y0, x1, y1, relief, out) | ^ ThreeD.c:769:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:108:13: note: previous declaration is here 108 | Position, | ^ ThreeD.c:769:14: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:109:13: note: previous declaration is here 109 | Position, | ^ ThreeD.c:769:18: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:110:13: note: previous declaration is here 110 | Position, | ^ ThreeD.c:769:22: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Position' (aka 'short') declared in a previous prototype [-Wknr-promoted-parameter] 769 | Position x0, y0, x1, y1; | ^ ./X11/Xaw3d/ThreeD.h:111:13: note: previous declaration is here 111 | Position, | ^ ThreeD.c:771:9: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'Boolean' (aka 'char') declared in a previous prototype [-Wknr-promoted-parameter] 771 | Boolean out; | ^ ./X11/Xaw3d/ThreeD.h:115:1: note: previous declaration is here 115 | ); | ^ 31 warnings generated. --- Viewport.o --- rm -f Viewport.o unshared/Viewport.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Viewport.c -o unshared/Viewport.o --- TextAction.o --- TextAction.c:76:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | static void ParameterError(w, param) | ^ TextAction.c:97:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | _XawTextPrepareToUpdate(ctx); | ^ TextAction.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | StartAction(ctx, event) | ^ TextAction.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | NotePosition(ctx, event) | ^ TextAction.c:153:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | _XawTextCheckResize(ctx); | ^ TextAction.c:154:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | _XawTextExecuteUpdate(ctx); | ^ TextAction.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | EndAction(ctx) | ^ TextAction.c:167:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static int ProbablyMB(s) | ^ TextAction.c:213:14: warning: passing arguments to 'GetSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | GetSelection(w, list->time, list->params, list->count); | ^ TextAction.c:270:17: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | *length = wcslen(wlist[0]); | ^ TextAction.c:270:17: note: include the header or explicitly provide a declaration for 'wcslen' TextAction.c:279:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { | ^ TextAction.c:286:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | _SelectionReceived(w, client_data, selection, type, value, length, format) | ^ TextAction.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | GetSelection(w, time, params, num_params) | ^ TextAction.c:186:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | static void GetSelection(); | ^ TextAction.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | InsertSelection(w, event, params, num_params) | ^ TextAction.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | Move(ctx, event, dir, type, include) | ^ TextAction.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | MoveForwardChar(w, event, p, n) | ^ TextAction.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | MoveBackwardChar(w, event, p, n) | ^ TextAction.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | MoveForwardWord(w, event, p, n) | ^ TextAction.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | MoveBackwardWord(w, event, p, n) | ^ TextAction.c:418:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | static void MoveForwardParagraph(w, event, p, n) | ^ TextAction.c:428:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | static void MoveBackwardParagraph(w, event, p, n) | ^ TextAction.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | MoveToLineEnd(w, event, p, n) | ^ TextAction.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | MoveToLineStart(w, event, p, n) | ^ TextAction.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | MoveLine(ctx, event, dir) | ^ TextAction.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | MoveNextLine(w, event, p, n) | ^ TextAction.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | MovePreviousLine(w, event, p, n) | ^ TextAction.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | MoveBeginningOfFile(w, event, p, n) | ^ TextAction.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | MoveEndOfFile(w, event, p, n) | ^ TextAction.c:547:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | _XawTextVScroll(ctx, ctx->text.mult); | ^ TextAction.c:549:20: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | _XawTextVScroll(ctx, -ctx->text.mult); | ^ TextAction.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | Scroll(ctx, event, dir) | ^ TextAction.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | ScrollOneLineUp(w, event, p, n) | ^ TextAction.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | ScrollOneLineDown(w, event, p, n) | ^ TextAction.c:588:18: warning: passing arguments to '_XawTextVScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | _XawTextVScroll(ctx, scroll_val); | ^ TextAction.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | MovePage(ctx, event, dir) | ^ TextAction.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | MoveNextPage(w, event, p, n) | ^ TextAction.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | MovePreviousPage(w, event, p, n) | ^ TextAction.c:622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | MatchSelection(selection, s) | ^ TextAction.c:804:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); | ^ TextAction.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | ConvertSelection(w, selection, target, type, value, length, format) | ^ TextAction.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | LoseSelection(w, selection) | ^ TextAction.c:934:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | if (_XawTextReplace(ctx, from, to, &text)) { | ^ TextAction.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | _DeleteOrKill(ctx, from, to, kill) | ^ TextAction.c:974:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | DeleteOrKill(ctx, event, dir, type, include, kill) | ^ TextAction.c:980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | DeleteForwardChar(w, event, p, n) | ^ TextAction.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | DeleteBackwardChar(w, event, p, n) | ^ TextAction.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | DeleteForwardWord(w, event, p, n) | ^ TextAction.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | DeleteBackwardWord(w, event, p, n) | ^ TextAction.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | KillForwardWord(w, event, p, n) | ^ TextAction.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | KillBackwardWord(w, event, p, n) | ^ TextAction.c:1067:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | KillToEndOfLine(w, event, p, n) | ^ TextAction.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | KillToEndOfParagraph(w, event, p, n) | ^ TextAction.c:1090:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | _XawTextZapSelection(ctx, event, kill) | ^ TextAction.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | KillCurrentSelection(w, event, p, n) | ^ TextAction.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | DeleteCurrentSelection(w, event, p, n) | ^ TextAction.c:1149:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | if (_XawTextReplace(ctx, ctx->text.insertPos, ctx->text.insertPos, &text)) { | ^ TextAction.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | InsertNewLineAndBackupInternal(ctx) | ^ TextAction.c:1170:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | _XawTextSetScrollBars( (TextWidget) w); | ^ TextAction.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | InsertNewLineAndBackup(w, event, p, n) | ^ TextAction.c:1184:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | LocalInsertNewLine(ctx, event) | ^ TextAction.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | InsertNewLine(w, event, p, n) | ^ TextAction.c:1218:31: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | line_to_ip = _XawTextGetText(ctx, pos1, ctx->text.insertPos); | ^ TextAction.c:1230:6: warning: call to undeclared function 'wcscpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1230 | wcscpy( (wchar_t*) ++ptr, (wchar_t*) line_to_ip ); | ^ TextAction.c:1265:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | if (_XawTextReplace(ctx,ctx->text.insertPos, ctx->text.insertPos, &text)) { | ^ TextAction.c:1274:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | InsertNewLineAndIndent(w, event, p, n) | ^ TextAction.c:1298:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | _XawTextSetSelection(ctx, l, r, params, *num_params); | ^ TextAction.c:1285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | SelectWord(w, event, params, num_params) | ^ TextAction.c:1312:23: warning: passing arguments to '_XawTextSetSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | _XawTextSetSelection(ctx,zeroPosition,ctx->text.lastPos,params,*num_params); | ^ TextAction.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | SelectAll(w, event, params, num_params) | ^ TextAction.c:1327:25: warning: passing arguments to '_XawTextAlterSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | _XawTextAlterSelection(ctx, mode, action, params, num_params); | ^ TextAction.c:1317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | ModifySelection(ctx, event, mode, action, params, num_params) | ^ TextAction.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | SelectStart(w, event, params, num_params) | ^ TextAction.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | SelectAdjust(w, event, params, num_params) | ^ TextAction.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | SelectEnd(w, event, params, num_params) | ^ TextAction.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | ExtendStart(w, event, params, num_params) | ^ TextAction.c:1380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | ExtendAdjust(w, event, params, num_params) | ^ TextAction.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | ExtendEnd(w, event, params, num_params) | ^ TextAction.c:1402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | SelectSave(w, event, params, num_params) | ^ TextAction.c:1439:32: warning: passing arguments to '_XawTextClearAndCenterDisplay' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1439 | _XawTextClearAndCenterDisplay((TextWidget) w); | ^ TextAction.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | RedrawDisplay(w, event, p, n) | ^ TextAction.c:1445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | TextFocusIn (w, event, p, n) | ^ TextAction.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | TextFocusOut(w, event, p, n) | ^ TextAction.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | TextEnterWindow( w, event, params, num_params ) | ^ TextAction.c:1500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1500 | TextLeaveWindow( w, event, params, num_params ) | ^ TextAction.c:1563:22: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | if (_XawTextReplace(ctx, ret_pos - 1, ret_pos, &text)) | ^ TextAction.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | AutoFill(ctx) | ^ TextAction.c:1616:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | error = _XawTextReplace(ctx, ctx->text.insertPos,ctx->text.insertPos, &text); | ^ TextAction.c:1627:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | _XawTextSetScrollBars(ctx); | ^ TextAction.c:1569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1569 | InsertChar(w, event, p, n) | ^ TextAction.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | IfHexConvertHexElseReturnParam(param, len_return) | ^ TextAction.c:1778:27: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1778 | if ( _XawTextReplace( ctx, ctx->text.insertPos, | ^ TextAction.c:1727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1727 | InsertString(w, event, params, num_params) | ^ TextAction.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | DisplayCaret(w, event, params, num_params) | ^ TextAction.c:1869:17: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1869 | if ( ( mult = atoi( params[0] ) ) == 0 ) { | ^ TextAction.c:1847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | Multiply(w, event, params, num_params) | ^ TextAction.c:1946:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | buf = _XawTextGetText(ctx, periodPos, next_word); | ^ TextAction.c:1976:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | if (_XawTextReplace(ctx, endPos, startPos, &text) != XawEditDone) | ^ TextAction.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | StripOutOldCRs(ctx, from, to) | ^ TextAction.c:2032:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2032 | buf = _XawTextGetText(ctx, eol, space); | ^ TextAction.c:2048:26: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | if (_XawTextReplace(ctx, startPos, endPos, &text)) | ^ TextAction.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | InsertNewCRs(ctx, from, to) | ^ TextAction.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | FormRegion(ctx, from, to) | ^ TextAction.c:2108:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | _XawTextSetScrollBars( ctx ); | ^ TextAction.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | FormParagraph(w, event, params, num_params) | ^ TextAction.c:2161:40: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | wbuf = (wchar_t*) _XawTextGetText(ctx, start, end); | ^ TextAction.c:2173:28: warning: passing arguments to '_XawTextGetText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2173 | buf = _XawTextGetText( ctx, start, end ); | ^ TextAction.c:2185:23: warning: passing arguments to '_XawTextReplace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | if (_XawTextReplace (ctx, start, end, &text)) /* Unable to edit, complain. */ | ^ TextAction.c:2120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2120 | TransposeCharacters(w, event, params, num_params) | ^ TextAction.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | NoOp(w, event, params, num_params) | ^ TextAction.c:2229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | Reconnect( w, event, params, num_params ) | ^ 117 warnings generated. --- Xaw3dP.o --- rm -f Xaw3dP.o unshared/Xaw3dP.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO Xaw3dP.c -o unshared/Xaw3dP.o --- Toggle.o --- Toggle.c:218:25: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | if ( GetRadioGroup(tw->toggle.widget) == NULL) | ^ Toggle.c:219:18: warning: passing arguments to 'CreateRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | CreateRadioGroup(new, tw->toggle.widget); | ^ Toggle.c:221:32: warning: passing arguments to 'GetRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); | ^ Toggle.c:221:17: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | AddToRadioGroup( GetRadioGroup(tw->toggle.widget), new); | ^ Toggle.c:237:16: warning: passing arguments to 'ToggleSet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | ToggleSet(new, (XEvent *)NULL, (String *)NULL, (Cardinal *)0); | ^ Toggle.c:204:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | static void Initialize(request, new, args, num_args) | ^ Toggle.c:82:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ --- Vendor.o --- Vendor.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | XawCvtCompoundTextToString(dpy, args, num_args, fromVal, toVal, cvt_data) | ^ Vendor.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static void XawVendorShellClassPartInit(class) | ^ Vendor.c:107:13: warning: a function declaration without a prototype is 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 void XawVendorShellClassPartInit(); | ^ Vendor.c:451:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | static void XawVendorShellInitialize(req, new, args, num_args) --- Toggle.o --- Toggle.c:256:25: warning: passing arguments to 'TurnOffRadioSiblings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | TurnOffRadioSiblings(w); | ^ Toggle.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | ToggleSet(w,event,params,num_params) | ^ Toggle.c:82:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ Toggle.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | Toggle(w,event,params,num_params) --- Tip.o --- Tip.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | XawCvtBackingStoreToString(dpy, args, num_args, fromVal, toVal, data) | ^ Tip.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | XawTipInitialize(req, w, args, num_args) | ^ Tip.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | static void XawTipInitialize(); | ^ Tip.c:270:35: warning: passing arguments to 'FindTipInfo' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | XawTipInfo *info = FindTipInfo(w); | ^ --- Vendor.o --- | ^ Vendor.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void XawVendorShellInitialize(); | ^ Vendor.c:465:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | static Boolean XawVendorShellSetValues(old, ref, new) | ^ Vendor.c:103: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] 103 | static Boolean XawVendorShellSetValues(); | ^ --- Toggle.o --- | ^ Toggle.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ Toggle.c:278:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | static void Notify(w,event,params,num_params) | ^ Toggle.c:82:37: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void Toggle(), Initialize(), Notify(), ToggleSet(); | ^ --- Tip.o --- Tip.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | XawTipDestroy(w) | ^ Tip.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void XawTipDestroy(); | ^ Tip.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | XawTipRealize(w, mask, attr) | ^ Tip.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void XawTipRealize(); | ^ --- Text.o --- Text.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | CvtStringToScrollMode(args, num_args, fromVal, toVal) | ^ Text.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | CvtStringToWrapMode(args, num_args, fromVal, toVal) | ^ Text.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | CvtStringToResizeMode(args, num_args, fromVal, toVal) | ^ Text.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | PositionHScrollBar(ctx) | ^ --- Vendor.o --- Vendor.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 Realize(wid, vmask, attr) | ^ Vendor.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void Realize(), ChangeManaged(); | ^ Vendor.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 XawVendorShellExtInitialize(req, new) | ^ Vendor.c:211:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Toggle.o --- Toggle.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | SetValues (current, request, new, args, num_args) | ^ Toggle.c:84: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] 84 | static Boolean SetValues(); | ^ Toggle.c:333:23: warning: passing arguments to 'RemoveFromRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | RemoveFromRadioGroup(w); | ^ Toggle.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | ToggleDestroy(w, junk, garbage) | ^ --- Tip.o --- Tip.c:349:9: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 349 | ksy += abs(ext->max_ink_extent.y); | ^ Tip.c:349:9: note: include the header or explicitly provide a declaration for 'abs' Tip.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | XawTipExpose(w, event, region) | ^ Tip.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void XawTipExpose(); | ^ Tip.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Text.o --- Text.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | PositionVScrollBar(ctx) | ^ Text.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | CreateVScrollBar(ctx) | ^ Text.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | DestroyVScrollBar(ctx) | ^ Text.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | CreateHScrollBar(ctx) | ^ Text.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | DestroyHScrollBar(ctx) | ^ --- Vendor.o --- 211 | static void XawVendorShellExtInitialize(); | ^ Vendor.c:500:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | static void XawVendorShellExtDestroy( w ) | ^ Vendor.c:212:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static void XawVendorShellExtDestroy(); | ^ Vendor.c:507:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | static Boolean XawVendorShellExtSetValues(old, ref, new) | ^ --- Toggle.o --- Toggle.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static void ToggleDestroy(), ClassInit(); | ^ Toggle.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | GetRadioGroup(w) | ^ Toggle.c:88:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | static RadioGroup * GetRadioGroup(); | ^ Toggle.c:383:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | AddToRadioGroup( (RadioGroup *)NULL, w1 ); --- Tip.o --- 394 | XawTipSetValues(current, request, cnew, args, num_args) | ^ Tip.c:84: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] 84 | static Boolean XawTipSetValues(); | ^ Tip.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | TipLayout(info) | ^ Tip.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void TipLayout(); | ^ Tip.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | TipPosition(info) | ^ --- Text.o --- Text.c:577:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 577 | else if (ctx->text.scroll_vert == XawtextScrollAlways) | ^ Text.c:588:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 588 | else if ( (ctx->text.resize == XawtextResizeWidth) || | ^ Text.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | Initialize(request, new, args, num_args) | ^ Text.c:623:24: warning: passing arguments to '_XawTextSetScrollBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | _XawTextSetScrollBars(ctx); | ^ Text.c:624:22: warning: passing arguments to '_XawTextCheckResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | _XawTextCheckResize(ctx); --- Vendor.o --- Vendor.c:213: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] 213 | static Boolean XawVendorShellExtSetValues(); | ^ Vendor.c:513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | void XawVendorShellExtResize( w ) | ^ Vendor.c:108:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | void XawVendorShellExtResize(); | ^ Vendor.c:534:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Toggle.o --- | ^ Toggle.c:384:18: warning: passing arguments to 'AddToRadioGroup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | AddToRadioGroup( GetRadioGroup(w1), w2 ); | ^ Toggle.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | CreateRadioGroup(w1, w2) | ^ Toggle.c:89:13: warning: a function declaration without a prototype is 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 | static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); | ^ Toggle.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | AddToRadioGroup(group, w) | ^ --- Tip.o --- Tip.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void TipPosition(); | ^ Tip.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | CreateWidgetInfo(w) | ^ Tip.c:91:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static WidgetInfo *CreateWidgetInfo(); | ^ Tip.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | FindWidgetInfo(info, w) | ^ --- Text.o --- | ^ Text.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | Realize( w, valueMask, attributes ) | ^ Text.c:628:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | static void UnrealizeScrollbars(widget, client, call) | ^ Text.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | static void UnrealizeScrollbars(); | ^ Text.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | _CreateCutBuffers(d) | ^ 534 | static XtGeometryResult GeometryManager( wid, request, reply ) | ^ Vendor.c:105: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] 105 | static XtGeometryResult GeometryManager(); | ^ Vendor.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | static void ChangeManaged(wid) | ^ Vendor.c:104: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] 104 | static void Realize(), ChangeManaged(); | ^ 21 warnings generated. --- Vendor.o --- rm -f Vendor.o --- Toggle.o --- Toggle.c:89:33: warning: a function declaration without a prototype is 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 | static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); | ^ Toggle.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | TurnOffRadioSiblings(w) | ^ Toggle.c:89:52: warning: a function declaration without a prototype is 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 | static void CreateRadioGroup(), AddToRadioGroup(), TurnOffRadioSiblings(); | ^ --- Tip.o --- Tip.c:92:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static WidgetInfo *FindWidgetInfo(); | ^ Tip.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | CreateTipInfo(w) | ^ Tip.c:93:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | static XawTipInfo *CreateTipInfo(); | ^ Tip.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | FindTipInfo(w) | ^ --- Text.o --- Text.c:694:28: warning: passing arguments to 'LineAndXYForPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | if ( LineAndXYForPosition(ctx, ctx->text.insertPos, &line, &x, &y) ) { | ^ Text.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | InsertCursor (w, state) | ^ Text.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | _XawTextNeedsUpdating(ctx, left, right) | ^ Text.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | _XawTextGetText(ctx, left, right) | ^ --- Vendor.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Vendor.c --- Toggle.o --- Toggle.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | RemoveFromRadioGroup(w) | ^ Toggle.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void RemoveFromRadioGroup(); | ^ Toggle.c:505:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 505 | else AddToRadioGroup(group, w); | ^ Toggle.c:561:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 561 | if ( (local_tog->toggle.radio_data == radio_data) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:561:40: note: remove extraneous parentheses around the comparison to silence this warning --- Tip.o --- Tip.c:94:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | static XawTipInfo *FindTipInfo(); | ^ Tip.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | ResetTip(info, winfo, add_timeout) | ^ Tip.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void ResetTip(); | ^ Tip.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | TipTimeoutCallback(closure, id) | ^ --- Text.o --- Text.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | _XawTextGetSTRING(ctx, left, right) | ^ Text.c:812:10: warning: call to undeclared library function 'wcslen' with type 'unsigned long (const int *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 812 | n = wcslen(ws); | ^ Text.c:812:10: note: include the header or explicitly provide a declaration for 'wcslen' Text.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | PositionForXY (ctx, x, y) | ^ Text.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | LineForPosition (ctx, position) | ^ --- Toggle.o --- 561 | if ( (local_tog->toggle.radio_data == radio_data) ) | ~ ^ ~ Toggle.c:561:40: note: use '=' to turn this equality comparison into an assignment 561 | if ( (local_tog->toggle.radio_data == radio_data) ) | ^~ | = Toggle.c:581:40: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 581 | if ( (local_tog->toggle.radio_data == radio_data) ) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ Toggle.c:581:40: note: remove extraneous parentheses around the comparison to silence this warning 581 | if ( (local_tog->toggle.radio_data == radio_data) ) { | ~ ^ ~ Toggle.c:581:40: note: use '=' to turn this equality comparison into an assignment 581 | if ( (local_tog->toggle.radio_data == radio_data) ) { --- Tip.o --- Tip.c:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | static void TipTimeoutCallback(); | ^ Tip.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | TipShellEventHandler(w, client_data, event, continue_to_dispatch) | ^ Tip.c:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static void TipShellEventHandler(); | ^ Tip.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Text.o --- Text.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | LineAndXYForPosition (ctx, pos, line, x, y) | ^ Text.c:118: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] 118 | static Boolean LineAndXYForPosition(), TranslateExposeRegion(); | ^ Text.c:972:27: warning: passing arguments to '_BuildLineTable' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | (void) _BuildLineTable(ctx, ctx->text.lt.top = position, zeroPosition, 0); | ^ Text.c:981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Toggle.o --- | ^~ | = 34 warnings generated. --- Tip.o --- 660 | TipEventHandler(w, client_data, event, continue_to_dispatch) | ^ Tip.c:89:13: warning: a function declaration without a prototype is 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 | static void TipEventHandler(); | ^ Tip.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | XawTipEnable(w, label) | ^ Tip.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | XawTipDisable(w) | ^ 35 warnings generated. --- Text.o --- 981 | _BuildLineTable(ctx, position, min_pos, line) | ^ Text.c:119:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | static XawTextPosition FindGoodPosition(), _BuildLineTable(); | ^ Text.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | GetWidestLine(ctx) | ^ Text.c:1131:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1131 | else if (ctx->text.scroll_vert == XawtextScrollAlways) | ^ Text.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | CheckVBarScrolling(ctx) | ^ Text.c:1163:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1163 | else | ^ Text.c:1184:16: warning: passing arguments to 'FlushUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | FlushUpdate(ctx); | ^ Text.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | _XawTextSetScrollBars(ctx) | ^ Text.c:122:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); | ^ --- MultiSrc.o --- --- MultiSink.o --- --- Text.o --- Text.c:1205:7: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1205 | if (abs(n) > ctx->text.lt.lines) | ^ Text.c:1205:7: note: include the header or explicitly provide a declaration for 'abs' Text.c:1219:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | DisplayTextWindow( (Widget) ctx); | ^ Text.c:1225:20: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1225 | PushCopyQueue(ctx, 0, (int) -y); | ^ --- MultiSrc.o --- rm -f MultiSrc.o unshared/MultiSrc.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO MultiSrc.c -o unshared/MultiSrc.o --- Text.o --- Text.c:1265:20: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | PushCopyQueue(ctx, 0, (int) y); | ^ Text.c:1273:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | DisplayTextWindow((Widget)ctx); | ^ Text.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | _XawTextVScroll(ctx, n) | ^ Text.c:1294:41: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1294 | Position old_left, pixels = (Position)(int) callData; | ^~~~~~~~~~~~~~ Text.c:1298:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1298 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1318:18: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | PushCopyQueue(ctx, (int) -pixels, 0); | ^ Text.c:1337:18: warning: passing arguments to 'PushCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | PushCopyQueue(ctx, (int) rect.width, 0); | ^ Text.c:1351:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | UpdateTextInRectangle(ctx, &t_rect); | ^ Text.c:1362:26: warning: passing arguments to 'UpdateTextInRectangle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | UpdateTextInRectangle(ctx, &rect); | ^ Text.c:1364:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | HScroll(w, closure, callData) | ^ Text.c:114:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1384:7: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 1384 | if (abs(move) < (int)ctx->core.width) { | ^ Text.c:1384:7: note: use function 'labs' instead 1384 | if (abs(move) < (int)ctx->core.width) { | ^~~ | labs Text.c:1384:7: note: include the header or explicitly provide a declaration for 'labs' Text.c:1388:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1390:52: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | if (XtIsRealized((Widget) ctx)) DisplayTextWindow((Widget) ctx); | ^ Text.c:1391:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | HJump(w, closure, callData) | ^ Text.c:114:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | UpdateTextInLine(ctx, line, left, right) | ^ Text.c:116:13: warning: a function declaration without a prototype is 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 | static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); | ^ Text.c:1459:31: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1459 | int height, nlines, lines = (int) callData; | ^~~~~~~~~~~~~~ Text.c:1467:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1469:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | VScroll(w, closure, callData) | ^ Text.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1495:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1522:24: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1522 | DisplayTextWindow( (Widget) ctx); | ^ Text.c:1524:24: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | VJump(w, closure, callData) | ^ Text.c:114: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] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | MatchSelection(selection, s) | ^ Text.c:1713:22: warning: passing arguments to '_XawTextZapSelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | _XawTextZapSelection( ctx, (XEvent *) NULL, TRUE); | ^ Text.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | ConvertSelection(w, selection, target, type, value, length, format) | ^ Text.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | GetCutBufferNumber(atom) | ^ Text.c:1763:26: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:1789:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | ModifySelection(ctx, ctx->text.insertPos, ctx->text.insertPos); | ^ Text.c:1792:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | _XawTextExecuteUpdate(ctx); | ^ Text.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | LoseSelection(w, selection) | ^ Text.c:1838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | _XawTextSaltAwaySelection (ctx, selections, num_atoms) | ^ Text.c:1897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | _SetSelection(ctx, left, right, selections, count) | ^ Text.c:2041:16: warning: passing arguments to 'ClearWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | ClearWindow( (Widget) ctx); | ^ Text.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | _XawTextReplace (ctx, pos1, pos2, text) | ^ Text.c:2109:26: warning: passing arguments to 'FindGoodPosition' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | pos2 = FindGoodPosition(ctx, pos2); | ^ Text.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | DisplayText(w, pos1, pos2) | ^ Text.c:2226:11: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 2226 | if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && | ^ Text.c:2226:11: note: use function 'labs' instead 2226 | if ( (abs((long) time - (long) ctx->text.lasttime) < MULTI_CLICK_TIME) && | ^~~ | labs Text.c:2226:11: note: include the header or explicitly provide a declaration for 'labs' Text.c:2303:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2303 | ModifySelection(ctx, newLeft, newRight); | ^ Text.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | DoSelection (ctx, pos, time, motion) | ^ Text.c:2358:22: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | ModifySelection(ctx, ctx->text.origSel.left, ctx->text.origSel.right); | ^ Text.c:2409:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | ModifySelection(ctx, ctx->text.s.left, pos); | ^ Text.c:2411:20: warning: passing arguments to 'ModifySelection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | ModifySelection(ctx, pos, ctx->text.s.right); | ^ Text.c:2331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2331 | ExtendSelection (ctx, pos, motion) | ^ Text.c:2421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2421 | ClearWindow (w) | ^ Text.c:114:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void VScroll(), VJump(), HScroll(), HJump(), ClearWindow(); | ^ Text.c:2451:20: warning: passing arguments to 'DisplayTextWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2451 | DisplayTextWindow( (Widget) ctx); | ^ Text.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | _XawTextClearAndCenterDisplay(ctx) | ^ Text.c:2460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2460 | DisplayTextWindow (w) | ^ Text.c:115:13: warning: a function declaration without a prototype is 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 | static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); | ^ Text.c:2477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2477 | _XawTextCheckResize(ctx) | ^ Text.c:2533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | _XawTextSelectionList(ctx, list, nelems) | ^ Text.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | _XawTextSetSelection(ctx, l, r, list, nelems) | ^ Text.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | ModifySelection(ctx, left, right) | ^ Text.c:115:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); | ^ Text.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | _XawTextAlterSelection (ctx, mode, action, params, num_params) | ^ Text.c:121:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void _XawTextAlterSelection(), _XawTextExecuteUpdate(); | ^ Text.c:2650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | RectanglesOverlap(rect1, rect2) | ^ Text.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | UpdateTextInRectangle(ctx, rect) | ^ Text.c:116:33: warning: a function declaration without a prototype is 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 | static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); | ^ Text.c:2711:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2711 | PopCopyQueue(ctx); | ^ Text.c:2715:41: warning: passing arguments to 'TranslateExposeRegion' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2715 | need_to_draw = TranslateExposeRegion(ctx, &expose); | ^ Text.c:2717:14: warning: passing arguments to 'PopCopyQueue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2717 | PopCopyQueue(ctx); | ^ Text.c:2722:28: warning: passing arguments to '_XawTextPrepareToUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2722 | _XawTextPrepareToUpdate(ctx); | ^ Text.c:2730:26: warning: passing arguments to '_XawTextExecuteUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2730 | _XawTextExecuteUpdate(ctx); | ^ Text.c:2689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2689 | ProcessExposeRegion(w, event, region) | ^ Text.c:2742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2742 | _XawTextPrepareToUpdate(ctx) | ^ Text.c:122:31: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | void _XawTextSetScrollBars(), _XawTextPrepareToUpdate(); | ^ Text.c:2760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | void FlushUpdate(ctx) | ^ Text.c:117:13: warning: a function declaration without a prototype is 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 FlushUpdate(); | ^ Text.c:2803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2803 | _XawTextShowPosition(ctx) | ^ Text.c:2896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2896 | _XawTextExecuteUpdate(ctx) | ^ Text.c:121:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | void _XawTextAlterSelection(), _XawTextExecuteUpdate(); | ^ Text.c:2911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | TextDestroy(w) | ^ Text.c:2932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2932 | Resize(w) | ^ Text.c:2950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | SetValues(current, request, new, args, num_args) | ^ Text.c:3034:56: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3034 | (*(&simpleClassRec)->simple_class.change_sensitive)(w); | ^ Text.c:3028:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | static Boolean ChangeSensitive(w) | ^ Text.c:3055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3055 | GetValuesHook(w, args, num_args) | ^ Text.c:3071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | FindGoodPosition(ctx, pos) | ^ Text.c:119: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] 119 | static XawTextPosition FindGoodPosition(), _BuildLineTable(); | ^ Text.c:3093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3093 | PushCopyQueue(ctx, h, v) | ^ Text.c:115:53: warning: a function declaration without a prototype is 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 | static void DisplayTextWindow(), ModifySelection(), PushCopyQueue(); | ^ Text.c:3119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3119 | PopCopyQueue(ctx) | ^ Text.c:116:58: warning: a function declaration without a prototype is 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 | static void UpdateTextInLine(), UpdateTextInRectangle(), PopCopyQueue(); | ^ Text.c:3145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3145 | TranslateExposeRegion(ctx, expose) | ^ Text.c:118:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static Boolean LineAndXYForPosition(), TranslateExposeRegion(); | ^ 135 warnings generated. --- XawIm.o --- --- Xaw3dP.o --- Xaw3dP.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | grayPixel(p, dpy, scn) | ^ 1 warning generated. rm -f Xaw3dP.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Xaw3dP.c --- Viewport.o --- Viewport.c:149:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | static Widget CreateScrollbar(w, horizontal) | ^ Viewport.c:201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | static void Initialize(request, new, args, num_args) | ^ Viewport.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Initialize(), ConstraintInitialize(), | ^ Viewport.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 ConstraintInitialize(request, new, args, num_args) | ^ Viewport.c:81: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] 81 | static void Initialize(), ConstraintInitialize(), | ^ Viewport.c:309:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | static void Realize(widget, value_mask, attributes) | ^ Viewport.c:82:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | Realize(), Resize(), ChangeManaged(); | ^ Viewport.c:338:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | static Boolean SetValues(current, request, new, args, num_args) | ^ Viewport.c:83: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] 83 | static Boolean SetValues(), Layout(); | ^ Viewport.c:415:17: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetGeometry( widget, child->core.width, child->core.height ); | ^ Viewport.c:417:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- Vendor.o --- Vendor.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | XawCvtCompoundTextToString(dpy, args, num_args, fromVal, toVal, cvt_data) | ^ Vendor.c:413:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | static void XawVendorShellClassPartInit(class) | ^ Vendor.c:107:13: warning: a function declaration without a prototype is 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 void XawVendorShellClassPartInit(); | ^ Vendor.c:451:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | static void XawVendorShellInitialize(req, new, args, num_args) --- Viewport.o --- 417 | ( (FormWidget)w, w->core.width, w->core.height ); | ^ Viewport.c:359:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | static void ChangeManaged(widget) | ^ Viewport.c:82: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] 82 | Realize(), Resize(), ChangeManaged(); | ^ Viewport.c:428:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | static void SetBar(w, top, length, total) | ^ --- Vendor.o --- | ^ Vendor.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | static void XawVendorShellInitialize(); | ^ Vendor.c:465:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | static Boolean XawVendorShellSetValues(old, ref, new) | ^ Vendor.c:103: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] 103 | static Boolean XawVendorShellSetValues(); | ^ --- Viewport.o --- Viewport.c:437:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | static void RedrawThumbs(w) | ^ Viewport.c:454:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | static void SendReport (w, changed) | ^ Viewport.c:477:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | static void MoveChild(w, x, y) | ^ Viewport.c:542:29: warning: passing arguments to 'ComputeWithForceBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | ComputeWithForceBars(widget, query, &intended, | ^ --- Vendor.o --- Vendor.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 Realize(wid, vmask, attr) | ^ Vendor.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void Realize(), ChangeManaged(); | ^ Vendor.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 XawVendorShellExtInitialize(req, new) | ^ Vendor.c:211:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Viewport.o --- Viewport.c:502:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | static void ComputeLayout(widget, query, destroy_scrollbars) | ^ Viewport.c:830:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 830 | else | ^ Viewport.c:836:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 836 | else | ^ Viewport.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | ComputeWithForceBars(widget, query, intended, clip_width, clip_height) | ^ Viewport.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] --- Vendor.o --- 211 | static void XawVendorShellExtInitialize(); | ^ Vendor.c:500:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | static void XawVendorShellExtDestroy( w ) | ^ Vendor.c:212:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static void XawVendorShellExtDestroy(); | ^ Vendor.c:507:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | static Boolean XawVendorShellExtSetValues(old, ref, new) | ^ Vendor.c:213: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] 213 | static Boolean XawVendorShellExtSetValues(); | ^ Vendor.c:513:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | void XawVendorShellExtResize( w ) | ^ Vendor.c:108:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | void XawVendorShellExtResize(); | ^ Vendor.c:534:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | static XtGeometryResult GeometryManager( wid, request, reply ) | ^ Vendor.c:105: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] 105 | static XtGeometryResult GeometryManager(); | ^ Vendor.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | static void ChangeManaged(wid) | ^ Vendor.c:104: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] 104 | static void Realize(), ChangeManaged(); | ^ 21 warnings generated. --- Viewport.o --- 62 | static void ComputeWithForceBars(); | ^ Viewport.c:853:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | static void Resize(widget) | ^ Viewport.c:82: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] 82 | Realize(), Resize(), ChangeManaged(); | ^ Viewport.c:861:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | static Boolean Layout(w, width, height) | ^ --- laygram.o --- --- XawIm.o --- rm -f XawIm.o unshared/XawIm.o --- Viewport.o --- Viewport.c:83:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static Boolean SetValues(), Layout(); | ^ Viewport.c:879:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 879 | int pix = (int)call_data; | ^~~~~~~~~~~~~~ Viewport.c:872:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | static void ScrollUpDownProc(widget, closure, call_data) | ^ Viewport.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void ScrollUpDownProc(), ThumbProc(); | ^ Viewport.c:891:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | static void ThumbProc(widget, closure, call_data) | ^ Viewport.c:59:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void ScrollUpDownProc(), ThumbProc(); | ^ Viewport.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | TestSmaller(w, request, reply_return) | ^ Viewport.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | GeometryRequestPlusScrollbar(w, horizontal, request, reply_return) | ^ Viewport.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | QueryGeometry(w, request, reply_return) | ^ Viewport.c:1022:31: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | reconfigured = GetGeometry( (Widget)w, | ^ Viewport.c:993:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | static XtGeometryResult GeometryManager(child, request, reply) | ^ --- laygram.o --- rm -f laygram.o unshared/laygram.o --- Viewport.o --- Viewport.c:84: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] 84 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ Viewport.c:1089:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | static Boolean GetGeometry(w, width, height) | ^ Viewport.c:60: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] 60 | static Boolean GetGeometry(); | ^ Viewport.c:1124:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | static XtGeometryResult PreferredGeometry(w, constraints, reply) | ^ Viewport.c:84:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ 42 warnings generated. rm -f Viewport.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC Viewport.c --- laygram.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO laygram.c -o unshared/laygram.o --- MultiSink.o --- rm -f MultiSink.o unshared/MultiSink.o --- XawIm.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO XawIm.c -o unshared/XawIm.o --- MultiSink.o --- cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO MultiSink.c -o unshared/MultiSink.o --- Xaw3dP.o --- Xaw3dP.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | grayPixel(p, dpy, scn) | ^ 1 warning generated. --- laylex.o --- rm -f laylex.o unshared/laylex.o cc -c -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO laylex.c -o unshared/laylex.o --- MultiSrc.o --- MultiSrc.c: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 previous declaration [-Wdeprecated-non-prototype] 126 | extern char *tmpnam(); | ^ /usr/include/stdio.h:288:7: note: conflicting prototype is here 288 | char *tmpnam(char *); | ^ MultiSrc.c:139:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 139 | extern wchar_t* _XawTextMBToWC(); | ^ ./X11/Xaw3d/TextSrcP.h:135:10: note: conflicting prototype is here 135 | wchar_t* _XawTextMBToWC( | ^ MultiSrc.c:140:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 140 | extern char *_XawTextWCToMB(); | ^ ./X11/Xaw3d/TextSrcP.h:127:7: note: conflicting prototype is here 127 | char* _XawTextWCToMB( | ^ MultiSrc.c:238:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | file = InitStringOrFile(src, src->multi_src.type == XawAsciiFile); | ^ MultiSrc.c:239:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | LoadPieces(src, file, NULL); | ^ MultiSrc.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | Initialize(request, new, args, num_args) | ^ MultiSrc.c:116:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ MultiSrc.c:264:33: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | MultiPiece * piece = FindPiece(src, pos, &start); | ^ MultiSrc.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | ReadText(w, pos, text, length) | ^ MultiSrc.c:110:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static XawTextPosition Scan(), Search(), ReadText(); | ^ MultiSrc.c:334:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | start_piece = FindPiece(src, startPos, &start_first); | ^ MultiSrc.c:335:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | end_piece = FindPiece(src, endPos, &end_first); | ^ MultiSrc.c:347:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | RemovePiece(src, start_piece); | ^ MultiSrc.c:351:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | RemovePiece(src, temp_piece->prev); | ^ MultiSrc.c:361:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | RemovePiece(src, start_piece); | ^ MultiSrc.c:383:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | start_piece = FindPiece(src, startPos, &start_first); | ^ MultiSrc.c:410:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | BreakPiece(src, start_piece); | ^ MultiSrc.c:411:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | start_piece = FindPiece(src, startPos, &start_first); | ^ MultiSrc.c:420:13: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | (void)wcsncpy(ptr, wptr + firstPos, fill); | ^ MultiSrc.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | ReplaceText( w, startPos, endPos, u_text_p) | ^ MultiSrc.c:111:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static int ReplaceText(); | ^ MultiSrc.c:504:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | piece = FindPiece(src, position, &first); | ^ MultiSrc.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Scan( w, position, type, dir, count, include ) | ^ MultiSrc.c:110: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] 110 | static XawTextPosition Scan(), Search(), ReadText(); | ^ MultiSrc.c:652:9: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | (void)wcsncpy(buf, wtarget, wtarget_len ); | ^ MultiSrc.c:653:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | piece = FindPiece(src, position, &first); | ^ MultiSrc.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | Search(w, position, dir, text ) | ^ MultiSrc.c:110:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static XawTextPosition Scan(), Search(), ReadText(); | ^ MultiSrc.c:738:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | RemoveOldStringOrFile(old_src, string_set); | ^ MultiSrc.c:739:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | file = InitStringOrFile(src, string_set); | ^ MultiSrc.c:745:19: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | LoadPieces(src, file, NULL); | ^ MultiSrc.c:757:45: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | String mb_string = StorePiecesInString( old_src ); | ^ MultiSrc.c:760:24: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | FreeAllPieces( old_src ); | ^ MultiSrc.c:761:21: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | LoadPieces( src, NULL, mb_string ); | ^ MultiSrc.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 | SetValues(current, request, new, args, num_args) | ^ MultiSrc.c:118: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] 118 | static Boolean SetValues(), WriteToFile(); | ^ MultiSrc.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | GetValuesHook(w, args, num_args) | ^ MultiSrc.c:116:57: warning: a function declaration without a prototype is 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 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ MultiSrc.c:821:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | RemoveOldStringOrFile((MultiSrcObject) w, True); | ^ MultiSrc.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | Destroy (w) | ^ MultiSrc.c:116:46: warning: a function declaration without a prototype is 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 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ MultiSrc.c:893:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | mb_string = StorePiecesInString( src ); | ^ MultiSrc.c:896:27: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | if ( WriteToFile( mb_string, src->multi_src.string ) == FALSE ) { | ^ MultiSrc.c:916:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | mb_string = StorePiecesInString( src ); | ^ MultiSrc.c:962:34: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | mb_string = StorePiecesInString( src ); | ^ MultiSrc.c:965:24: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | ret = WriteToFile( mb_string, name ); | ^ MultiSrc.c:988:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | FreeAllPieces(src); | ^ MultiSrc.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | RemoveOldStringOrFile(src, checkString) | ^ MultiSrc.c:115:13: warning: a function declaration without a prototype is 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 | static void RemoveOldStringOrFile(), CvtStringToMultiType(); | ^ MultiSrc.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | WriteToFile(string, name) | ^ MultiSrc.c:118:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static Boolean SetValues(), WriteToFile(); | ^ MultiSrc.c:1045:14: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1045 | (void) wcsncpy( wc_string + first, piece->text, piece->used ); | ^ MultiSrc.c:1053:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | FreeAllPieces( src ); | ^ MultiSrc.c:1054:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | LoadPieces( src, NULL, (char *)wc_string ); | ^ MultiSrc.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | StorePiecesInString(src) | ^ MultiSrc.c:117: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] 117 | static String StorePiecesInString(); | ^ MultiSrc.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 | InitStringOrFile(src, newString) | ^ MultiSrc.c:113: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] 113 | static FILE * InitStringOrFile(); | ^ MultiSrc.c:1271:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | piece = AllocNewPiece(src, piece); | ^ MultiSrc.c:1281:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | piece = AllocNewPiece(src, piece); | ^ MultiSrc.c:1286:18: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1286 | (void) wcsncpy(piece->text, ptr, piece->used); | ^ MultiSrc.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | LoadPieces(src, file, string) | ^ MultiSrc.c:114:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | AllocNewPiece(src, prev) | ^ MultiSrc.c:112:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static MultiPiece * FindPiece(), * AllocNewPiece(); | ^ MultiSrc.c:1344:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | RemovePiece(src, first); | ^ MultiSrc.c:1334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | FreeAllPieces(src) | ^ MultiSrc.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | RemovePiece(src, piece) | ^ MultiSrc.c:114:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | FindPiece(src, position, first) | ^ MultiSrc.c:112:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static MultiPiece * FindPiece(), * AllocNewPiece(); | ^ MultiSrc.c:1417:10: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1417 | (void) wcsncpy(new->text, piece->text + HALF_PIECE, | ^ MultiSrc.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | BreakPiece(src, piece) | ^ MultiSrc.c:114:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | CvtStringToMultiType(args, num_args, fromVal, toVal) | ^ MultiSrc.c:115:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void RemoveOldStringOrFile(), CvtStringToMultiType(); | ^ 77 warnings generated. --- laygram.o --- laygram.y:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | void LayYYsetdest (c) | ^ y.tab.c:445:5: warning: call to undeclared function 'LayYYerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | YYERROR_CALL("syntax error"); | ^ y.tab.c:84:27: note: expanded from macro 'YYERROR_CALL' 84 | #define YYERROR_CALL(msg) LayYYerror(msg) | ^ 2 warnings generated. --- MultiSrc.o --- rm -f MultiSrc.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC MultiSrc.c --- XawIm.o --- XawIm.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | static void SetVaArg( arg, value ) | ^ XawIm.c:140:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | static VendorShellWidget SearchVendorShell( w ) | ^ XawIm.c:148:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 148 | static XContext extContext = (XContext)NULL; | ^~~~~~~~~~~~~~ XawIm.c:156:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 156 | if (extContext == (XContext)NULL) extContext = XUniqueContext(); | ^~~~~~~~~~~~~~ XawIm.c:150:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | static XawVendorShellExtPart *SetExtPart( w, vew ) | ^ XawIm.c:167:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static XawVendorShellExtPart *GetExtPart( w ) | ^ XawIm.c:181:16: 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 Boolean IsSharedIC( ve ) | ^ XawIm.c:187:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static XawIcTableList GetIcTableShared( w, ve ) | ^ --- laygram.o --- rm -f laygram.o cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC laygram.c --- XawIm.o --- XawIm.c:205:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | static XawIcTableList GetIcTable( w, ve ) | ^ XawIm.c:219:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | static XIMStyle GetInputStyleOfIC( ve ) | ^ XawIm.c:227:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | static void ConfigureCB( w, closure, event ) | ^ XawIm.c:264:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 264 | static XContext errContext = (XContext)NULL; | ^~~~~~~~~~~~~~ --- MultiSink.o --- MultiSink.c:209:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 209 | else { | ^ MultiSink.c:268:34: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | (int) y - abs(ext->max_logical_extent.y), | ^ MultiSink.c:268:34: note: include the header or explicitly provide a declaration for 'abs' MultiSink.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | PaintText(w, gc, x, y, buf, len) | ^ MultiSink.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | DisplayText(w, x, y, pos1, pos2, highlight) | ^ --- laylex.o --- laylex.l:40:25: warning: passing arguments to 'count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | { LayYYlval.ival = count(LayYYtext, 'f'); return INFINITY; } | ^ laylex.l:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | count (s, c) | ^ laylex.l:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static int count (); | ^ laylex.l:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | LayYYsetsource(s) | ^ | int --- XawIm.o --- XawIm.c:272:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 272 | if (errContext == (XContext)NULL) errContext = XUniqueContext(); | ^~~~~~~~~~~~~~ XawIm.c:266:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | static Widget SetErrCnxt( w, xim ) | ^ XawIm.c:284:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | static void CloseIM( ve ) | ^ XawIm.c:291:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static Dimension SetVendorShellHeight( ve, height ) | ^ --- MultiSink.o --- MultiSink.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ MultiSink.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | CreateInsertCursor(s) | ^ MultiSink.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | GetCursorBounds(w, rect) | ^ MultiSink.c:98:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void FindDistance(), Resolve(), GetCursorBounds(); laylex.l:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] laylex.l:93:1: warning: non-void function does not return a value [-Wreturn-type] 93 | } | ^ laylex.l:95:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 95 | LayYYerror(s) | ^ | int laylex.l:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] laylex.l:114:1: warning: non-void function does not return a value [-Wreturn-type] 114 | } | ^ laylex.l:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | my_LayYYinput(buf, result, max_size) | ^ 10 warnings generated. --- laylex.o --- rm -f laylex.o --- XawIm.o --- XawIm.c:307:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | static void DestroyAllIM( ve ) | ^ XawIm.c:352:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | static void FreeAllDataOfVendorShell(ve, vw) | ^ XawIm.c:373:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | static void VendorShellDestroyed( w, cl_data, ca_data ) | ^ XawIm.c:389:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | static void OpenIM(ve) | ^ --- MultiSink.o --- | ^ MultiSink.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | InsertCursor (w, x, y, state) | ^ MultiSink.c:97:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ MultiSink.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) | ^ --- laylex.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC laylex.c --- XawIm.o --- XawIm.c:487:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | static Boolean ResizeVendorShell_Core(vw, ve, p) | ^ XawIm.c:538:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | static void ResizeVendorShell(vw, ve) | ^ XawIm.c:556:23: 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 XawIcTableList CreateIcTable( w, ve ) | ^ XawIm.c:577:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | static Boolean RegisterToVendorShell( w, ve ) | ^ --- MultiSink.o --- MultiSink.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ MultiSink.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | FindPosition(w, fromPos, fromx, width, stopAtWordBreak, resPos, resWidth, resHeight) | ^ MultiSink.c:97:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ --- XawIm.o --- XawIm.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | static void UnregisterFromVendorShell(w, ve) | ^ XawIm.c:605:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | static void SetICValuesShared(w, ve, p, check) | ^ XawIm.c:642:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | static Boolean IsCreatedIC(w, ve) | ^ XawIm.c:677:66: warning: missing sentinel in function call [-Wsentinel] 677 | XGetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); | ^ | , NULL --- MultiSink.o --- MultiSink.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | Resolve (w, pos, fromx, width, leftPos, rightPos) | ^ MultiSink.c:98:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ MultiSink.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | GetGC(sink) | ^ MultiSink.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | Initialize(request, new, args, num_args) | ^ --- XawIm.o --- /usr/local/include/X11/Xlib.h:3895:14: note: function has been explicitly marked sentinel here 3895 | extern char *XGetICValues( | ^ 3896 | XIC /* ic */, ... 3897 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:717:66: warning: missing sentinel in function call [-Wsentinel] 717 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here 3891 | extern char *XSetICValues( | ^ 3892 | XIC /* ic */, ... 3893 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:654:13: 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 void SizeNegotiation(p, width, height) --- MultiSink.o --- MultiSink.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void Initialize(), Destroy(); | ^ MultiSink.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | Destroy(w) | ^ MultiSink.c:92: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] 92 | static void Initialize(), Destroy(); | ^ MultiSink.c:616:9: warning: passing arguments to 'SetTabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- XawIm.o --- | ^ XawIm.c:834:37: warning: missing sentinel in function call [-Wsentinel] 834 | pe_a[17], pe_a[18], pe_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:845:37: warning: missing sentinel in function call [-Wsentinel] 845 | st_a[17], st_a[18], st_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here --- MultiSink.o --- 616 | SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); | ^ MultiSink.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | SetValues(current, request, new, args, num_args) | ^ MultiSink.c:93: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] 93 | static Boolean SetValues(); | ^ MultiSink.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | MaxLines(w, height) | ^ --- XawIm.o --- 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:854:58: warning: missing sentinel in function call [-Wsentinel] 854 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3863:12: note: function has been explicitly marked sentinel here 3863 | extern XIC XCreateIC( | ^ 3864 | XIM /* im */, ... 3865 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:727:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | static void CreateIC( w, ve ) | ^ XawIm.c:972:50: warning: missing sentinel in function call [-Wsentinel] --- MultiSink.o --- MultiSink.c:94: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] 94 | static int MaxLines(), MaxHeight(); | ^ MultiSink.c:94: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] 94 | static int MaxLines(), MaxHeight(); | ^ MultiSink.c:671:1: note: conflicting prototype is here 671 | MaxHeight( | ^ MultiSink.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void SetTabs(); | ^ MultiSink.c:696:1: note: conflicting prototype is here --- XawIm.o --- 972 | pe_a[16], pe_a[17], pe_a[18], pe_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:982:50: warning: missing sentinel in function call [-Wsentinel] 982 | st_a[16], st_a[17], st_a[18], st_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( 696 | SetTabs( | ^ MultiSink.c:737:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 737 | else | ^ 29 warnings generated. | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:995:46: warning: missing sentinel in function call [-Wsentinel] 995 | ic_a[16], ic_a[17], ic_a[18], ic_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here 3891 | extern char *XSetICValues( | ^ 3892 | XIC /* ic */, ... 3893 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:875:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | static void SetICValues( w, ve, focus ) | ^ XawIm.c:1006:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | static void SharedICChangeFocusWindow(w, ve, p) | ^ XawIm.c:1022:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | static XawIcTableList CurrentSharedIcTable( ve ) | ^ XawIm.c:1028:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | static void SetICFocus(w, ve) | ^ XawIm.c:1050:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | static void UnsetICFocus(w, ve) | ^ XawIm.c:1093:17: warning: call to undeclared function '_XtCopyFromArg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1093 | _XtCopyFromArg(arg->value, | ^ XawIm.c:1071:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | static void SetValues( w, ve, args, num_args ) | ^ XawIm.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | static void SetFocus( w, ve ) | ^ XawIm.c:1134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | static void DestroyIC(w, ve) | ^ XawIm.c:1157:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | static void SetFocusValues( inwidg, args, num_args, focus ) | ^ XawIm.c:1182:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | static void UnsetFocus( inwidg ) | ^ XawIm.c:1202:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | static Boolean IsRegistered( w, ve ) | ^ XawIm.c:1215:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | static void Register(inwidg, ve) | ^ XawIm.c:1237:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | static Boolean NoRegistered(ve) | ^ XawIm.c:1244:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | static void Unregister(inwidg, ve) | ^ XawIm.c:1265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | static void AllCreateIC( ve ) | ^ XawIm.c:1288:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | static void Reconnect(ve) | ^ XawIm.c:1313:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | static void CompileResourceList( res, num_res ) | ^ XawIm.c:1330:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | static Boolean Initialize( vw, ve ) | ^ XawIm.c:1371:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 1371 | if (extContext != (XContext)NULL && | ^~~~~~~~~~~~~~ XawIm.c:1376:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 1376 | if (errContext != (XContext)NULL && | ^~~~~~~~~~~~~~ XawIm.c:1360:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | static void Destroy( w, ve ) | ^ XawIm.c:1549:5: warning: call to undeclared function '_XtCountVaList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1549 | _XtCountVaList( var, &total_count, &typed_count ); | ^ XawIm.c:1554:5: warning: call to undeclared function '_XtVaToArgList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1554 | _XtVaToArgList( inwidg, var, total_count, &args, &num_args ); | ^ XawIm.c:1593:5: warning: call to undeclared function '_XtCountVaList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1593 | _XtCountVaList(var, &total_count, &typed_count); | ^ XawIm.c:1598:5: warning: call to undeclared function '_XtVaToArgList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1598 | _XtVaToArgList(inwidg, var, total_count, &args, &num_args); | ^ XawIm.c:1690:25: warning: passing arguments to 'XawVendorShellExtResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | XawVendorShellExtResize(vw); | ^ 64 warnings generated. --- MultiSink.o --- rm -f MultiSink.o --- laygram.o --- laygram.y:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | void LayYYsetdest (c) | ^ y.tab.c:445:5: warning: call to undeclared function 'LayYYerror'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | YYERROR_CALL("syntax error"); | ^ y.tab.c:84:27: note: expanded from macro 'YYERROR_CALL' 84 | #define YYERROR_CALL(msg) LayYYerror(msg) | ^ 2 warnings generated. --- XawIm.o --- rm -f XawIm.o --- MultiSink.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC MultiSink.c --- Viewport.o --- Viewport.c:149:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | static Widget CreateScrollbar(w, horizontal) | ^ Viewport.c:201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | static void Initialize(request, new, args, num_args) | ^ Viewport.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | static void Initialize(), ConstraintInitialize(), | ^ Viewport.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 ConstraintInitialize(request, new, args, num_args) | ^ Viewport.c:81: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] 81 | static void Initialize(), ConstraintInitialize(), | ^ Viewport.c:309:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | static void Realize(widget, value_mask, attributes) | ^ Viewport.c:82:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | Realize(), Resize(), ChangeManaged(); | ^ Viewport.c:338:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | static Boolean SetValues(current, request, new, args, num_args) | ^ Viewport.c:83: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] 83 | static Boolean SetValues(), Layout(); | ^ Viewport.c:415:17: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | GetGeometry( widget, child->core.width, child->core.height ); | ^ Viewport.c:417:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | ( (FormWidget)w, w->core.width, w->core.height ); | ^ Viewport.c:359:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | static void ChangeManaged(widget) | ^ Viewport.c:82: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] 82 | Realize(), Resize(), ChangeManaged(); | ^ Viewport.c:428:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | static void SetBar(w, top, length, total) | ^ Viewport.c:437:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | static void RedrawThumbs(w) | ^ Viewport.c:454:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | static void SendReport (w, changed) | ^ Viewport.c:477:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | static void MoveChild(w, x, y) | ^ Viewport.c:542:29: warning: passing arguments to 'ComputeWithForceBars' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | ComputeWithForceBars(widget, query, &intended, | ^ Viewport.c:502:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | static void ComputeLayout(widget, query, destroy_scrollbars) | ^ Viewport.c:830:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 830 | else | ^ Viewport.c:836:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 836 | else | ^ Viewport.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | ComputeWithForceBars(widget, query, intended, clip_width, clip_height) | ^ Viewport.c:62:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | static void ComputeWithForceBars(); | ^ Viewport.c:853:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | static void Resize(widget) | ^ Viewport.c:82: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] 82 | Realize(), Resize(), ChangeManaged(); | ^ Viewport.c:861:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | static Boolean Layout(w, width, height) | ^ Viewport.c:83:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static Boolean SetValues(), Layout(); | ^ Viewport.c:879:15: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 879 | int pix = (int)call_data; | ^~~~~~~~~~~~~~ Viewport.c:872:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | static void ScrollUpDownProc(widget, closure, call_data) | ^ Viewport.c:59:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void ScrollUpDownProc(), ThumbProc(); | ^ Viewport.c:891:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | static void ThumbProc(widget, closure, call_data) | ^ Viewport.c:59:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | static void ScrollUpDownProc(), ThumbProc(); | ^ Viewport.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | TestSmaller(w, request, reply_return) | ^ Viewport.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | GeometryRequestPlusScrollbar(w, horizontal, request, reply_return) | ^ Viewport.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | QueryGeometry(w, request, reply_return) | ^ Viewport.c:1022:31: warning: passing arguments to 'GetGeometry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | reconfigured = GetGeometry( (Widget)w, | ^ Viewport.c:993:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | static XtGeometryResult GeometryManager(child, request, reply) | ^ Viewport.c:84: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] 84 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ Viewport.c:1089:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | static Boolean GetGeometry(w, width, height) | ^ Viewport.c:60: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] 60 | static Boolean GetGeometry(); | ^ Viewport.c:1124:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | static XtGeometryResult PreferredGeometry(w, constraints, reply) | ^ Viewport.c:84:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | static XtGeometryResult GeometryManager(), PreferredGeometry(); | ^ 42 warnings generated. --- XawIm.o --- cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I. -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC XawIm.c --- MultiSink.o --- MultiSink.c:209:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 209 | else { | ^ MultiSink.c:268:34: warning: call to undeclared library function 'abs' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | (int) y - abs(ext->max_logical_extent.y), | ^ MultiSink.c:268:34: note: include the header or explicitly provide a declaration for 'abs' MultiSink.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | PaintText(w, gc, x, y, buf, len) | ^ MultiSink.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | DisplayText(w, x, y, pos1, pos2, highlight) | ^ MultiSink.c:97:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ MultiSink.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | CreateInsertCursor(s) | ^ MultiSink.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | GetCursorBounds(w, rect) | ^ MultiSink.c:98:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ MultiSink.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | InsertCursor (w, x, y, state) | ^ MultiSink.c:97:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ MultiSink.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | FindDistance (w, fromPos, fromx, toPos, resWidth, resPos, resHeight) | ^ MultiSink.c:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ MultiSink.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | FindPosition(w, fromPos, fromx, width, stopAtWordBreak, resPos, resWidth, resHeight) | ^ MultiSink.c:97:44: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | static void DisplayText(), InsertCursor(), FindPosition(); | ^ MultiSink.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | Resolve (w, pos, fromx, width, leftPos, rightPos) | ^ MultiSink.c:98:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | static void FindDistance(), Resolve(), GetCursorBounds(); | ^ MultiSink.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | GetGC(sink) | ^ MultiSink.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | Initialize(request, new, args, num_args) | ^ MultiSink.c:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | static void Initialize(), Destroy(); | ^ MultiSink.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | Destroy(w) | ^ MultiSink.c:92: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] 92 | static void Initialize(), Destroy(); | ^ MultiSink.c:616:9: warning: passing arguments to 'SetTabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | SetTabs( w, w->text_sink.tab_count, w->text_sink.char_tabs ); | ^ MultiSink.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | SetValues(current, request, new, args, num_args) | ^ MultiSink.c:93: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] 93 | static Boolean SetValues(); | ^ MultiSink.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | MaxLines(w, height) | ^ MultiSink.c:94: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] 94 | static int MaxLines(), MaxHeight(); | ^ MultiSink.c:94: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] 94 | static int MaxLines(), MaxHeight(); | ^ MultiSink.c:671:1: note: conflicting prototype is here 671 | MaxHeight( | ^ MultiSink.c:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | static void SetTabs(); | ^ MultiSink.c:696:1: note: conflicting prototype is here 696 | SetTabs( | ^ MultiSink.c:737:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] 737 | else | ^ 29 warnings generated. --- MultiSrc.o --- MultiSrc.c: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 previous declaration [-Wdeprecated-non-prototype] 126 | extern char *tmpnam(); | ^ /usr/include/stdio.h:288:7: note: conflicting prototype is here 288 | char *tmpnam(char *); | ^ MultiSrc.c:139:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 139 | extern wchar_t* _XawTextMBToWC(); | ^ ./X11/Xaw3d/TextSrcP.h:135:10: note: conflicting prototype is here 135 | wchar_t* _XawTextMBToWC( | ^ MultiSrc.c:140:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 140 | extern char *_XawTextWCToMB(); | ^ ./X11/Xaw3d/TextSrcP.h:127:7: note: conflicting prototype is here 127 | char* _XawTextWCToMB( | ^ MultiSrc.c:238:26: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | file = InitStringOrFile(src, src->multi_src.type == XawAsciiFile); | ^ MultiSrc.c:239:13: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | LoadPieces(src, file, NULL); | ^ --- laylex.o --- laylex.l:40:25: warning: passing arguments to 'count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | { LayYYlval.ival = count(LayYYtext, 'f'); return INFINITY; } | ^ laylex.l:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | count (s, c) | ^ laylex.l:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | static int count (); | ^ laylex.l:89:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 89 | LayYYsetsource(s) | ^ | int laylex.l:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] laylex.l:93:1: warning: non-void function does not return a value [-Wreturn-type] 93 | } | ^ laylex.l:95:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 95 | LayYYerror(s) | ^ | int laylex.l:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] laylex.l:114:1: warning: non-void function does not return a value [-Wreturn-type] 114 | } | ^ laylex.l:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | my_LayYYinput(buf, result, max_size) | ^ 10 warnings generated. --- MultiSrc.o --- MultiSrc.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | Initialize(request, new, args, num_args) | ^ MultiSrc.c:116:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ MultiSrc.c:264:33: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | MultiPiece * piece = FindPiece(src, pos, &start); | ^ MultiSrc.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | ReadText(w, pos, text, length) | ^ MultiSrc.c:110:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static XawTextPosition Scan(), Search(), ReadText(); | ^ MultiSrc.c:334:26: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | start_piece = FindPiece(src, startPos, &start_first); | ^ MultiSrc.c:335:24: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | end_piece = FindPiece(src, endPos, &end_first); | ^ MultiSrc.c:347:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | RemovePiece(src, start_piece); | ^ MultiSrc.c:351:18: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | RemovePiece(src, temp_piece->prev); | ^ MultiSrc.c:361:13: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | RemovePiece(src, start_piece); | ^ MultiSrc.c:383:28: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | start_piece = FindPiece(src, startPos, &start_first); | ^ MultiSrc.c:410:12: warning: passing arguments to 'BreakPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | BreakPiece(src, start_piece); | ^ MultiSrc.c:411:25: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | start_piece = FindPiece(src, startPos, &start_first); | ^ MultiSrc.c:420:13: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 420 | (void)wcsncpy(ptr, wptr + firstPos, fill); | ^ MultiSrc.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | ReplaceText( w, startPos, endPos, u_text_p) | ^ MultiSrc.c:111:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | static int ReplaceText(); | ^ MultiSrc.c:504:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | piece = FindPiece(src, position, &first); | ^ MultiSrc.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Scan( w, position, type, dir, count, include ) | ^ MultiSrc.c:110: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] 110 | static XawTextPosition Scan(), Search(), ReadText(); | ^ MultiSrc.c:652:9: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 652 | (void)wcsncpy(buf, wtarget, wtarget_len ); | ^ MultiSrc.c:653:20: warning: passing arguments to 'FindPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | piece = FindPiece(src, position, &first); | ^ MultiSrc.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | Search(w, position, dir, text ) | ^ MultiSrc.c:110:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static XawTextPosition Scan(), Search(), ReadText(); | ^ MultiSrc.c:738:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | RemoveOldStringOrFile(old_src, string_set); | ^ MultiSrc.c:739:28: warning: passing arguments to 'InitStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | file = InitStringOrFile(src, string_set); | ^ MultiSrc.c:745:19: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | LoadPieces(src, file, NULL); | ^ MultiSrc.c:757:45: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | String mb_string = StorePiecesInString( old_src ); | ^ MultiSrc.c:760:24: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | FreeAllPieces( old_src ); | ^ MultiSrc.c:761:21: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | LoadPieces( src, NULL, mb_string ); | ^ MultiSrc.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 | SetValues(current, request, new, args, num_args) | ^ MultiSrc.c:118: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] 118 | static Boolean SetValues(), WriteToFile(); | ^ MultiSrc.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | GetValuesHook(w, args, num_args) | ^ MultiSrc.c:116:57: warning: a function declaration without a prototype is 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 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ MultiSrc.c:821:26: warning: passing arguments to 'RemoveOldStringOrFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | RemoveOldStringOrFile((MultiSrcObject) w, True); | ^ MultiSrc.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | Destroy (w) | ^ MultiSrc.c:116:46: warning: a function declaration without a prototype is 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 | static void ClassInitialize(), Initialize(), Destroy(), GetValuesHook(); | ^ MultiSrc.c:893:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | mb_string = StorePiecesInString( src ); | ^ MultiSrc.c:896:27: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | if ( WriteToFile( mb_string, src->multi_src.string ) == FALSE ) { | ^ MultiSrc.c:916:38: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 916 | mb_string = StorePiecesInString( src ); | ^ MultiSrc.c:962:34: warning: passing arguments to 'StorePiecesInString' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | mb_string = StorePiecesInString( src ); | ^ MultiSrc.c:965:24: warning: passing arguments to 'WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | ret = WriteToFile( mb_string, name ); | ^ MultiSrc.c:988:16: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | FreeAllPieces(src); | ^ MultiSrc.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | RemoveOldStringOrFile(src, checkString) | ^ MultiSrc.c:115:13: warning: a function declaration without a prototype is 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 | static void RemoveOldStringOrFile(), CvtStringToMultiType(); | ^ MultiSrc.c:1006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | WriteToFile(string, name) | ^ MultiSrc.c:118:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | static Boolean SetValues(), WriteToFile(); | ^ MultiSrc.c:1045:14: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1045 | (void) wcsncpy( wc_string + first, piece->text, piece->used ); | ^ MultiSrc.c:1053:18: warning: passing arguments to 'FreeAllPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | FreeAllPieces( src ); | ^ MultiSrc.c:1054:15: warning: passing arguments to 'LoadPieces' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | LoadPieces( src, NULL, (char *)wc_string ); | ^ MultiSrc.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | StorePiecesInString(src) | ^ MultiSrc.c:117: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] 117 | static String StorePiecesInString(); | ^ MultiSrc.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 | InitStringOrFile(src, newString) | ^ MultiSrc.c:113: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] 113 | static FILE * InitStringOrFile(); | ^ MultiSrc.c:1271:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | piece = AllocNewPiece(src, piece); | ^ MultiSrc.c:1281:28: warning: passing arguments to 'AllocNewPiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | piece = AllocNewPiece(src, piece); | ^ MultiSrc.c:1286:18: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1286 | (void) wcsncpy(piece->text, ptr, piece->used); | ^ MultiSrc.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | LoadPieces(src, file, string) | ^ MultiSrc.c:114:59: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | AllocNewPiece(src, prev) | ^ MultiSrc.c:112:36: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static MultiPiece * FindPiece(), * AllocNewPiece(); | ^ MultiSrc.c:1344:16: warning: passing arguments to 'RemovePiece' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | RemovePiece(src, first); | ^ MultiSrc.c:1334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | FreeAllPieces(src) | ^ MultiSrc.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | RemovePiece(src, piece) | ^ MultiSrc.c:114:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | FindPiece(src, position, first) | ^ MultiSrc.c:112:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | static MultiPiece * FindPiece(), * AllocNewPiece(); | ^ MultiSrc.c:1417:10: warning: call to undeclared function 'wcsncpy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1417 | (void) wcsncpy(new->text, piece->text + HALF_PIECE, | ^ MultiSrc.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | BreakPiece(src, piece) | ^ MultiSrc.c:114:45: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | static void FreeAllPieces(), RemovePiece(), BreakPiece(), LoadPieces(); | ^ MultiSrc.c:1427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1427 | CvtStringToMultiType(args, num_args, fromVal, toVal) | ^ MultiSrc.c:115:39: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | static void RemoveOldStringOrFile(), CvtStringToMultiType(); | ^ 77 warnings generated. --- XawIm.o --- XawIm.c:134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | static void SetVaArg( arg, value ) | ^ XawIm.c:140:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | static VendorShellWidget SearchVendorShell( w ) | ^ XawIm.c:148:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 148 | static XContext extContext = (XContext)NULL; | ^~~~~~~~~~~~~~ XawIm.c:156:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 156 | if (extContext == (XContext)NULL) extContext = XUniqueContext(); | ^~~~~~~~~~~~~~ XawIm.c:150:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | static XawVendorShellExtPart *SetExtPart( w, vew ) | ^ XawIm.c:167:31: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | static XawVendorShellExtPart *GetExtPart( w ) | ^ XawIm.c:181:16: 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 Boolean IsSharedIC( ve ) | ^ XawIm.c:187:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static XawIcTableList GetIcTableShared( w, ve ) | ^ XawIm.c:205:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | static XawIcTableList GetIcTable( w, ve ) | ^ XawIm.c:219:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | static XIMStyle GetInputStyleOfIC( ve ) | ^ XawIm.c:227:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | static void ConfigureCB( w, closure, event ) | ^ XawIm.c:264:30: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 264 | static XContext errContext = (XContext)NULL; | ^~~~~~~~~~~~~~ XawIm.c:272:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 272 | if (errContext == (XContext)NULL) errContext = XUniqueContext(); | ^~~~~~~~~~~~~~ XawIm.c:266:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | static Widget SetErrCnxt( w, xim ) | ^ XawIm.c:284:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | static void CloseIM( ve ) | ^ XawIm.c:291:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static Dimension SetVendorShellHeight( ve, height ) | ^ XawIm.c:307:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | static void DestroyAllIM( ve ) | ^ XawIm.c:352:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | static void FreeAllDataOfVendorShell(ve, vw) | ^ XawIm.c:373:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | static void VendorShellDestroyed( w, cl_data, ca_data ) | ^ XawIm.c:389:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | static void OpenIM(ve) | ^ XawIm.c:487:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | static Boolean ResizeVendorShell_Core(vw, ve, p) | ^ XawIm.c:538:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | static void ResizeVendorShell(vw, ve) | ^ XawIm.c:556:23: 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 XawIcTableList CreateIcTable( w, ve ) | ^ XawIm.c:577:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | static Boolean RegisterToVendorShell( w, ve ) | ^ XawIm.c:589:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | static void UnregisterFromVendorShell(w, ve) | ^ XawIm.c:605:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | static void SetICValuesShared(w, ve, p, check) | ^ XawIm.c:642:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | static Boolean IsCreatedIC(w, ve) | ^ XawIm.c:677:66: warning: missing sentinel in function call [-Wsentinel] 677 | XGetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3895:14: note: function has been explicitly marked sentinel here 3895 | extern char *XGetICValues( | ^ 3896 | XIC /* ic */, ... 3897 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:717:66: warning: missing sentinel in function call [-Wsentinel] 717 | XSetICValues(p->xic, ic_a[0], ic_a[1], ic_a[2], ic_a[3], ic_a[4]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here 3891 | extern char *XSetICValues( | ^ 3892 | XIC /* ic */, ... 3893 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:654:13: 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 void SizeNegotiation(p, width, height) | ^ XawIm.c:834:37: warning: missing sentinel in function call [-Wsentinel] 834 | pe_a[17], pe_a[18], pe_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:845:37: warning: missing sentinel in function call [-Wsentinel] 845 | st_a[17], st_a[18], st_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:854:58: warning: missing sentinel in function call [-Wsentinel] 854 | ic_a[15], ic_a[16], ic_a[17], ic_a[18], ic_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3863:12: note: function has been explicitly marked sentinel here 3863 | extern XIC XCreateIC( | ^ 3864 | XIM /* im */, ... 3865 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:727:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | static void CreateIC( w, ve ) | ^ XawIm.c:972:50: warning: missing sentinel in function call [-Wsentinel] 972 | pe_a[16], pe_a[17], pe_a[18], pe_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:982:50: warning: missing sentinel in function call [-Wsentinel] 982 | st_a[16], st_a[17], st_a[18], st_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3935:22: note: function has been explicitly marked sentinel here 3935 | extern XVaNestedList XVaCreateNestedList( | ^ 3936 | int /*unused*/, ... 3937 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:995:46: warning: missing sentinel in function call [-Wsentinel] 995 | ic_a[16], ic_a[17], ic_a[18], ic_a[19]); | ^ | , NULL /usr/local/include/X11/Xlib.h:3891:14: note: function has been explicitly marked sentinel here 3891 | extern char *XSetICValues( | ^ 3892 | XIC /* ic */, ... 3893 | ) _X_SENTINEL(0); | ~~~~~~~~~~~~~~ XawIm.c:875:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | static void SetICValues( w, ve, focus ) | ^ XawIm.c:1006:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | static void SharedICChangeFocusWindow(w, ve, p) | ^ XawIm.c:1022:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | static XawIcTableList CurrentSharedIcTable( ve ) | ^ XawIm.c:1028:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | static void SetICFocus(w, ve) | ^ XawIm.c:1050:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | static void UnsetICFocus(w, ve) | ^ XawIm.c:1093:17: warning: call to undeclared function '_XtCopyFromArg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1093 | _XtCopyFromArg(arg->value, | ^ XawIm.c:1071:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | static void SetValues( w, ve, args, num_args ) | ^ XawIm.c:1121:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | static void SetFocus( w, ve ) | ^ XawIm.c:1134:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | static void DestroyIC(w, ve) | ^ XawIm.c:1157:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | static void SetFocusValues( inwidg, args, num_args, focus ) | ^ XawIm.c:1182:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | static void UnsetFocus( inwidg ) | ^ XawIm.c:1202:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | static Boolean IsRegistered( w, ve ) | ^ XawIm.c:1215:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | static void Register(inwidg, ve) | ^ XawIm.c:1237:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | static Boolean NoRegistered(ve) | ^ XawIm.c:1244:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | static void Unregister(inwidg, ve) | ^ XawIm.c:1265:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1265 | static void AllCreateIC( ve ) | ^ XawIm.c:1288:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | static void Reconnect(ve) | ^ XawIm.c:1313:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1313 | static void CompileResourceList( res, num_res ) | ^ XawIm.c:1330:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | static Boolean Initialize( vw, ve ) | ^ XawIm.c:1371:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 1371 | if (extContext != (XContext)NULL && | ^~~~~~~~~~~~~~ XawIm.c:1376:23: warning: cast to smaller integer type 'XContext' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 1376 | if (errContext != (XContext)NULL && | ^~~~~~~~~~~~~~ XawIm.c:1360:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | static void Destroy( w, ve ) | ^ XawIm.c:1549:5: warning: call to undeclared function '_XtCountVaList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1549 | _XtCountVaList( var, &total_count, &typed_count ); | ^ XawIm.c:1554:5: warning: call to undeclared function '_XtVaToArgList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1554 | _XtVaToArgList( inwidg, var, total_count, &args, &num_args ); | ^ XawIm.c:1593:5: warning: call to undeclared function '_XtCountVaList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1593 | _XtCountVaList(var, &total_count, &typed_count); | ^ XawIm.c:1598:5: warning: call to undeclared function '_XtVaToArgList'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1598 | _XtVaToArgList(inwidg, var, total_count, &args, &num_args); | ^ XawIm.c:1690:25: warning: passing arguments to 'XawVendorShellExtResize' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | XawVendorShellExtResize(vw); | ^ 64 warnings generated. --- libXaw3d.so.8.0 --- --- libXaw3d.a --- --- libXaw3d.so.8.0 --- rm -f libXaw3d.so.8.0~ --- libXaw3d.a --- rm -f libXaw3d.a + cd unshared + ar cq ../libXaw3d.a AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o Toggle.o Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o MultiSrc.o MultiSink.o XawIm.o XawI18n.o ranlib libXaw3d.a --- libXaw3d.so.8.0 --- + cd . + cc -o './libXaw3d.so.8.0~' -shared -Wl,-rpath /usr/local/lib -Wl,-soname,libXaw3d.so.8 AllWidgets.o AsciiSink.o AsciiSrc.o AsciiText.o Box.o Command.o Dialog.o Form.o Grip.o Label.o Layout.o List.o MenuButton.o Paned.o Panner.o Porthole.o Repeater.o Scrollbar.o Simple.o SimpleMenu.o Sme.o SmeBSB.o SmeLine.o SmeThreeD.o StripChart.o Text.o TextSink.o TextSrc.o TextAction.o TextPop.o TextTr.o ThreeD.o Tip.o Toggle.o Tree.o Vendor.o Viewport.o Xaw3dP.o XawInit.o laygram.o laylex.o MultiSrc.o MultiSink.o XawIm.o XawI18n.o -L/usr/local/lib -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXpm -lXext -lX11 + rm -f libXaw3d.so.8 + ln -s libXaw3d.so.8.0 libXaw3d.so.8 rm -f libXaw3d.so.8.0 mv -f libXaw3d.so.8.0~ libXaw3d.so.8.0 + rm -f libXaw3d.so + ln -s libXaw3d.so.8.0 libXaw3d.so =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Xaw3d-1.5E_8 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for Xaw3d-1.5E_8 ===> Generating temporary packing list + /usr/bin/install -c -m 0755 libXaw3d.so.8 /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/lib + rm -f /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/lib/libXaw3d.so + ln -s libXaw3d.so.8 /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/lib/libXaw3d.so /usr/bin/install -c -m 0644 libXaw3d.a /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/lib ranlib /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/lib/libXaw3d.a + mkdir -p /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AllWidgets.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AsciiSink.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AsciiSinkP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AsciiSrc.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AsciiSrcP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AsciiText.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 AsciiTextP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Box.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 BoxP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Cardinals.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Command.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 CommandP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Dialog.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 DialogP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Form.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 FormP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Grip.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 GripP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Label.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 LabelP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Layout.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 LayoutP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 List.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 ListP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 MenuButton.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 MenuButtoP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Paned.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 PanedP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Panner.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 PannerP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Porthole.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 PortholeP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Repeater.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 RepeaterP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Reports.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Scrollbar.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 ScrollbarP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Simple.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SimpleP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SimpleMenu.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SimpleMenP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Sme.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeBSB.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeBSBP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeLine.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeLineP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeThreeD.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 SmeThreeDP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 StripChart.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 StripCharP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Template.c /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Template.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TemplateP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Text.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TextP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TextSink.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TextSinkP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TextSrc.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TextSrcP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 ThreeD.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 ThreeDP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Tip.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TipP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Toggle.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 ToggleP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Tree.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 TreeP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Viewport.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 ViewportP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 Xaw3dP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 XawInit.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 MultiSrc.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 MultiSrcP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 MultiSink.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 MultiSinkP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 VendorEP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d + /usr/bin/install -c -m 0444 XawImP.h /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/include/X11/Xaw3d install in . done install.man in . done install -m 0644 /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/xc/lib/Xaw3d/README.XAW3D /wrkdirs/usr/ports/x11-toolkits/Xaw3d/work/stage/usr/local/share/doc/Xaw3d/ ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-01-03T02:47:27+00:00' 'PKG_NOTE_ports_top_git_hash=75b52cbaa1de' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=71b6a9f9c7b4' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20241212' PKG_NO_VERSION_FOR_DEPS=1 NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for Xaw3d-1.5E_8 ===> Building Xaw3d-1.5E_8 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for Xaw3d-1.5E_8 build of x11-toolkits/Xaw3d | Xaw3d-1.5E_8 ended at 2025-01-02T20:47:45-06:00 build time: 00:00:19